bypass android usb host permission confirmation dialog
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