-1

I want to restrict my app's launch based on the number 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..

Andro Selva
  • 53,136
  • 52
  • 190
  • 238

1 Answers1

0

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

advantej
  • 19,755
  • 4
  • 33
  • 38