Re: [android-developers] How to determine if the phone is powered by battery or by charger?

2010-07-28 Thread Mark Murphy
On Wed, Jul 28, 2010 at 6:06 PM, Agus wrote: > How to determine if the phone is powered by battery or by charger? Call registerReceiver(null, new IntentFilter(Intent.ACTION_BATTERY_CHANGED)). That will return the last Intent of that type that was broadcast. There are extras in there to indicate t

Re: [android-developers] How to determine if the phone is powered by battery or by charger?

2010-07-28 Thread { Devdroid }
On 29 July 2010 00:06, Agus wrote: > How to determine if the phone is powered by battery or by charger? http://developer.android.com/ got search. If you put "battery" there you will get closer to the answer. -- You received this message because you are subscribed to the Google Groups "Android D

[android-developers] How to determine if the phone is powered by battery or by charger?

2010-07-28 Thread Agus
How to determine if the phone is powered by battery or by charger? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to androi