There are several different ways to communicate between an app and a service. Not sure what's the latency like on each but I would expect that using the Binder pattern should be fairly lightweight. On Aug 21, 2014 9:36 PM, "JT" <[email protected]> wrote:
> Hello all – > > I have several apps that use IOIO on an android phone. In order to > suppress constant permission requests and repeated unplug/plugs, I have > built a background service to handle the IOIO connection (Looper, etc.) and > receive the incoming data from apps. > > The problem is that I need to pass information on every touch interaction > to the IOIO. Using a Messenger/Handler service seems to create a > significant amount of delay between the touch interaction and the IOIO > response. > > Is there a better way to pass this data to the IOIO while still > suppressing the permission requests between apps? > > > 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 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.
