I am modifying the android OS slightly and wish to access a specific app’s sqlite database.
I know that the location is stored at /data/data/your.applications.package/databases, however, is there a way to load the database into the sqliteDatabase connector from outside the context of the actual app?
Yes, if the code trying to open the database has read and write permissions to the database file. In that case, just use
open()onSQLiteDatabase.So, an app running as root could do this, but an ordinary other app cannot, for obvious security reasons.
Since the kernel does not run Dalvik, you would not be able to open the database in the manner I described above.