No. It is impossible to tell in general. At best you could look for differences from a known official build, assuming no great effort is being made to conceal the fact.
But rooting need not involve any changes to the device at all - with some of the exploits utilized, it's possible to use the exploit to launch a privileged process which then exits. If it hasn't made any lasting change, there's no way to know. And even if there was an API, a rooted device could very easily deny that it was. On Nov 1, 11:42 am, Tejas <[email protected]> wrote: > Hi, > > I would like to find out in my application if the phone is rooted or > not. > Is there any API that tests this ? > > Regards, > Tejas -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

