well... I'll say "very little" in common, but that's true: you cannot do the same with a service and an extra thread as the thread depends on the main Activity and it "dies" when the Activity does :P
2011/4/11 Mark Murphy <[email protected]> > On Mon, Apr 11, 2011 at 5:54 AM, Tushar Baviskar > <[email protected]> wrote: > > What is the need of services in android, as same thing can be achieved > > by starting new task also? > > No, the "same thing" (whatever that is) cannot "be achieved by > starting new task also". Services and tasks have virtually nothing in > common and certainly are not interchangeable. > > http://developer.android.com/guide/topics/fundamentals/services.html > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > _The Busy Coder's Guide to Android Development_ Version 3.6 Available! > > -- > 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 > -- 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

