android - Activity calls a second Activity but result is sent back BEFORE the second Activity calls onCreate()? -


i need here. basically, have activity. uses startactivityforresult() method call second activity (which part of same app). result code second activity returns result_cancel before oncreate() method of second activity called.

this bewildering me. if change intent , call android messaging app activity , not own activity result code correctly after activity finishes.

it's pretty obvious me when call own activity result must different. can me understand doing wrong , me fix issue?

testing on android v2.2

my initial thought try using intent filter in android manifest , limiting intents single activity you're trying result from.

i hope answers question!


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -