android开机自动运行native程序
2012-05-17 18:48
197 查看
可以改变/init.xxx.rc里面增加native可执行程序的自动运行, 例如:
service log /data/data/tmp/log.sh
or
exec /bin/sh /data/data/tmp/log.sh
log.sh的内容是:
#!/bin/sh
/system/bin/logcat -f /data/data/tmp/tmp_log
service log /data/data/tmp/log.sh
or
exec /bin/sh /data/data/tmp/log.sh
log.sh的内容是:
#!/bin/sh
/system/bin/logcat -f /data/data/tmp/tmp_log
相关文章推荐
- Android实现开机自动运行程序
- Android开机自动运行程序
- Android实现开机自动运行程序
- Android实现开机自动运行程序
- 开机自动运行程序【Android】
- [Android实例] Android实现开机自动运行程序
- Android程序如何在开机时自动运行
- Android实现开机自动运行程序
- Android程序:系统重启+开机自动运行+屏幕解锁
- Android实现开机自动运行程序(转)
- Android---让你的APK程序开机自动运行
- Android---让你的APK程序开机自动运行
- Android实现开机自动运行程序(转)
- Android实现开机自动运行程序
- android之接收和发送广播的开机可自动运行程序
- Android实现开机自动运行程序
- Android实现开机自动运行程序
- Android实现开机自动运行程序
- Android实现开机自动运行程序
- android 开机自动运行程序