usbserial

bypass android usb host permission confirmation dialog

限于喜欢 提交于 2019-11-26 18:22:13
I want to use android in industry, I can connect to Profilic and Ftdi USB to Serial chips with slickdevlabs.com library without any problem. The application has a service and it starts on boot,connect to the usb serial port and do the other things. my problem is that the host device does not have any interaction with user, so when the android asks Allow the app "MyAPP" to access the USB device ? [checkmark]Use by default for this USB device Cancel OK there is no person to click on ok. even when I check the use by default... checkbox,If I reinsert the USB ,or reboot the host device, it asks

bypass android usb host permission confirmation dialog

て烟熏妆下的殇ゞ 提交于 2019-11-26 06:58:08
问题 I want to use android in industry, I can connect to Profilic and Ftdi USB to Serial chips with slickdevlabs.com library without any problem. The application has a service and it starts on boot,connect to the usb serial port and do the other things. my problem is that the host device does not have any interaction with user, so when the android asks Allow the app \"MyAPP\" to access the USB device ? [checkmark]Use by default for this USB device Cancel OK there is no person to click on ok. even