Can anyone help me in finding a way to getting
Power PluggedIn Status
Something like
- charging using AC
- charging using USB
- or on Battery
Presently we do it by using a broadcast receiver.
By comparing the "received intent" to "Intent.ACTION_POWER_CONNECTED"
But i want to get that information as soon as the application is
loaded
(when any broadcast has not yet happened)
Is there any means to do this ?
--
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