You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have used octo4a on my aarch64 device driven by Android 9. All works fine, except 1 little issue… When I connecting my CH34x board to android using OTG, usb permission popup displaying with “Always open OctoPrint for Serial-xxx”.
If I enable access and enable checkbox, this popup NOT displaying again how many times I have reconnecting device… But on each reboot, this popup displaying again. I have found some solution that can help to solve issue with reseting RequestPermission for UsbManager after device reboot:
For apply fix, author added in Manifest Editor one attribute: SetActivityAttribute(main, android:directBootAware, "true")
I have no any experience with creating Android apps, and I can’t check it by update manifest and rebuild this project locally… I even installed Android Studio and try to compile project, but compiled apk crashes on my android device after installation. :(
After some investigating, I have found this project: brltty
And there directBootAware atribute used in service and activity sections for target service…
So, may I ask you to check this or build a app and send me to verifying? This is not critical issue, but I am switching off printer with my android device, and enabling this feature manually little annoying...
The text was updated successfully, but these errors were encountered:
Hi @feelfreelinux!
I have used octo4a on my aarch64 device driven by Android 9. All works fine, except 1 little issue… When I connecting my CH34x board to android using OTG, usb permission popup displaying with “Always open OctoPrint for Serial-xxx”.
If I enable access and enable checkbox, this popup NOT displaying again how many times I have reconnecting device… But on each reboot, this popup displaying again. I have found some solution that can help to solve issue with reseting RequestPermission for UsbManager after device reboot:
usbmanager requestpermission workaround
For apply fix, author added in Manifest Editor one attribute:
SetActivityAttribute(main, android:directBootAware, "true")
I have no any experience with creating Android apps, and I can’t check it by update manifest and rebuild this project locally… I even installed Android Studio and try to compile project, but compiled apk crashes on my android device after installation. :(
After some investigating, I have found this project:
brltty
And there
directBootAware
atribute used inservice
andactivity
sections for target service…So, may I ask you to check this or build a app and send me to verifying? This is not critical issue, but I am switching off printer with my android device, and enabling this feature manually little annoying...
The text was updated successfully, but these errors were encountered: