Running native codes on USB arrival

[复制链接]
594|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

粉丝
快速回复 在线客服 返回列表 返回顶部