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, |