But this is a RingtonePreference - I'm not starting the activity from code. RingtonePreference is defined in preferences.xml (which defines how the Preferences are laid out). All I know is that the request code - not the *result code* - that is returned is 100.
I need to know the name associated with that value 100... I can't find it anywhere :-) Thanks Rob On Thu, Apr 9, 2009 at 1:42 AM, for android <forandr...@gmail.com> wrote: > The requestCode is the constant you send from ur code which starts the > activity > > startActivityForResult(intent,100); > > > So you are sending the code 100. > > you need to look at the result code which are RESULT_OK,RESULT_CANCELED > which are defined in the Activity class. > > > On Thu, Apr 9, 2009 at 7:09 AM, Rob Franz <rob.fr...@gmail.com> wrote: > >> >> Hi all >> I just can't seem to find this anywhere... I've been googling! >> >> I have a RingtonePreference in one of my classes and, upon return, the >> onActivityResult says that the requestCode being returned is 100. >> >> Unfortunately, I can't seem to find the *constant name* for this >> value. >> >> Is there a master list somewhere? It's just not jumping out at me in >> the documentation... >> >> Thanks >> Rob >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---