You can't as a third party application (in fact you can't at all without hacking the platform or possibly running in factory test mode). Modifying the platform is more appropriate for android-porting.
On Fri, Mar 26, 2010 at 5:22 AM, manjunath <phc2h5nh3.ma...@gmail.com>wrote: > Hi, > > I want to run a application as root to check one of my API > functionality. I know that Android won't permit applications with root > access i.e. setting UID = 0. Can anyone provide a hack so that I can > run my application as root. > > I saw in Process.java file that FIRST_APPLICATION_UID is set to 10000 > and so on. If I set it to 0 my homescreen doesn't come up. > Can anyone tell me where this security check is done. > > I also want to know the actual flow for any application to run on > android. > > > Thanks, > Manjunath > > -- > 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<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > > To unsubscribe from this group, send email to android-developers+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.