I have database time in my application running on an emulator and you want to delete it. Is there any SQL query that I can run through the shell or another method?
Go to DDMS, then go to the file explorer, then open the data → ---> data → then your package ---> then database and here you have your database and you can delete it by clicking the minus “-” sign top right.
yes, the database can be accessed through the device bridge from the shell ...
here is a link to an explanation on android.com
http://developer.android.com/guide/developing/tools/adb.html#sqlite
adb shell, , /data/data/your _appname/, . ., sqlite- SQL-.
, ,
>>./emulator -avd <AVDNAME> -wipe-clean
emulator android-sdk-YOUROS\tools.
emulator
android-sdk-YOUROS\tools
, avd,
>>./android list avds
android android-sdk-YOUROS\tools.
android
"factory ", .