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 <[email protected]> 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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to