1

I'm creating an android application I wish to release commercially. Before doing so I would like to release a beta. What methods can I use to cause the beta to expire/become unusable after 12 weeks?

tshepang
  • 12,111
  • 21
  • 91
  • 136
Declan McKenna
  • 4,321
  • 6
  • 54
  • 72

1 Answers1

2

You can simply check if the current date is not larger then the expiry date, eventually checking it with internet time server. And make sure you save each time you check it to the preferences, so the user has no use in rewinding time.

Anyway, you can expect that if somebody really wants to hack your app he can do it. So it's no use to completely focus on avoiding that.

Peterdk
  • 15,625
  • 20
  • 101
  • 140
  • Maybe OP can use hash function to generate hashed key (SHA256 or whatever) with his own salt + password key + timestamp but he may need to keep track of these keys for every download :) – ecle Nov 16 '11 at 16:02