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, 2009
http://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
-~----------~----~----~----~------~----~------~--~---

Reply via email to