views:

88

answers:

1

How can I setup an method to be called whenever Intent.ACTION_BATTERY_CHANGED is raised? Do I have to subclass BroadcastReciever? Or can I use a method to hook up the action to a method.

+1  A: 

I think that SirDarius answered you in your previous question:

http://www.tutorialforandroid.com/2009/01/getting-battery-information-on-android.html

Profete162