I assume by "application" you mean the default activity.

The solution depends on several factors, one being how long does the typical
refresh take? Two most typical solutions are an AsyncTask started by
onResume and displaying a progress bar or a service with an AsyncTask that
updates the cach in the backgound and notifies the other activities. Doing
it in onResume or onPause is very likely the wrong way.

-- 
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