开发者

Respond to Intent.ACTION_BATTERY_CHANGED

开发者 https://www.devze.com 2023-01-08 06:36 出处:网络
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

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

精彩评论

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