Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to open android adb from command prompt?

Tags:

android

sqlite

I am new bee in ANDROID , so for that I am unable to view, delete, insert data into database(SQLite), from command Prompt. I have installed my ANDROID in "F:\PROJECTS\ANDROID\android-sdk_r10-windows\android-sdk-windows". So any help will really be appreciated. Thanks a lot.

like image 357
Jai Android Avatar asked Apr 27 '11 06:04

Jai Android


1 Answers

In the command prompt Go to this path or set as classpath F:\PROJECTS\ANDROID\android-sdk_r10-windows\android-sdk-windows\tools

Then type

adb shell

u will see:

#

Type

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

You will enter your database

like image 126
Harinder Avatar answered Sep 24 '22 14:09

Harinder