Thanks for reporting. This is similar to issues encountered by others, so most likely a systematic problem and not something specific to your case. I suspect the Android folks have not been spending a lot of time maintaining the OpenAccessory stack, so its behavior might have changed in a non-backward-compatible manner or possibly something broke. I will need to dig in to it. This will probably take some time considering my schedule, so I highly encourage other people to get involved (there are no secrets kept in this project...) In the meantime, the alternatives are ADB (for Android <4.2.2), Bluetooth, or USB with the IOIO in device mode.
On Fri, Feb 26, 2016 at 7:22 AM, Guillaume Madore < [email protected]> wrote: > So I’ve been chasing some weird disconnect problems that happen randomly > with my IOIO and by trial/error, I’m noticing that application 5.05+ seems > more unstable then previous releases in my case at least… > > It should be the opposite as in the release notes, it says « Improved > ability of OpenAccessory-based connections to reconnect after dropping. » > but in my case, with 5.05+, I get some random disconnects and one thing I > can replicate 100% is that when my main activity is paused because I open a > preference activity for example, it causes a disconnect from an > InterruptedException (normal) but when I resume the main activity, it will > not reconnect. I have to kill the app and disconnect/reconnect the usb > cable to make it work again. > > This behavior doesn’t happen (IOIO reconnects perfectly when the main > activity is resumed) in ADB mode with 5.05+ and it doesn’t happen with > 5.04 in both ADB/Open Accessory. > > I can replicate this on my 3 devices (running various versions of Android > 4). > > Am I missing something? > > -- > You received this message because you are subscribed to the Google Groups > "ioio-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/ioio-users. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "ioio-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/ioio-users. For more options, visit https://groups.google.com/d/optout.
