开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜