This repository has been archived by the owner on Sep 4, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 233
/
readme.txt
42 lines (33 loc) · 1.76 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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.