On Aug 7, 4:02 am, Ali Ahmadi <aliahmadi1...@gmail.com> wrote: > all i want to know is How could i check the android device is rooted or not? > please give me a code to check that in my application and warn user if the > device is not rooted!
It is ultimately not possible to do so with certainty. You can obviously check for common characteristics such as android properties, extra setuid executables or processes running as root, but latent capability may not be visible in that way, and you are implicitly assuming that the operating system is truthfully reporting the facts you check, which is not necessarily the case. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en