Yes, I think closing and re-opening does fix this.  Any idea where in the
app to investigate?
BTW, I think this only happens with android-8 or -10 (which needs the
usb.jar add-on library)


On Wed, May 7, 2014 at 12:10 PM, Ytai Ben-Tsvi <[email protected]> wrote:

> I've seen an issue which may be the same as what you're describing, where
> a quick disconnect / reconnect either by unplugging the USB cord or by
> power cycling the IOIO would sometimes go undetected by the Android. AFAICT
> there's nothing that can be done about it, the OS simply does not detect
> the disconnection or does not propagate it to the app.
> I'm curious: does closing and re-opening the app fix this? If so, this
> might suggest that a app-level software fix is possible.
>
>
> On Wed, May 7, 2014 at 9:06 AM, Paul McMahon <[email protected]>wrote:
>
>> OK, I'll look into that code.
>>
>> BTW, I found AOA mode was not 100% reliable on my phone running Android
>> 4.3.1:  I could repeatedly disconnect/reconnect the USB cable, and it would
>> be identified as an accessory each time.   But If I power cycled the IOIO,
>> it would not always come up as an accessory.  I don't think I'm having that
>> problem with my phone phone and ADB mode.  Have you seen this issue?
>>  - Paul
>>
>>
>> On Wed, May 7, 2014 at 12:02 PM, Ytai Ben-Tsvi <[email protected]> wrote:
>>
>>> This involves implementing RSA encryption, for an apparent very little
>>> gain. Probably not going to do that.
>>> You most likely don't need to rewrite most of your code. Change your
>>> IOIO to one communicating over AOA, make sure to delegate your relevant
>>> application events to the connection class. See how
>>> IOIOAndroidApplicationHelper works.
>>>
>>>
>>> On Wed, May 7, 2014 at 7:36 AM, Paul McMahon 
>>> <[email protected]>wrote:
>>>
>>>> Hi.  I have an old app which is not written in a way which is easily
>>>> converted to AOA (It does everything manually).  Rather than rewrite all
>>>> that code, it'd be great if IOIO could establish a secure ADB connection.
>>>>  Are you not planning this support at all?  Have you scoped out the work
>>>> involved?
>>>>
>>>> thanks
>>>>
>>>>
>>>>  --
>> 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 a topic in the
> Google Groups "ioio-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/ioio-users/5gwna9Y6tGU/unsubscribe.
> To unsubscribe from this group and all its topics, 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.

Reply via email to