android 编译c
来源:互联网 发布:手机声音剪辑软件 编辑:程序博客网 时间:2024/06/05 15:34
/home/dou/a10/a20/A20-420-V12/lichee/out/linux/common/buildroot/external-toolchain/bin/arm-linux-gnueabi-gcc -o i2c_util i2c-util.c
adb shell mkdir /dev/sample
adb push hello /dev/sample/hello
adb push hello /dev/sample/hello
adb shell chmod 777 /dev/sample/hello
先创建 /dev/sample目录,再将编译好的hello上传上去,最后将hello改成可执行的。
再进入命令行模式,进入Android的shell环境:
adb shell
#cd /dev/sample
#./hello
- / # i2c-rw /dev/i2c-2 0x38 0x1 0
- read salve:38 reg:01 value:12
- / #
- / # i2c-rw /dev/i2c-2 0x38 0x2 0
- read salve:38 reg:02 value:81
0 0
- Android 编译 C 库
- Android 编译 C 库 .
- android 编译c
- android ndk c编译
- 在Android下编译c
- android交叉编译c程序
- android交叉编译c程序
- android 编译调用C代码
- android eclipse编译c文件
- Android项目中编译 C的模块
- Android编译Native C的helloworld模块
- Android编译Native C的helloworld模块
- Android编译Native C的helloworld模块
- Android 非NDK方式编译C文件
- Android 平台编译 C/C++ 代码!
- Android编译Native C的helloworld模块
- Android项目中编译 C的模块
- Android-------C语言可执行程序编译实例
- hadoop中关于mapreduce的单元测试
- OpenGL中三维纹理对象的使用
- 手机用例测试
- Android 的 BroadcastReceiver
- 一个纸水杯的测试用例设计。
- android 编译c
- 考勤项目(gui)
- 常用的五大bug管理工具的优缺点和下载地址
- Json
- Qt远程控制源代码下载
- 常用的五大bug管理工具的优缺点和下载地址
- 2dx学习笔记-----类型转换(CCstring int string char UTF-8互转)
- jQuery
- 计算“两个整数的最大公约数”程序