Checking the device for root

I need to check if the device has root before installing my app and if so, disable the app installation. Is there any way to implement this?

Author: Nicolas Chabanovsky, 2014-07-23

2 answers

You can't check before installing and disable it

As a solution, you can do the following: at the first launch of the application, check whether there is root on the device

  • yes. closing the app
  • no. we work in normal mode

How to check for root written here

 3
Author: Роман Захаров, 2017-05-23 12:39:00

That's right, you can still check for root rights with these programs http://101android.ru/kak-proverit-rut-prava/

 0
Author: регат, 2016-08-10 11:11:25