On Thu, Feb 23, 2012 at 6:58 AM, Mark Murphy <mmur...@commonsware.com>wrote:
> You cannot access files on internal storage on un-rooted production > hardware. On newer versions of the platform, if you mark your app as debuggable (ADT should do this automatically when you do debug builds I believe), then you can use the "su" command to switch to run under your app's uid and thus get access to its files. This makes it relatively easy to use the device's command line tools on the app's data, but there isn't an easy way to push/pull. What you will need to do for that is copy the files to between external storage using the shell, and push/pull the file at the external storage location. (And if you are copying from your app to external storage, your app will need to hold the write sd card permission.) -- 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