I do see this. I don't know if this is fixable. To the best of my knowledge this is a bug with Android, where the disconnect event doesn't get generated in this case. There may or may not be a workaround. Maybe just polling periodically instead of relying on the event system.
On Thu, Jan 15, 2015 at 6:23 PM, Paul McMahon <[email protected]> wrote: > I also have intermittent connection issues--that is, intermittent ability > to connect. > > Even with the precompiled HelloIOIO program, I need to pause after cutting > the power, before reapplying (same goes for the USB cable connection). > If the disconnect/connect happens quickly, no connection is made. If I > unplug again wait 2 seconds or more, then reconnect, it normally reconnects. > > When it fails to connect, I get the notifications of a USB accessory > (multiple of them), but the GUI doesn't get enabled. > > I've also seen the case where plugging in gets reported as "Connected as a > media device" in the notification bar--with no IOIO connection > established. When in that state, it's repeatable until I power cycle the > IOIO, making me think the firmware could be hung. > > I don't think this was the case when I used ADB moce. > > Ytai, do you not see this, when you unplug/replug quickly? > > > > On Thursday, January 15, 2015 at 9:54:06 AM UTC-5, Tim Frisch wrote: >> >> Tried out the V5.04 pre-compiled HelloIOIO Apk and it worked. I will work >> my way down from there as you have said and if I figure it out or not I >> will report back here. >> >> Thanks Ytai. >> >> On Thursday, January 15, 2015 at 8:02:55 AM UTC-6, Tim Frisch wrote: >>> >>> I had thought it would be that as well. However I have tried compiling a >>> few of the apks you provide with no results. >>> >>> I also had already enabled project manifest merger and compared my >>> manifest files which were identical in structure. >> >> -- > 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 http://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 http://groups.google.com/group/ioio-users. For more options, visit https://groups.google.com/d/optout.
