浏览在Android的SQLite数据库数据 [英] browse data in Android SQLite Database
问题描述
有没有办法一个Android用户浏览他/她的电话的SQLite数据库,并查看数据库中的数据?
我用的是SoftTrace测试程序很多。这是伟大的,但没有办法,我可以找到下载它追踪到个人电脑中的数据。
针对特定应用程序的生命在 /数据/数据/ [包名] /数据库
数据库P>
的包名是你在你的清单中定义的包,例如 /data/data/org.vimtips.supacount/databases/counts.db
。
您可以使用亚行外壳
键,键入 sqlite3的/data/data/org.vimtips.supacount/databases/counts.db查看code>
或者你也可以从设备拉来看待它与第三方工具,与像亚行拉/data/data/org.vimtips.supacount/databases/counts.db的命令。
。
这里假设你有权限查看的数据库,你可能没有,如果你不写的应用程序,你自己......但在这种情况下,它实际上是一个编程问题?
Is there a way for an Android user to browse the SQLite databases on his/her phone and view the data in the databases?
I use the SoftTrace beta program a lot. It's great but has no way that I can find to download the data it tracks to a PC.
The database for a specific app lives in /data/data/[packagename]/databases
The packagename is the package you define in your manifest, for instance /data/data/org.vimtips.supacount/databases/counts.db
.
You can view it with adb shell
and type sqlite3 /data/data/org.vimtips.supacount/databases/counts.db
Or you can pull it from the device to look at it with a third party utility, with a command like adb pull /data/data/org.vimtips.supacount/databases/counts.db .
.
This assumes you have permission to view the database, which you might not have if you didn't write the app yourself... but in that case, is it actually a programming question?
这篇关于浏览在Android的SQLite数据库数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!