Hi,

Is it possible to keep service alive even if the foreground app does
not run anymore?

My app consists of a foreground app (UI) and a service that should
keep running in the background until it is being explicitly stopped by
the user (similar to a music player). The problem is that if the user
opens other apps, my foreground app is being killed by the system
(makes sense) but then also the service is being killed by the system
(does not make sense).

Can I change that? Is it related to the way I start/bind/unbind to the
service?

Thanks,
Yossi
--~--~---------~--~----~------------~-------~--~----~
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