How to open adroid from the command line?

I am a new bee in ANDROID, so for this I can not view, delete, insert data into the database (SQLite) from the command line. I set my ANDROID to "F: \ PROJECTS \ ANDROID \ android-sdk_r10-windows \ android-sdk-windows". Therefore, any help would be truly appreciated. Many thanks.

+5
source share
3 answers

At the command line Go to this path or set the class path to F: \ PROJECTS \ ANDROID \ android-sdk_r10-windows \ android-sdk-windows \ tools

Then enter

adb shell

u will see:

#

A type

# sqlite3 /data/data/com.yourpackage/databases/yourdbname

You will enter your database

+11
source

db promt. /data/data/your.package/databases/your_db, , , . , - . - SD-, . -

copyFile("/data/data/your.package/databases/your_db", "/sdcard/your_db");
+1

, MyComputer > properties > advanced > Environment Variables > path edit it F:\Projects\Android\android-sdk_r10-windows\android-sdk-windows\platform-tools ur adb

0
source

All Articles