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

Reply via email to