The best IntentService pattern I use is handling online web services,
which can take several seconds to respond. I launch IntentServices to
get data from various web services, and the data is placed in an
SQLite db. The IntentService broadcasts a message back to the UI
activity when it's done and the UI picks up the data from SQLite. In
this way, the UI can populate various Views with data as it comes in
from various web services (and show a default message/image in the
view while it waits). The whole process is fairly simple, very robust,
and looks good to the user.

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to