开发者

Respond to Intent.ACTION_BATTERY_CHANGED

How can I setup an method to be called whenever Intent.ACTION_BATTERY_CHANGED is raised? Do I have to subclass B开发者_运维百科roadcastReciever? Or can I use a method to hook up the action to a method.


I think that SirDarius answered you in your previous question:

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜