Juri Strumpflohner
Juri Strumpflohner Juri is a full stack developer and tech lead with a special passion for the web and frontend development. He creates online videos for Egghead.io, writes articles on his blog and for tech magazines, speaks at conferences and holds training workshops.

HowTo: Get an Android app's database from the emulator

1 min read

Most apps need a database for storing their data onto the device in a structured form. Android's natively supported DB is SQLite. Now of course if you develop an app you'll probably have the need for inspecting the stored data during development. Since the DB sits on the emulator/real device you have to first pull it to your workstation, however.

There are two possibilities for doing so:
  • Use the adb command from your shell:
    For instance

    adb pull /data/data/com.yourcompany.yourpackage/databases/yourdbname.db /Users/Juri/Desktop/
    This will store it on your desktop.

  • Alternatively you can use Eclipse like:


comments powered by Disqus