Could it be that you overloaded one of the lifecycle events on your activity (e.g. onStop()) and forgot to call the super's method (e.g. super.onStop())? There's no reason why what you're describing shouldn't work. I'm doing it all the time.
On Tue, Jul 21, 2015 at 10:44 AM, Lo <[email protected]> wrote: > Hi, > > I'm stucked with a problem that I don't really understand. > I'm quite new to android (some weeks ago)... > > In fact, I've added the class Looper to 3 differents activities that use > the IOIO OTG board. > In a menu, I choose which activity I want and start it. > > Can we do this with ioio ? Or it's forbidden and only one activity can use > ioio ? > > I've get this in log cat during runtime : > > Activity com.example.appTest has leaked IntentReceiver > ioio.lib.android.device.DeviceConnectionBootstrap@428e9648 that was > originally registered here. > Are you missing a call to unregisterReceiver()? > android.app.IntentReceiverLeaked: Activity com.example.appTest has leaked > IntentReceiver ioio.lib.android.device.DeviceConnectionBootstrap@428e9648 > that was originally registered here. Are you missing a call to > unregisterReceiver() > > In googling, I've seen I need to unregisterReceiver(...) somewhere... > > Some tells that I've to put this, inside onStop() others inside > onPause()... > > But what I have to add as a parameter ... of this method ? > > Thanks. > Lo. > > > -- > 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.
