如何访问SQLite数据库Android中?数据库、SQLite、Android

2023-09-06 05:57:04 作者:空心策 、2lr

我可以分贝我的模拟器使用亚行的shell命令访问我的sqlite的。但不能为我的HTC Desire手机做同样的。它抛出一些权限被拒绝的消息。是否有任何可能访问这些数据库用于调试的目的。任何想法?

i can access the my sqlite db using adb shell commands in my emulator. But can not do the same for my HTC Desire phone. it throws some permission denied messages. is there any possible to access those database for debugging purpose. Any Idea?

先谢谢了。

推荐答案

我只能看到2个选项:

获取到设备的root访问权限写特别程序,将你的数据库拷贝到SD卡(只是记录使用SQLite API记录)
 
精彩推荐
图片推荐