If you are just writing a self-contained application -- it is all running in the same process -- then you really don't need to do anything special. Just normal Java stuff -- define a callback interface that the second activity implements, and hands to your network thread for it to call back on when it is done.
On Sun, Jul 5, 2009 at 1:02 PM, riz <rizwan.quera...@gmail.com> wrote: > > hi All , > > I m exploring Android SDK for ADC2 challenge. I need to know If my > application main activity calls > intent for doing some network activity (blocking call in separate > thread ) meanwhile it starts another activity . how can I BroadCast > network response to second activity I guess through extending > BroadCastReceiver class but is there any alternate ? any interface > that should I implement ? I just need to show on top of that activity > a dialog box with Commands OK and CANCEL. > > > > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---