Hi All thanks for your replies i still some how have a question if my activity starts a thread and say that activity dies somehow so what happens to the thread it started does it complete its run properly and then ends or it its killed as soon as the activity dies? Thanks, Sagar
On Jul 8, 1:46 am, Frank Weiss <[email protected]> wrote: > It's not usually necessary to use a service for a quick network fetch. > For example, when the user clicks a button that requires a network > request that takes typically less than a few seconds and expects > result displayed in same activity, just run the AsynTask in the > activity. Services are for running tasks when the activity is no > longer visible. -- 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

