sqlite - How do I view the database of an android app when deployed through chrome arc welder? -


i view contents of databases. there chrome sqlite extension can use view contents of database. doing ensure there not compromise of data when app runs on clients' chrome browser through arc welder. understanding since file system virtual , apps sandboxed there shouldn't way view contents of database.

edit: yes, far can see (just tested), can debug/monitor (with ddms) app while running on vm or real device.

so works (without ddms):

  • open javascript console (chrome://inspect/#apps)
  • plugin.shell('adbd') in chrome
  • adb pull /data/data/your.package.name/databases/name.db in terminal

old answer (with ddms):

if sufficient snapshot of data, can use ddms. can run in directly console

./your-sdk-root/tools/ddms 
  • select running device or vm
  • open device -> file explorer
  • your can pull db data/data/your.package.name/databases/name.db

after pulling db can open file directly sqlite3 command or 3rd-party tool https://github.com/sqlitebrowser/sqlitebrowser


Comments