They are all running in the same process, and in fact there is a method on Activity to get the containing activity. Just wire these together however you want.
On Thu, Apr 9, 2009 at 7:07 AM, nick.titatingmembr...@googlemail.com < nick.titatingmembr...@googlemail.com> wrote: > > Hi, > > I have a main activity class that launches a couple of my subordinate > activities from a tabHost. > > Periodically (actually when I receive an incoming message on a > socket), I want to inform the subordinate activities that application > state has changed so that they can refresh their views. > > In Swing I could wire this together using something like a > PropertyChangeListener. As far as I can see, the Android design > philosophy requires creating an Intent and broadcasting to (as far as > I can tell all) other activities that are running. > > This strikes me as overkill considering that I'm only trying to notify > my own views of a model change. Am I missing something? > > Thanks, > > Nick. > > > > -- 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 -~----------~----~----~----~------~----~------~--~---