sangorys wrote:
> how to know the list of available extra for a intent ?

Look in the documentation for that Intent. If the extras are not
documented, they are not necessarily reliable under their current names.

> For example, I want to know all available extra for
> ACTION_BATTERY_CHANGED. What is the method to know them ?
>  o I have seen nothing on the official dev guide, reference in
> http://developer.android.com

If you view the documentation for ACTION_BATTERY_CHANGED, you will see:

"See BatteryManager for documentation on the contents of the Intent."

If you then view the documentation for BatteryManager, it has a roster
of the extras (EXTRA_*) with a minor bit of descriptive information.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_
Version 1.2 Available!

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