In Users/hugomatilla.bash_profile
add
export PATH=$PATH:/Users/hugomatilla/Documents/AndroidSDKs/sdk/platform-tools
export PATH=$PATH:/Users/hugomatilla/Documents/AndroidSDKs/sdk/tools
cd /Users/hugomatilla/Documents/AndroidSDKs/sdk/platform-tools
adb shell
adb kill-server
adb sart-server
adb push <computer.file.path> /sdcard/<device.path>
adb pull /sdcard/<device.path> <computer.file.path>
pm list packages
pm uninstall file.name
pm install package.name
adb devices
pm clear package.name
am start -a android.intent.action.VIEW -d https://github.com
am start -a "android.intent.action.SEND" --es "android.intent.extra.TEXT" "Hello World" -t "text/plain"
am start -n "your.application.packagename/path.to.the.Activity"
am start -n "your.application.packagename/path.to.the.Activity" - e "key" "data"
am startservice -n "com.example.application/.BackgroundService"
am broadcast -a "android.intent.action.PACKAGE_FIRST_LAUNCH" -d "com.example.application"
am broadcast -a com.google.android.c2dm.intent.RECEIVE -n <YOUR_PACKAGE_NAME>/<YOUR_RECEIVER_NAME (in the manifest)> -e "<EXTRA_KEY_1>"
"<EXTRA_VALUE_1>" -e "<EXTRA_KEY_2>" "<EXTRA_VALUE_2>"
cd data/data/<your-package-name>/databases/
sqlite3 <your-db-name>.db
.tables
.schema tablename
SELECT * FROM tablename;
.help
for f in ~/.android/avd/*.avd/config.ini; do echo 'hw.keyboard=yes' >> "$f"; done