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

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 :-)