-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,910
  • 52
  • 193
  • 240

1 Answers1

0

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

advantej
  • 20,155
  • 4
  • 34
  • 39