porting uart based C program to android, any good way? -



porting uart based C program to android, any good way? -

i need port c programme android. c programme uart based. managed build programme using ndk compiler, when runs in android, access uart /dev/ttyacm0 denied. there several ways that: 1) building c programme whole, rooting android scheme , allow access uart. using ipc method allow android app talk c program. possible?

2) using android usb/cdc acm interface, build c programme ndk native lib, , called java. requires refactory of c programme not designed module. question c programme phone call uart interface java based. can java phone call jni c native , c native phone call java (uart part) again?

any other options?

android android-ndk jni uart

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -