Turning off Android notifications.(Battery/Bluetooth)

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


Sponsored Links
 Hi,

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.


regards,
Pobudzio

--



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. Android Desktop Backgrounds

Some new Android Platform desktop backgrounds for your computer(s),
ENJOI. Show your Android love and share them with anyone you'd like!
Check them out at the link below! All backgrounds created with a
Creative Commons, Share-Alike license.

Hope that you enjoy them! I'll try to keep more coming!

http://drop.io/androidbackgrounds

If you like them, let me know and / or hit the Digg link below:

http://digg.com/software/Android_Desktop_Backgrounds

-- Shivian Balaris (shivian.com)

--~--~---------~--~----~------------~-------~--~----~

2. Coolest App Idea Stolen from an IPhone

I Just saw a program called Shazam this weekend on a friends IPhone
and i have to say it is one of the coolest apps i have seen in a long
time.  If you hear a song out in the environment (restaurant, bar,
elevator, etc..) and you want to know the info on it, you just hit the
shazam record icon and it takes a sample of the song and identifies it
for you.  I think you can then purchase the song online.  I can see
myself actually transacting with this type of program and it seems
that it is destined to become a standard on all mobile units.

I emailed Shazam and they must be too myopic to realize there is at
least two other platforms just screaming for their technology.  They
only have plans for the IPhone OS right now?????  Man at times like
these I would love to know how to program.  I would attempt to create
a platform for all Mobile OS's and it would only be a matter of time
before the Online music Etailers came a knocking with contracts.

Good luck to those who pick this idea up and attempt to capitalize.

Jim Conger
--~--~---------~--~----~------------~-------~--~----~

3. Android SDK and Eclipse Ganymede

4. Can anyone tell me if the Android platform supports Ifrared port ?

5. Certification <= 6 months?

6. Launch Activity with Eclipse

7. Connecting SSL and submitting an XML using 1.0 SDK