I have some ideas about running some anti-piracy measures for my app so I wondered if I could do this to sign the application on install. Running the code on first launch is no good, because someone could still copy out the apk without running it.
Asked
Active
Viewed 1,023 times
1 Answers
2
There is no way to run code on install on Android unfortunately, only run on first launch.
If you're interested in anti-piracy measures you'll find this post on the Android Developers blog about securing the Android License Verification Library interesting, if you haven't read it already.

David Webb
- 190,537
- 57
- 313
- 299
-
I heard reports that someone quite easily hacked the one that Google provided as standard so I was considering a second layer. I'll give that a read, cheers :) – Sam Svenbjorgchristiensensen Sep 14 '10 at 07:38