Use -wipe-data with the emulator. http://code.google.com/android/reference/emulator.html#startup-options
You can do this from the command line, or from Eclipse. (In Eclipse you pass arguments in the run configuration area.) Or if you just want to clear the database of one app and nothing else, use the sqlite3 tool, or a little code snippet, to drop the tables. On Mar 27, 5:13 pm, Android-Berry <[EMAIL PROTECTED]> wrote: > I want to delete a database which is created by my application. > > However when I use DDMS FileExplorer, select my database node and push > "-" to delete, it does not work. > > How to remove some garbage database, which is created during test > period. > > Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

