我怎样才能看到SQLite数据库(无仿真器)? [英] How can i see SQLite Database (No emulator)?
问题描述
有关发展,有时我们需要一个更快的编程,我们的节目SQLite数据库的状态。但我只能提取数据库,如果它在模拟器,而不是手机。
For development , sometimes we need for a faster programming , the SQLite database state of our programs . But i can only extract database if it's on emulator , not mobile .
然后,我究竟问题是¿有没有办法看到了Android的SQLite数据库或方法来提取呢?
Then my exactly question is ¿Is there a way to see the android sqlite db or a way to extract it?
如果没有一个很好的回答这个问题。你如何与编程问题管理的时候,你需要知道表的数据库状态?
If there isn't a good answer to that question . How do you manage with that programming issues when you need to know the db state of the tables?
推荐答案
您可以使用
adb shell
获取设备的一个root shell,然后使用任何你喜欢直接在数据库中。导出,运行脚本等等等等。
to get a root shell of the device, then use anything you like directly on the DB. Export it, run scripts etc etc.
您可以看看这个链接了解详细信息: http://developer.android.com/guide/developing/tools/adb html的#sqlite的
You can check out this link for details: http://developer.android.com/guide/developing/tools/adb.html#sqlite
Abount SQLite的命令: http://www.sqlite.org/sqlite.html
Abount SQLite commands: http://www.sqlite.org/sqlite.html
这篇关于我怎样才能看到SQLite数据库(无仿真器)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!