Just to add a note,
Services are stopped when the phone goes to sleep e.g. the screen goes
off.
You can prevent this via WakeLock's but they impact battery life so be
careful

On Jun 27, 4:55 am, Delta Foxtrot <[email protected]> wrote:
> 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