Yes, we did work with that pattern first, but the delay was too much. If anyone else has to do something similar, we are now trying out a TCP/IP socket approach to speed up data transfer.
On Monday, August 25, 2014 11:10:12 AM UTC-5, Ytai wrote: > > 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] > <javascript:>> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> 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.
