you can send broadcast to the activity.

On Oct 31, 6:57 am, Bo Huang <[email protected]> wrote:
> pelase help
>
>
>
>
>
>
>
> On Sat, Oct 30, 2010 at 6:23 PM, Bo Huang <[email protected]> wrote:
> > Hi All,
>
> >    In my application, there is a service which has a running thread to
> > capture data from remote server, and also this service is triggered by
> > AlarmManager, for example let 1:00 am to start the service. After the
> > service finish the task, it stop itself  and  the main activity need to
> > update GUI.  I don't know how to let the main activity know when the the
> > service stopped, so that the main thread can update GUI.
>
> >   Thanks.
>
> > Bo

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