There are some issues with how Accessory and Service interact. The end
result is that I haven't found a good way to detect a re-connection of the
accessory when the service is running.
To separate issues, please try the precompiled HelloIOIO first and check
that everything is reliable in accessory mode. Then, move to the
precompiled HelloIOIOService and note the behavior. Only then move to your
own code. Feel free to try to look into how IOIOService is implemented and
come up with suggestions. The key issue is that there is apparently no way
to register a Service to listen for an Accessory connection, so you may
need to start an activity and delegate the Intent to the service.

On Mon, Sep 29, 2014 at 9:56 AM, Majid ff <[email protected]> wrote:

> I am using Samsung Galaxy S2, Android 4.1.2, I tried with debugging both
> mode on and off. I am using the oreginal cable that comes with the IOIO
> (micro-A connected to the IOIO). I tested both positions H and A, I am also
> use external 5V power supply to the IOIO.
> I am using the app that come with firmware v5.0 as well.
> I have already turned the IOIO trim pot to the end clockwise!
>
> But still same problem.
>
> --
> 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.

Reply via email to