HTTPS clone URL
Subversion checkout URL
Fetching latest commit...
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
Basic user input - Display a dialog ======================================================================== Sample Description: The Dialog Sample is an application that is designed to show you how to display a dialog in your application. This sample uses the dialog service, which is a service in the BlackBerry Platform Services library. You can use the dialog service to create various dialogs and set the properties for these dialogs, such as title, message, available buttons, and so on. You can also use this service to retrieve information about the dialog button that a user pressed. When you run the application, it starts with an alert dialog already present. After you have closed the alert dialog, you can later display another alert dialog by swiping down from the top of the screen. An alert dialog is a simple dialog that contains a title, message, and buttons. Feature summary: - Handling dialog events - Creating and displaying a dialog - Setting the properties of a dialog - Retrieving user input information from a dialog ======================================================================== Requirements: - BlackBerry® 10 Native SDK - One of the following: - BlackBerry® 10 device - BlackBerry® 10 simulator ======================================================================== Importing a project into the Native SDK: 1. From the the Sample apps page, download and extract the sample application. 2. Launch the Native SDK. 3. On the File menu, click Import. 4. Expand General, and select Existing Projects into Workspace. Click Next. 5. Browse to the location where you extracted the sample app, and click OK. The sample project should display in the the Projects section. 6. Click Finish to import the project into your workspace.