摘要: 操作步骤1、adb shell 进入shell2、netcfg 查看网络连接3、tcpdump -i rmnet0 -v -s 0 -w /sdcard/test.pcap 利用tcpdump来抓包,保存到/sdcard/test.pcap。 输入上面命令,点击回车开始抓包,按ctrl+C结束抓包。4、导出pcap包,利用wireshark查看数据包。5、Wireshark使用手册http://man.lupaworld.com/content/network/wireshark/其他参考博文:如果要抓TCP数据包,我们可以使用TCPdump工具,类似于windows/linux下使用... 阅读全文
posted @ 2012-08-07 18:10 天南星客 阅读(879) 评论(0) 推荐(0) 编辑
摘要: 参考:http://stackoverflow.com/questions/8751350/android-can-not-perform-this-action-after-onsaveinstancestate 阅读全文
posted @ 2012-08-07 17:59 天南星客 阅读(528) 评论(0) 推荐(0) 编辑
摘要: Get Log from Android Systemadb bugreport > bugreport.txtcopy bugreport to the current directory.bugreport里面包含了各种log信息,大部分log也可以通过直接运行相关的程序来直接获得.步骤如下:1.adb shell2.进入相关工具程式的目录3.执行相关程式4.得到相关信息下面以输出进程信息为例1.adb shell2.输入ps -P3.可以看到相关进程信息Log Archive Analysis1.bugreportbugreport记录android启动过程的log,以及启动后的系 阅读全文
posted @ 2012-08-07 15:18 天南星客 阅读(4031) 评论(0) 推荐(0) 编辑