ADB
Android Debug Bridge is the tool to communicate with virtuals or physical android devices.
Start/Stop adb server
List all devices connected
Reboot the device
Install an apk
Get informations about a installed app
Android shell
Execute a shell command
Get / Quit an interactive shell
Get logs from your android device
List process informations
Bash
# List all process
ps -A
# To find information about a specific app with grep
ps -A | grep <packageName>
Call an intent
Packages manager
List packages
Uninstall package
Get apk path
Files
Push / Pull files beetween connected device and computer
Bash
# Push
adb push <computer.file.path> /sdcard/<device.path>
# Pull
adb pull /sdcard/<device.path> <computer.file.path>