[android-developers] Re: Protecting files on non-rooted phones

2011-01-07 Thread John Gaby
Thanks for the tip. For the record, it works on 2.2. There have been a number of times that I have wanted to be able to see the files for my app, and I am glad to find that there is a way. Thanks again. On Jan 7, 6:55 pm, Dianne Hackborn wrote: > Unfortunately I don't recall exactly when it we

Re: [android-developers] Re: Protecting files on non-rooted phones

2011-01-07 Thread Dianne Hackborn
Unfortunately I don't recall exactly when it went in. Maybe 2.3? It is the "run-as" command. On Fri, Jan 7, 2011 at 5:42 PM, John Gaby wrote: > I must be setting the files as world readable then. > > I didn't know that if the app was debuggable that you could change the > shell to run as an ap

[android-developers] Re: Protecting files on non-rooted phones

2011-01-07 Thread John Gaby
I must be setting the files as world readable then. I didn't know that if the app was debuggable that you could change the shell to run as an app uid. Can you tell me what version of Android that works for, and how I do that? Thanks. On Jan 7, 4:25 pm, Dianne Hackborn wrote: > On a user build,