上一页 1 ··· 6 7 8 9 10
摘要: android 2.2 U8500 2011/8/2 ps***及时的关闭数据库文件真的很重要 1.建立android的sqliteUtil文件实现openhelper方法 2.OnCreat()和OnUpdata方法自然不用说,传统的sqlite语句进行创建,升级. 3.主要讲数据库的关闭, <1.建立可读数据库read_db(全局) <2.建立可写数据库write_db(全局) <3.调用c... 阅读全文
posted @ 2011-08-02 19:52 健康小树 阅读(784) 评论(2) 推荐(0)
摘要: 解决方法: 1.root机 z4root工具(下载安装即可) 2.打开logcat,并设置level adb shell su 在手机端确认权限 然后. echo 1 > /sys/kernel/logger/log_main/enable // 这里为注释,将1写入开关文件,1为开,0为关 echo 2 >/sys/kernel/logger/log_main/priority // 里... 阅读全文
posted @ 2011-08-01 10:44 健康小树 阅读(1149) 评论(2) 推荐(0)
摘要: demo: CREATE TABLE [push_widget] ( [_id] INTEGER PRIMARY KEY AUTOINCREMENT, [push_id] VARCHAR(50) NOT NULL, [type] INT(10) NOT NULL DEFAULT (0), [url] VARCHAR, [pic_url] VARCHAR, [short] VARCHA... 阅读全文
posted @ 2011-07-26 14:57 健康小树 阅读(1608) 评论(0) 推荐(0)
摘要: adb remount :设置文件可读写权限 adb shell :进入shell模式 adb root :获得系统root权限(一部分可以直接使用这个权限) adb shell dmesg会打印出内核的调试信息 adb bugreport 打印机器的调试信息 shell 命令: rm xxx 移除文件 rmdir xxx 移除文件夹 rm –r xxx 删除文件(包括文件夹) cmd命令 *... 阅读全文
posted @ 2011-07-25 20:21 健康小树 阅读(253) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10