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. libopencorehw implementation

Hi,I find there are some sample files under
external/opencore/android/samples demonstrating how child class of
android_surface_output should be created. However, I did not find it
eventually used in open source git. So my question is that, is this sample
file the same as the one used in G1 or HTC release?
I reused this file but there come up some problems in PMEM usage. So I
wonder if this is a verified source code or simply a demonstration. Thank
you.

-- 
Thanks,
Andy

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

2. Features of SDK 1.5

Hi Developers!
My software team is looking to develop mobile apps on the Android
platform for our clients and they have asked me to do some research on
the platform.  I'm not a dev so apologies if some of the questions are
a little simple!!

What are the key features of SDK 1.5?  i.e. what works well and is an
improvement on 1.1, what needs to be added and what plain doesn't
work?

Can you help??!

Thanks!

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

3. New Google Maps app - new Intents URI schemes?

4. Android WebView - handling orientation changes

5. PORTING BROWSER ON ANDROID

6. Can you disable/enable Buttons on a Cupcake desktop widget?

7. Able to use T-Mobile G1 without contract for application testing?