1

I'm working on an application that have some security issues on rooted devices. I want to strict app to install only on non rooted devices is it possible ? or i have to check on launcher activity if its rooted then finish or some thing like that ?

Hafiz.M.Usman
  • 223
  • 3
  • 21
  • Do a quick search on Google next time: http://stackoverflow.com/questions/1101380/determine-if-running-on-a-rooted-device – Martin Konecny May 11 '15 at 03:41
  • Martin as you can see on my question my question is do we have to check in out activity or is it possible to only install application on no-rooted device hope you will get my question. – Hafiz.M.Usman May 11 '15 at 03:45
  • No, you can't do anything before the application is installed. The Google Play store allows access to rooted devices. – Martin Konecny May 11 '15 at 03:46

1 Answers1

0

AFAIK, you cannot restrict installation on rooted device. But what you can do is, in your app check whether the device is rooted. Here is a similar answer to check if the device is rooted.

Community
  • 1
  • 1
stinepike
  • 54,068
  • 14
  • 92
  • 112