Reported in March 2008, reviewed and accepted in May 2008, and still in the queue?
http://code.google.com/p/android/issues/detail?id=580 Would it help if someone submitted a patch? On Nov 8, 5:29 am, Omie <[email protected]> wrote: > http://developer.android.com/resources/faq/commontasks.html#opennewsc... > > Scroll down to "Returning a Result from a Screen" and look at code sample : > > Shouldn't that be requestCode to switch() ? > > // Listen for results. > protected void onActivityResult(int requestCode, int resultCode, Intent data){ > > // See which child activity is calling us back. > switch (*resultCode*) { > > case CHOOSE_FIGHTER: > // This is the standard resultCode that is sent back if the > > // activity crashed or didn't doesn't supply an explicit result. > if (resultCode == RESULT_CANCELED){ > > myMessageboxFunction("Fight cancelled"); > } > > else { > myFightFunction(data); > > } > default: > break; > > } > > > > > > > > } -- 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

