How to lock certain feature of my android app
I was doing an android app and I want to lock some feature temporally for each us开发者_StackOverflow中文版er.
What I want is to lock say 1 activity to be used before someone performs a predefined task say share on facebook, only then I want them to view the activity.
How can I achieve this? It is for application, just like games lock the level.
You should make an application/user profile and save it in a database or in the shared preferences.
you could simply check if a certain task has been performed prior to opening the activity you want locked.
精彩评论