Search code examples
androidandroid-2.3-gingerbread

how to ask for admin rights in android?


I do not want to launch with root, just as a common Android app, like other. I want to ask the user nicely and after that have the admin access and protection. Kaspersky is able to do it, so others should be able too. screenshot

What are the API calls here?


Solution

  • It is using the Device Administration APIs, you can read about it here:

    http://developer.android.com/guide/topics/admin/device-admin.html