onDestroy() can still be called.
If an activity calls stopService(...), the service's onDestroy may be
called.

On May 28, 12:24 pm, Gautam <[email protected]> wrote:
> Thanks...
> The plan is to start the service once (startService()) and never call
> stopService. I want my service to be running always (will set
> service.forground() = true).
> When any activity wants to use the service it would get the service
> via bind and invoke methods on the service.
>
> Also, by looking at the documentation, it seems that the platforfm
> does not provide "power down" broadcast intents.
>
> So, onDestroy() on the service would never be called or used.
> Is it a right assumption?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to