Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

This branch is 1 commit ahead, 67 commits behind blackberry:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
arm
x86
.cproject
.project
LICENSE
Makefile
NOTICE
bar-descriptor.xml
common.mk
icon.png
main.c
manifest.properties
readme.txt

readme.txt

Basic user input - Display a progress toast

========================================================================
Sample Description:

 The ProgressToast Sample is an application that is designed to show you how to
 display a progress toast 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 progress toast already present.
 After you have closed the progress toast or if it closes after a timeout, you
 can later display another progress toast by swiping down from the top of the
 screen. Swiping down also increases the progress level of the progress toast.
 Swiping down to increase the progress level will work while the dialog is still
 showing.

 Feature summary
 - Handling dialog events
 - Creating, displaying and updating a toast
 - Setting the properties of a toast

========================================================================
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.

Something went wrong with that request. Please try again.