开发者

How to maintain record of my App's previous launch time

开发者 https://www.devze.com 2023-02-28 17:20 出处:网络
I want to restrict my app\'s launch based on the numb开发者_开发知识库er of times the user has accessed my app in between a particular

I want to restrict my app's launch based on the numb开发者_开发知识库er of times the user has accessed my app in between a particular time interval. So I thought that if I know my app's previous launch, I could achieve it. If there is something else possible , plz someone out there help me..


On your app launch, increment and store a variable in Shared Preferences. Check this at each start.

0

精彩评论

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