On Wed, Mar 24, 2010 at 3:48 PM, arnoldl <[email protected]> wrote:

> i'm trying to find out what extra's there are for a specific intent..
>
> in the eclipse debug window i can see it has extra's , but i can''t
> find a list of those extra's.
> I also can't find a function to get all extra's into a human readable
> format.
>

It's non-sensical to have a generic method to print out all the contents in
the extra since you can literally pack anything in there, including binary
data which is not human-readable. However, you can get the extra bundle by
calling Intent.getExtras() and call Bundle.keySet() to get the set of keys
the extra contains. They are human readable. Then you can extract the
corresponding values using the keys.

-- 
Ning

-- 
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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to