Monday, January 14, 2008

Accessing Android Shell


Frequently, we want to know where the code placed inside android. we can know it with entering the Android Emulator shell. Just run the Emulator and wait it runs completely, issue command to access shell, then we will be inside the Emulator shell.

Here the command to access Shell :

adb shell

then we will promptly with
#

it is linux shell command, and we can issue command just like in Linux environtment, with some limitation.

Application installed in emulator will reside at /data/app/ directory, and database(s) create by the app will reside at /data/data/<package name>/databases/

Ok, have a nice try!

2 comments:

geremycondra said...

Excellent, thank you!

R said...

is it possible to easely edit layout (icons, colors, themes, menu buttons, etc) on a smartphone using android (for exemple HTC Hero?)