Ok so I've got a map activity which displays some pins. I have a thread which runs in the background, it will periodically generate new pins to place on this map activity. I guess I can communicate between the 2 via a Handler.
>From the map activity, the user may create a new Activity to enter some text let's say. Now the map activity is 'paused', but the background thread is still trying to post messages to its Handler.Will the Handler respond at all, or will messages begin queuing up until the user ends the text activity, returning back to the map activity? Thanks On Oct 25, 5:33 pm, Mark Murphy <[EMAIL PROTECTED]> wrote: > Mark Wyszomierski wrote: > > After an Activity creates a new Activity, is it possible for the new > > Activity to communicate with the old one at all? Something like: > > > Activity A is being viewed > > Activity creates activity B, and displays it > > > can B communicate with A at this point? > > > I'm creating activity B with: > > > Intent intent = new Intent(); > > intent.setClass(activityLogin, ActivityB.class); > > startActivity(intent); > > > so activity B doesn't have a way to talk back to A now. > > That depends on what you mean by "talk back to A now". That's not > specific enough for me to give you concrete advice. > > > Is this the way it's supposed to work? > > Yes. > > > If there is a way to talk back, what state is A in? > > That's a bit complicated for what you're describing, but generally it is > "paused". > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > > Android Training on the Ranch! -- Mar 16-20, > 2009http://www.bignerdranch.com/schedule.shtml --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

