Wednesday, August 26, 2009

ADB Commands:

What is ADB?

Android Debugger Bridge....

Commands where i collected and used i am posting here for helpful to others...

// installing apk in system

adb install filename.apk

adb kill-server
adb start-server

adb devices // to get what are the devices running or attached

to uninstall the apk...

adb uninstall packagename.apk

To access the data bases and seeing the data in the content providers:

here one small example to open the content providers contacts

adb shell

# cd /data/data

# cd

# ls


# sqlite3 contacts.db # it's picky you must include suffix
SQLite version 3.5.0

Enter ".help" for instructions

sqlite> .tables
_deleted_people android_metadata people
_sync_state calls peopleLookup
_sync_state_metadata contact_methods phones

sqlite> select * from people;


for modification or inserting


No comments:

Post a Comment