Reputation: 358
I want to know if this is possible and if it is how can I manage to do this. When the app is installed it should root the device and grant su access to that app. After that it should unroot the device, keeping the su rights to that app.
Upvotes: 2
Views: 1886
Reputation: 5564
It will not grant you SU access, but it can give you access to your app
It is using the Device Administration APIs, you can read about it here:
http://developer.android.com/guide/topics/admin/device-admin.html
it may help you
Upvotes: 1