Hello all.
I am trying to get my head around usb_accessory and a ioio. (I have struggled for a couple of days to get the ioio otg to work but I have it working in my app using open_accessory.
I have a service that starts when a text message is received that tries to initialise a connection with a ioio board. The problem seems to be that the app starts before android asks to allow the app to access the accessory. Even when I check "use by default" it still asks every time.
I am rather new to this so if anybody has done something like this I would like to hear about it.
Basically my app doesn't connect to the device and quits.
Is it something to do with the AndroidManifest.xml?
I am trying to get my head around usb_accessory and a ioio. (I have struggled for a couple of days to get the ioio otg to work but I have it working in my app using open_accessory.
I have a service that starts when a text message is received that tries to initialise a connection with a ioio board. The problem seems to be that the app starts before android asks to allow the app to access the accessory. Even when I check "use by default" it still asks every time.
I am rather new to this so if anybody has done something like this I would like to hear about it.
Basically my app doesn't connect to the device and quits.
Is it something to do with the AndroidManifest.xml?