现在的位置: 首页 > 综合 > 正文

adb shell 命令查看android 应用程序 创建的 sqlite 数据库

2013年12月11日 ⁄ 综合 ⁄ 共 276字 ⁄ 字号 评论关闭

通过 adb shell 可以执行sqlite3 命令,android 通过 sqlite3 tool 提供此功能,比如 .dump 输出数据库表的内容,.schema输出 某个表的存储过程等。

例子:

adb connect remote_ip:5555

 adb shell

//打开应用程序创建的数据库

sqlite3  /data/data/packetge_name/databases/test.db

SQLite version 3.3.12
Enter ".help" for instructions
.... enter commands, then quit...
sqlite> .exit 



抱歉!评论已关闭.