• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

cannot get to app data - do I need root for this?

smurfOnE

Member
I searched all the USB-mountable filespace for the storage for the "password safe" application. It's not there. Took a look at the code, and found this in DatabaseUtil.java:
Code:
    /**
     * Returns directory in which databases are stored.
     *
     * @param context  Context object that owns the directory
     * @return File object of the database directory
     */
    public static File getDatabaseDir(Context context) {
      return context.getDir("DATABASES", 0);
    }

So apparently the app itself does not even know where its data is kept. The context java package possibly keeps application data in /data/data. When I do
Code:
ls /data/data
I get "opendir failed, Permission denied". How do I get to the application data area? Am I looking in the right spot?
 
Back
Top Bottom