[英]How can I view my Android Apps database information?
I've tried to view the db file from the File Explorer in Eclipse but I can't open the file or copy it to another location to open. 我试图从Eclipse中的文件资源管理器中查看db文件,但我无法打开该文件或将其复制到另一个要打开的位置。 I don't have a rooted phone so I was trying to view the db from the app on my emulator. 我没有root手机,所以我试图在我的模拟器上查看应用程序中的数据库。 If someone could help it would be greatly appreciated as I find it hard to find much info on this subject for some reason. 如果有人可以提供帮助,我会非常感激,因为我发现由于某种原因很难找到关于这个主题的很多信息。 Thanks! 谢谢!
what do you want to see? 你要看什么? Is it your application's data stored in database? 是您的应用程序的数据存储在数据库中吗? If that is the case then you can see the data from android's shell. 如果是这种情况,那么你可以从android的shell中看到数据。 Follow commands mentioned below. 按照下面提到的命令。
adb shell adb shell
sqlite3 sample-database.db sqlite3 sample-database.db
Check these links for more details. 有关详细信息,请查看这些链接
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.