Use cmd to view the database table of the Android app

Source: Internet
Author: User

1. ADB Shell

2. CD to the database directory:

3. sqlite3 databasename. dB;

4. tables;

5. Selecte * From tablename;

# Ls

Ls
Lib
Cache
Databases
Shared_prefs
# Cd Databases
CD Databases
# Ls
Ls
Webviewcache. DB
Webview. DB
Yb_database.db
# Cd yb_database
CD yb_database
CD: Can't CD to yb_database
# Select
Select
Select: not found
# Select * from DB yb_database
Select * from DB yb_database
Select: not found
# Ls
Ls
Webviewcache. DB
Webview. DB
Yb_database.db
# Sqlite3 yb_database.db
Sqlite3 yb_database.db
SQLite version 3.6.22
Enter ". Help" for instructions
Enter SQL statements terminated with ";"
SQLite>. Tables
. Tables
Android_metadata cnd_coupon_alert tracking_urls
Barcode_history favorites
Cnd_business_watch_list search_history
SQLite> select * From cnd_business_watch_list;
Select * From cnd_business_watch_list;
1 | 1854751897 | Rada boutique | 394 Main Street | Wakefield | Ma | 01880 | 781-224-1033 | 42503
Five |-710705
2 | 1854751897 | Rada boutique | 394 Main Street | Wakefield | Ma | 01880 | 781-224-1033 | 42503
Five |-710705
SQLite>
C: \ Users \ allen_fang.d7yb>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.