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

2011-01-07 Thread John Gaby
I find that, when using a actual device that is not rooted, that I cannot see the contents folders created by my application. However, if I know the exact name and path of a file, I CAN pull or push it using ADB. Is there a way to prevent external access to application files (on a non-rooted

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

2011-01-07 Thread Dianne Hackborn
On a user build, adb can not access any application files, with these exceptions: - If the app has declared itself debuggable, recent versions of android will allow the shell user to change to run as that app uid and thus access its files. - If you create files that are explicitly marked as world