On Oct 24, 6:13 pm, Mark Murphy <[email protected]> wrote:
> What is "a task scheduled via a handler"?
new Handler().postDelayed(someTask, someTime);
>
> > An activity binds to
> > the service and makes it work, but after unbind it can't bind again.
> Why unbind before the activity is going away?
Well, I suppose that if an activity gets destroyed by the os, you have
to unbind in onStop() or onDestroy(), don't you? Also, maybe the
activity never needs the service again, so why keep the connection
open and keep the service running unnecessarily?
>
> --
> Mark Murphy (a Commons
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Android App Developer Training:http://commonsware.com/training
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---