user529543
user529543

Reputation:

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?

Upvotes: 3

Views: 8511

Answers (2)

Pedro Lobito
Pedro Lobito

Reputation: 98861

You can clone this eclipse project :

https://github.com/pedrolobito/DeviceAdminDemo

It's a fully working Android Device Admin App.

Upvotes: 2

Adam Monos
Adam Monos

Reputation: 4297

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

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

Upvotes: 3

Related Questions