Certify and Increase Opportunity.
Be
Govt. Certified Blackberry Apps Developer
Dialog
The Dialog object contains functions for manipulating system dialog boxes.

The functionality in this object allows you to integrate standard system dialog boxes into your BlackBerry WebWorks Application and control your application flow based on user responses.
Supported Platform(s)
– BlackBerry OS 5.0+ |
– BlackBerry PlayBook 1.0+ |
– BlackBerry 10 |
– Ripple Emulator |
View Supported Platform Table
Configuration Document Settings
To use all of the API described for this object, you must ensure the following settings are in your configuration document: |
You must declare the feature element(s) below in your configuration document: |
Feature ID |
BB5.0 |
BB6.0 |
BB7.0 |
PB1.0 |
PB2.0 |
BB10 |
Ripple |
<feature id=”blackberry.ui.dialog” /> |
Y |
Y |
Y |
Y |
Y |
Y |
Y |
Permission Elements (PlayBook and BlackBerry 10+) |
This API does not require a <permission> element to be declared in the configuration document of your BlackBerry WebWorks Application. |
Functions
void |
blackberry.ui.dialog.colorPickerAsync |
Number |
blackberry.ui.dialog.customAsk ** |
void |
blackberry.ui.dialog.customAskAsync |
void |
blackberry.ui.dialog.dateTimeAsync |
void |
blackberry.ui.dialog.selectAsync |
Number |
blackberry.ui.dialog.standardAsk ** |
void |
blackberry.ui.dialog.standardAskAsync |
void |
blackberry.ui.dialog.standardAskAsync |
Constants
Number |
D_OK |
Number |
D_SAVE |
Number |
D_DELETE |
Number |
D_YES_NO |
Number |
D_OK_CANCEL |
Number |
D_PROMPT |
Number |
C_CANCEL |
Number |
C_OK |
Number |
C_SAVE |
Number |
C_DISCARD |
Number |
C_DELETE |
Number |
C_YES |
Number |
C_NO |
String |
BOTTOM |
String |
CENTER |
String |
TOP |
String |
SIZE_FULL |
String |
SIZE_LARGE |
String |
SIZE_MEDIUM |
void |
SIZE_SMALL |
String |
SIZE_TALL |
** Marked for Deprecation