Qt Serial port open Android problem

323 views
Skip to first unread message

mitesh prajapati

unread,
Jan 4, 2018, 5:55:01 AM1/4/18
to android-qt
I made applicaton for linux system which opens port and read/write is working fine.

Same App i compiled for Android armV7 and deployed apk in android device,

 while opening port it is giving error: "Permission denied"
(here it needs root permission to "ttyACM0" file)

what can be solution??

i have already searched lot on internet but no success in serial port opening.
 
can anybody provide project which open serial port in android.

Willy Gardiol

unread,
Jan 4, 2018, 8:00:20 AM1/4/18
to andro...@googlegroups.com, mitesh prajapati


On Android direct access to hardware is forbidden. You ned to look into Android APIs and possibly JNI.

--
You received this message because you are subscribed to the Google Groups "android-qt" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-qt+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-- 
Willy Gardiol
wi...@gardiol.org
www.gardiol.org
www.trackaway.org -> Track YOUR way the way you want!
Reply all
Reply to author
Forward
0 new messages