开发者

How do I 'drop' an sqlite DB on an unrooted Android phone?

Before I found out about that adb shell doesn'开发者_开发技巧t have the permission to do much with /data/data I was using my unrooted Verizon Droid for development of a content provider. How do I get rid of the database I created there? Is my best option writing a small app that drops the database?


Any content in /data/data (or wherever else the permissions specify) can only be accessed by the application that owns those files (unless you specifically made something world writeable).

I'm not sure about the situation you have here. You have a file in /data/data? How was that created? Using an app you wrote? If you uninstall that app (adb uninstall com.package.app), all data in /data/data that belongs to this app will be destroyed as well.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜