On Thu, Jun 3, 2010 at 4:56 AM, Ivan <[email protected]> wrote:

> One is called "Developing an App with a Background Service (using
> IPC)"
>
> http://mindtherobot.com/blog/37/android-architecture-tutorial-developing-an-app-with-a-background-service-using-ipc/


Sorry, but I think this service example promotes a couple things that I
really wouldn't want to encourage:

- Running the service in a separate process, just because.  The vast
majority of apps should keep their service in the same process.  This
greatly the interaction with the service (no IPC), and is generally a
lighter-weight solution.  There are certain cases where using another
process is useful, but this should not be encouraged.

- Running the service at boot, forever.  Please please don't.  Please.

-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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