2009/6/27 Dennis <[email protected]>

>
> Yet another question -- we have an application that connects to a
> device and therefore needs to keep running in the background even when
> there are no Activities active.  What is the recommended way to
> indicate that our application is still active and for it not to be
> killed automatically?
>


You extend Service instead of Activity, services have no UI and run in the
background. They can interact with activities.

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