The fact that the accesory connection intent has to go through an activity to the service is, as far as I know, the only way to do this in Android. If you find a better way to do this let me know. On Aug 7, 2015 6:01 AM, "Ole Tetzschner" <[email protected]> wrote:
> Ytai, you are a champ :) > > Would be nice if the startet IOIOService auto-reconnected, every time the > IOIO-board was connected/restarted. But restarting the IOIOService (when > using AOA) is working. In BT-mode the auto-reconnect is working fine. > > Kind regards, Ole > > > 2015-08-06 16:58 GMT+02:00 Ytai Ben-Tsvi <[email protected]>: > >> App and library. No need to touch the firmware if you have a v5.x >> installed. >> On Aug 6, 2015 7:40 AM, "Ole Tetzschner" <[email protected]> >> wrote: >> >>> thanks Ytai >>> >>> is it only an android-app issue or do I need to update android-ioio-lib >>> and/or ioio-firmware as well? >>> >>> kind regards, Ole >>> >>> 2015-08-06 16:19 GMT+02:00 Ytai Ben-Tsvi <[email protected]>: >>> >>>> Yes. This has been fixed, but not yet released. You can check out the >>>> latest code from the master branch on GitHub for the time being. >>>> On Aug 6, 2015 2:39 AM, "Ole Tetzschner" <[email protected]> >>>> wrote: >>>> >>>>> Hey Ytai >>>>> >>>>> Any progress on this AOA Service-problem? Do you by chance have an >>>>> updated HelloIOIOservice-example? The HelloIOIO-activity works like a >>>>> champ >>>>> (AOA) on all my android-devices, but the HelloIOIO-services does not :/ >>>>> >>>>> With kind regards, Ole >>>>> >>>>> Den fredag den 3. oktober 2014 kl. 06.33.04 UTC+2 skrev Ytai: >>>>>> >>>>>> 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. >>>>> >>>> -- >>>> 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/YSEBH7lwe-A/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. >>>> >>> >>> >>> >>> -- >>> Med venlig hilsen >>> >>> Ole Tetzschner >>> >>> -- >>> 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/YSEBH7lwe-A/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. >> > > > > -- > Med venlig hilsen > > Ole Tetzschner > > -- > 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.
