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

Web and WebWorks Development

Reply
Highlighted
Contributor
Posts: 31
Registered: ‎05-06-2011
My Device: 9300
My Carrier: developer

Custom Dialog Box is not working in Blackberry mobile

Hi,

 

i am using following code :-

 

var buttons = ["Close"];
          var ops = {title : "VDRS Issued", size : blackberry.ui.dialog.SIZE_SMALL, position : blackberry.ui.dialog.LOC_CENTER};
          blackberry.ui.dialog.customAskAsync("successfully Issued", buttons, dialogCallBack, ops); 

 

function dialogCallBack(index){
 //

 }

 

 

The code is not working in blackberry simulator but working in playbook.

Please let me know if anything needs to be changed. I am using SDK2.2 to build the application.

 

Thanks,

Joy