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

Adobe AIR Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Developer
Posts: 63
Registered: ‎12-10-2012
My Device: Blackberry 9900
My Carrier: Vodafone-in

AlertDialog doesn't show when app is minimized in BB10

[ Edited ]

hai i just used a alertdialog in my code but it doesnt show when my app is minimized the alert is just there i could see that when i open it but only within the app. I need to see it even if the applicationt is minimized or hidden

 

alertBox.title = "Battery level is low...!!";
alertBox.message = "You battery charge is below 70% please charge your phone";
alertBox.width=300;
alertBox.height= 200;
alertBox.addButton("Ok");
alertBox.addEventListener(Event.SELECT,onAlertClick);

alertBox.show();

 

 

_______________________________________________________
Help is available everywhere but you have to look at the correct place.
By Me :-)
Developer
Posts: 327
Registered: ‎12-13-2010
My Device: Bold 9900/Z10 Special Edition
My Carrier: Rogers

Re: AlertDialog doesn't show when app is minimized in BB10

In the Gold Release of the AIR SDK for BB10 I can still see my AlertDialogues when my app is minimized.

 

Does your app by any chance have any event listeners to the Application State?

CEO/Lead Developer - Tensioncore™ Design Studios
http://tncr.ws/ - ShortenThis!™ for Blackberry Playbook | ShortenThis!™ for BlackBerry® 10
The Periodical Toe A highly informative Table of Elements
DrawThis! A fun drawing app for the BlackBerry® PlayBook™!
http://www.tensioncore.com/ - Tensioncore™ Web Hosting
Highlighted
Developer
Posts: 63
Registered: ‎12-10-2012
My Device: Blackberry 9900
My Carrier: Vodafone-in

Re: AlertDialog doesn't show when app is minimized in BB10

Yes i have a battery level listener. The alertbox is supposed to show up only when battery level falls beyond a limit.

Also am using the GOLD SDK

_______________________________________________________
Help is available everywhere but you have to look at the correct place.
By Me :-)