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

前端 未结 1 1596
忘掉有多难
忘掉有多难 2021-01-21 13:02

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

1条回答
  •  情歌与酒
    2021-01-21 13:35

    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 讨论(0)
提交回复
热议问题