How to delete SQLite database from Android programmatically

前端 未结 12 1633
猫巷女王i
猫巷女王i 2020-11-27 10:41

I would like to delete the database file from the Android file system programatically? Can I have a shell script launch adb which in turns runs a

12条回答
  •  渐次进展
    2020-11-27 11:25

    Also from Eclipse you can use DDMS which makes it really easy.

    Just make sure your emulator is running, and then switch to DDMS perspective in Eclipse. You'll have full access to the File Explorer which will allow you to go in and easily delete the entire database.

提交回复
热议问题