Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

42 lines (32 sloc) 1.797 kB
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, you can display an 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 Native SDK for Tablet OS 1.0 or later
- One of the following:
- BlackBerry PlayBook tablet running BlackBerry Tablet OS 1.0 or later
- BlackBerry Tablet Simulator 1.0 or later
========================================================================
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.
Jump to Line
Something went wrong with that request. Please try again.