Android: access sqlite from adb shell

Posted: September 12, 2013 in Android
Tags:

When working with SQLite, you may need run some sql query to browse the database.

$ adb -s emulator-5554 shell
# sqlite3 /data/data/com.example.google.rss.rssexample/databases/rssitems.db
SQLite version 3.3.12
Enter “.help” for instructions
…. enter commands, then quit…
# sqlite> .exit

http://developer.android.com/tools/help/sqlite3.html

Advertisements
Comments
  1. androidbethy says:

    Reblogged this on Android Bethy.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s