Alhootti
Active Member
im using
felUsbSerial & UsbManager lib
each time i reboot my device it request Permission again.
despite i used in device filter.xml:
also this:
I should select permission once then no need for permission even after reboot
How i can solve this issue?
felUsbSerial & UsbManager lib
each time i reboot my device it request Permission again.
despite i used in device filter.xml:
B4X:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- 0x10c4 / 0x800a GNSS RECIEVER -->
<usb-device vendor-id="0x1546" product-id="0x01a8"/>
</resources>
also this:
B4X:
usbserial.Initialize2("serial", device, -1, "CDCSerialDevice")
B4X:
AddActivityText(main, <intent-filter>
<action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
</intent-filter>
<meta-data android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"
android:resource="@xml/device_filter" />)
How i can solve this issue?