How can I create java events from a new input device on an Android device?
u see, there is a big difference between C and java programming: class libraries versus C API. In java, you do not directly access virtual device drivers, but instead use the standard class libraries provided by Java, where low-level libraries that address hardware were written for you.
http://developer.android.com/reference/android/view/InputEvent.html
http://developer.android.com/reference/android/view/KeyEvent.html
and start your sample search navigation.
, , C Java JNI/NDK:
http://developer.android.com/sdk/ndk/overview.html
, java....
/dev/input/eventX... X-0, X-1.
/dev/input/eventX
http://cjix.info/blog/misc/internal-input-event-handling-in-the-linux-kernel-and-the-android-userspace/
Source: https://habr.com/ru/post/1764394/More articles:jQuery AJAX callback not starting - jqueryhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1764390/aspnet-mvc-default-view-model-binding-of-cookies-to-custom-objects&usg=ALkJrhiFDvBuOzVO_lPSsk_zNmwXqGCUyABinding an enumerated type into a text box - enumsEquals () help - javaSWIG - a problem with namespaces - c ++C # Automation Framework for DirectX - c #Development of a universal interface for asynchronous asynchronous control - javaTransparency with an overlay panel - javaBlocking operations and ZeroMQ - iohttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1764399/is-it-possible-to-run-code-if-visitor-is-from-a-certain-country&usg=ALkJrhg0MKUwXJ3FCZWCRV3A7A3G_sGBXQAll Articles