On Tue, Oct 12, 2010 at 12:03 PM, rrd <[email protected]> wrote:

> Is there a way to access the progress dialog created in the activity from
> the service?
>

Don't think so - Service is not meant to do UI operations (besides posting
notifications).

Or how to do it?
>

Ideas:
a) Bind to the Service
b) Send a broadcast message from the Service to tell the Activity that it's
done
c) Don't show a progress dialog and use an ongoing notification from the
Service instead.

There are probably more / better options, but that should give you stuff to
chew on =)

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

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