[android-developers] Re: "Local" Service vs "Remote" Service
> I can think of no scenarios in which you need a service to
> run in a separate process.
I've run into a scenario. Force close kills your process. So if you
want to do an internet call on unhandled exceptions, doing it in
another thread isn't enough. Users often hit the button before your
internet call can complete. A remote service doesn't get killed,
though.
On Nov 9, 4:01 pm, Mark Murphy <mmur...@commonsware.com> wrote:
> On Tue, Nov 9, 2010 at 1:17 PM, prgmratlarge <yossiele...@gmail.com> wrote:
> > I'm confused about whether I need to run my service in a separate
> > process.
>
> You don't. I can think of no scenarios in which you need a service to
> run in a separate process.
>
> > For reference I'm trying to create an App that uses a service to play
> > [streaming] audio in the background.
>
> Do not use a remote process for this scenario.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android App Developer Books:http://commonsware.com/books
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home