IF you want to set root permission with your app, the application has to be started as root.
-- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Sep 17, 1:20 am, Francesco Pace <[email protected]> wrote: > Yeah, with "adb remount" my program works correctly. > But If I want set root permission at my simple application (File Browser), > How can I do? > Thanks... > > 2009/9/16 [email protected] <[email protected]> > > > > > Running the "mount" command from a shell will likely show that /system > > is mounted read-only as per default android setup, unless you've > > changed that in the process of rooting the phone. The exact syntax of > > the (somewhat non-standard?) mount command to use for remounting it > > read/write is not something I recall at the moment, but you'll find it > > with some web searching. > > > On Sep 16, 6:32 am, Francesco Pace <[email protected]> wrote: > > > > I use Superuser.apk for execute "su" command. My program write file > > test.txt > > > in /system but statement Log.v("TEST]", String.valueOf(list.length)); > > return > > > value 0. > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

