[android-developers] Re: Local service: how to tell activity when done?

2009-02-23 Thread NameZero912
Thank you very much :) On 23 Feb., 13:52, Wouter wrote: > Hi, > > If you create the BroadcastReceiver as an inner class, you do have > access in the broadcastreceiver to anything in your activity. > > So in you activity, do something like: > >         /** >          * Receive messages from our S

[android-developers] Re: Local service: how to tell activity when done?

2009-02-23 Thread Wouter
Hi, If you create the BroadcastReceiver as an inner class, you do have access in the broadcastreceiver to anything in your activity. So in you activity, do something like: /** * Receive messages from our Service */ private BroadcastReceiver receiver = new Broadcast