Hari

I have an activity which starts a service. In the service there is a
network lookup in an AsyncTask. Results from the lookup are saved to a
database.

The activity queries to database and shows the newest entries. But at
the very first run the database is empty, so there is nothing to show.
In this case I would like to show a progress dialog to the user while
the network lookup is taking place. I would like to dismiss the
progress dialog when the first lookup is finished.

Is there a way to access the progress dialog created in the activity
from the service? Or how to do it?

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