Turning off Android notifications.(Battery/Bluetooth)

by Pobudzio » Tue, 07 Sep 2010 16:40:04 GMT

Sponsored Links

My first question is about low battery notification. I would like turn
off this popup which oocurs when battery is low during my application
is on. I can catch of course Intent.ACTION_BATTERY_LOW but additionaly
Android show me this popup. Is it possible to turn it off?

Second topic is about turning on bluetooth. When I turn it on using
API system show me additional popup asking if I agree to turn on
bluetooth module by this application. Is it possible to turn off this
popup. I have HTC Legend on which popup occures and my friend has
Motorola Milestone on which it doesn't occur. So probably it's only in
HTC Andoid implementation.



Turning off Android notifications.(Battery/Bluetooth)

by Mark Murphy » Tue, 07 Sep 2010 19:39:11 GMT


I see no evidence that ACTION_BATTERY_LOW is an ordered broadcast, in
which case you cannot "turn it off".

Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://github.com/commonsguy 
 http://commonsware.com/blog  |  http://twitter.com/commonsguy 

Android Training in London:  http://skillsmatter.com/go/os-mobile-server 


Sponsored Links

Other Threads

1. How to use NTP

Hello everybody.I'am try using ntp command in android2.3.2 on
mini6410(s3c6410) board return  not ntp command.
I'am install ClockSync application this application require root but i
cannot run application in root process.
my question how to use ntp command?
Thank you very much and sorry I'm not good at English.


2. cracked screen

I saw this app called cracked screen that basically overlays a bitmap
on the screen and makes it look cracked as a joke.  Somehow the app
continues to put the crack on the screen even as the user continues to
use the phone.  Anyone know how to do this?


3. Password Manager For Ipad and other fPlatforms

4. In a Native C program, how to call java API: ActivityManager::getMemoryInfo()

5. Query on Programming Model in Recorder

6. berapa versi terbaru gtab?

7. ROM Blesingdragon v1.6a on Optimus 2X