开发者

Is there a way to make my Android app run some custom code upon installation?

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. Run开发者_高级运维ning the code on first launch is no good, because someone could still copy out the apk without running it.


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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜