QSerialPort and android, permission error
-
This post is deleted!
-
Sorry can you explain? Have I to grant permission using java code before to try to use QSerialPort or are you saying that QSerialPort does not support Android 10?
@mrdebug said in QSerialPort and android, permission error:
QSerialPort does not support Android 10
it never did.
Since you would need a rooted android device to access the port/api anyway, no-one ever bothered to make it an official supported part of the library (for Android)
You'll have to go native c++
-
Firstly an app that wants to use serial com ports on Android, seems that has to be run with
android:sharedUserId="android.uid.system"
after that, the QSerialPort object requires the right usev implementation and, my device Android 10 aosp does not have it.