Hayden wrote: > Ok, I have 2 Activities I want to send data between...activity A and > B. My problem is that some random code of mine seems to be called > between startActivityForResult() and onActivityResult() in Activity > A. This doesn't make any sense because there is no code after > startActivityForResult() is called. Shouldn't onActivityResult() be > the first thing A does after B finishes?
According to the documentation for onActivityResult(): "You will receive this call immediately before onResume() when your activity is re-starting." However, that leaves open the possibility that onStart() or onRestart() will be called before onActivityResult(). -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

