ADB full name Android Debug Bridge, is a tool in the Android SDK, using this tool can directly operate the management of Android simulator or real andriod device
The main functions are:
1. Shell running the device (command line)
2. Upload/download files between computer and device
3. Install the local APK software to the simulator or Android device
ADB is a "client-server Side" program,
1, where the client is a computer,
2, the server side is the Android device device does not need to install,
Only need to open the option Settings-applications-development-usb debugging on the phone.
View Device
SDB Devices
Login Device
ADB shell
adb Shell <command Command >
Installing the Software
ADB install <apk file path >
Unloading
ADB uninstall <APK Package's main package name >
Re-install
ADB install-r <apk Package >
Restore Factory
ADB reboot Recovery
Authorization commands
chmod 777
Getting Started with SQLite
Test whether to enter: sqlite3
Exit
. Quit
1. Because before entering the sqlite3, first use. Quit the SQLite
2. Use sqlite3 test.db to load or create the specified database
3. Displays the data table commands that exist in the current database . Tables
4. List the names and files of all databases attached (in the current database file) . Databases
. Show
. Output FILENAME
Outputs all outputs to the specified file
Android "ADB control Android+sqlite3"