比如我要查看com.android.phone里面的数据表
s
s
解决方案 »
- json 取出之問題
- 不使用google map api,如何实现overlay和地图上的气泡标记
- 请问关于intent和synchronized的问题
- 【购机】想买Android真机做测试
- android 安装问题
- 我申请map api 为什么页面都是问号
- 求高手解答....我让tabactivity继承SlidingMenuActivity 但 getSupportActionBar为null不能设置action
- jsoup解析td标签的html网页
- 请教一个关于即时通讯的问题
- 求助:view里的button点击没反应?
- 求助NDK的反调试问题
- 准备做Andriod 3G手机开发,问题求教。
一下就出来了
http://blog.chinaunix.net/u/17535/showart_1817878.html
下面在 .tables时候,没有表....不知道是何故?
下面是我查询自己的工程下,刚开始连db都没有,
就创建了一个stud.db, 然后又创建了一个student表。再执行.tables,就看到表了
C:\Documents and Settings\Administrator>adb shell
# ls
ls
config
cache
sdcard
acct
mnt
d
etc
system
sys
sbin
proc
init.rc
init.goldfish.rc
init
default.prop
data
root
dev
# cd data/data/com.min.androidtest
cd data/data/com.min.androidtest
# pwd
pwd
/data/data/com.min.androidtest
# ls
ls
databases
test.db
lib
# cd databases
cd databases
# ls
ls
stud.db
# sqlite3 stud.db
sqlite3 stud.db
SQLite version 3.6.22
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite>sqlite> .tables
.tables
sqlite> create table student(id integer primary key autoincrement, name text);
create table student(id integer primary key autoincrement, name text);
sqlite> .tables
.tables
student
sqlite>