The Common commands of ADB shell in Android and the methods for viewing application database information under cmd are as follows:
CMD -- ADB shell: Enter the shell command interface of the simulator.
Ls displays all the file directories in the simulator. The data folder stores all the data in the mobile phone simulator. The sdcard directory is the mobile phone SD card directory.
CD/data enters the simulator data directory, and LS displays the folder information, including folders such as app and data. The app stores Android applications and data stores data.
CD/data enters the data directory, and LS displays the main package of all applications in the current Simulator
CD/mypackage enter the main package of an application. ls displays its directory, including Lib, database XX. dB (if any), and database information databases.
If you want to view the information in the database table by running the command, run CD to enter the databases folder, which contains all databases A. DB and B. DB in the current application.
Sqlite3 A. DB enters the SQLite database command line, where you can use SQL statements to add, delete, modify, and query Databases
. Tables: displays all tables in the current database
Execution sequence from top to bottom ~
Source