[android-developers] How should I use BatteryManager to get battery states?

2009-05-21 Thread iou200...@gmail.com
I want to get the battery states by BatteryMangager and BroadReceiver. I can get Intent.ACTION_BATTERY_CHANGED event,but I don’t know how to process other action such as BatteryManager.BATTERY_PLUGGED_AC and so on. Who can give me advice ,thanks a lot.

[android-developers] How should I use BatteryManager to get battery states?

2009-05-20 Thread Alice
I want to get the battery states by BatteryMangager and BroadReceiver. I can get Intent.ACTION_BATTERY_CHANGED event,but I don’t know how to process other action such as BatteryManager.BATTERY_PLUGGED_AC and so on. Who can give me advice ,thanks a lot. 愿祖国昌盛,愿人民平安! --- 09年5月20日,周三, n5r11