- 博客(6)
- 资源 (30)
- 问答 (1)
- 收藏
- 关注
原创 Android kernel Crash后,定位出错点的方法
1. 将/prebuild/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gdb 拷贝到/usr/local/bin下2. 进入out/target/product/工程名xxx/obj/KERNEL_OBJ 目录,找到文件vmlinux3. 执行arm-linux
2014-12-29 16:54:25 1218
转载 Android上层怎样读写proc节点(示例)
import android.app.Activity;import android.os.Bundle;import android.widget.CompoundButton;import android.widget.CompoundButton.OnCheckedChangeListener;import android.widget.ToggleButton;impo
2014-12-29 15:52:32 6933
转载 怎样在Linux驱动中创建proc节点(示例)
一、定义proc节点的读、写函数static int tp_switch_writeproc(struct file *file,const char *buffer, unsigned long count,void *data){ sscanf(buffer,"%d", &tp_dbg);
2014-12-29 15:51:15 6071
原创 Android 4.1打开相机(自己写的压力测试APK)
JAVA:package com.example.cameratest;import android.support.v7.app.ActionBarActivity;import android.support.v4.app.Fragment;import android.content.Intent;import android.os.Bundle;import android.os
2014-12-25 19:38:19 2100
原创 adb shell logcat 输出对应APK的日志
#!/bin/bashpackageName=$1if [ -z "$packageName" ];thenecho "please input the packageName"packageName=com.android.settingselseecho "input ok"fipid= adb shell ps | grep $packageName | awk '{pr
2014-12-22 12:42:44 6930
原创 if fi shell 脚本
weiqifa@ubuntu:~/logcat$ source test.sh please input the packageNameweiqifa@ubuntu:~/logcat$ source test.sh aainput okweiqifa@ubuntu:~/logcat$ cat test.sh #!/bin/bashif [ -z "$1" ];thenecho "pl
2014-12-22 10:55:08 1397
vimtaglist
2015-09-24
SSHSecure连linux虚拟机工具
2013-05-17
SecureCRT串口
2013-05-16
18b20中文资料文资料
2010-04-20
Android usb camera框架实现
2015-05-12
TA创建的收藏夹 TA关注的收藏夹
TA关注的人