打印

Running native codes on USB arrival

[复制链接]
414|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
第三章|  楼主 | 2018-9-8 20:54 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Hi Experts,
In Linux environment I use native codes cross compiled for ARM processor in the user space. The requirement is when on a USB device arrival, udevd will invoke the binary in association with rules containing VID/PID.
In Android environment I would like to do the same. I tried cross compiling the native codes for the same ARM development board and able to execute it manually using adb.
Also I developed a sample Android application with JNI interface to manually execute it.
How to auto execute the native binary in Android environment, since udev is missing in Android for USB devices ?Writing Android app with JNI native code or straight away native code like GNU utils which one is the best way to satisfy the above needsRegards,

使用特权

评论回复

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

380

主题

380

帖子

0

粉丝