On Tuesday, May 31, 2011 12:10:53 PM UTC-4, Mark Murphy (a Commons Guy) wrote: > > > But since this is not a rooted device, I can not access my data/data/ > > com.acme/databases to open my db file. > > > > Is there any way around this? > > Write a backup feature in your app that copies the (closed) database > to external storage, then download from there. > > Or, develop on an emulator. > > Or, write unit test cases using JUnit and the instrumentation framework > Or set the mode of the database file to world readable... just don't ship that way like a certain internet phone app did.
Note that all of the methods aside from rooting or dumping a copy to external storage are going to require that you access the database file by its full path rather than a file browser, as the directories under /data are not browsable by unprivileged users, even though some of their contents are accessible. -- 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