Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Contributor
Posts: 36
Registered: ‎10-12-2012
My Device: developer
My Carrier: developer
Accepted Solution

detect low battery in blackberry mobile phone

How to show a popup window on battery low in my application.... Is there any listener to detect the battery is low in the device please help..
Contributor
Posts: 36
Registered: ‎10-12-2012
My Device: developer
My Carrier: developer

Re: detect low battery in blackberry mobile phone

Got the solution...use system listener interface and write your code in batteryStatusChange() method
Developer
Posts: 19,616
Registered: ‎07-14-2008
My Device: Not Specified

Re: detect low battery in blackberry mobile phone

Look at the DeviceInfo for information on battery status.  For a listener, look at SystemListener.  For information on a popup window from a background application (assuming your application is running in the background), see here:

http://supportforums.blackberry.com/t5/Java-Development/Alert-a-BlackBerry-smartphone-user-from-a-Ba...

 

I would also recommend that you search the forum (Search Field top right if you have not already seen it).  There are likely to be a number of Threads on the forum discussing similar issues that could be useful to you 

 

Good luck.

Contributor
Posts: 36
Registered: ‎10-12-2012
My Device: developer
My Carrier: developer

Re: detect low battery in blackberry mobile phone

thanx peter for ur solution....
New Member
Posts: 3
Registered: ‎02-26-2013
My Device: dfa
My Carrier: a580

Re: detect low battery in blackberry mobile phone

As we all know,While the mobile phone brings great conveniences to people, it also raises new challenge on the security of confidential work. In recent years, the wiretap, cheating in examination, medical negligence and gas station explosion with mobile phone occurred and it has aroused great concern of the society. Maybe it's one of the reasons that promoted the appearance of 900mhz blocker jammer. You may be watching a nice movie or enjoying your nap when you get free for sometime. Still you have chances of getting disturbed with your most loved ones and close friend chatting near you on the cell phone. At such hours, if you really care for your free time then you need to buy a cell phone jammer.