I have an activity that needs to start another activity in the
onCreate method.  The second activity doesn't have a UI, it just
processes some data (very quickly) and returns it via setResult.

The problem I am having is that it looks like the onActivityResult
method from my first activity is called before the second activity has
finished!

I put in some Toast notifications to be sure, but the order that the
notifications appear is as follows:
- onCreate for Activity1 (just before calling startActivityForResult
to launch Activity2)
- onActivityResult for Activity1
- onCreate for Activity2

Has anyone else run into this problem?  I have not been able to find
anything about this issue on these forums or on google.

Thanks in advance,
Justin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to