The parent activity may have been paused/destroyed by Android, once an
activity is no longer in focus there is no guarantee that it will remain
accessible until it is brought back to the foreground.

You really need to pass all the information you need to NewActivity when
launching it, or store the information somewhere that they can both access.

On 13 Jan 2010 17:24, "Hannes H." <[email protected]> wrote:

Hey folks,

If I'm starting the "NewActivity" with startActivityForResult(): Is it
possible to get in NewActivity a reference of that Activity, where I
had started NewActicity?

For example: In MainActivity I am starting NewActicity. How to get an
reference of MainActivity in NewActivity?

Thx for your help!

Hannes

--
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]<android-beginners%[email protected]>
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to