Add to the abstract class IOIOService

@Override
public IBinder onBind(Intent intent) {
    start(intent);
    return mBinder;
}




El jueves, 7 de marzo de 2013, 5:48:52 (UTC-3), Ytai escribió:
>
>
> On Mar 6, 2013 8:48 PM, "ckb" <[email protected] <javascript:>> wrote:
> >
> > I'm hoping as soon as I post this I'll realize the stupid mistake I've 
> made (as usual) but here is my problem. I want my app to start a remote 
> service that stays active and continues talking to the IOIO even if the app 
> is out of focus or closed. I'm familiar with the IOIOservice example and 
> have played around with it to bind to it, change the blink rate, etc. But 
> closing that app closes the service. 
>
> That's weird. It shouldn't. Only clicking the notification bar icon should 
> do that.
>
> >
> > When I try to run the IOIO in a remote service, it appears that the 
> setup() function in the IOIOLooper is never called. The service starts and 
> I can bind to it, but I never get a connection to the IOIO. Do I need to do 
> something to the IOIO in the service's onCreate()/onStartCommand()? Is 
> there an inherent limitation for IOIO remote services? Or am I just missing 
> some other simple step? Thanks for any guidance.
>
> In what is it different than HelloIOIOService?
>
> >
> > -- 
> > 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?hl=en.
> > For more options, visit https://groups.google.com/groups/opt_out.
> >  
> >  
>  

-- 
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