Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
..
Failed to load latest commit information.
.settings DialogSample changes to new build structure
assets DialogSample changes to new build structure
src changes to prevent app crashing with references to cascades::Applicat…
translations DialogSample changes to new build structure
.cproject DialogSample changes to new build structure
.project DialogSample changes to new build structure
DialogSample.pro DialogSample changes to new build structure
DialogSample.vcxproj Created projects for Visual Studio 2013
DialogSample.vcxproj.filters Created projects for Visual Studio 2013
LICENSE Adding and modifying license files to be correct
Makefile DialogSample changes to new build structure
README.md Fixed broken links in readme files.
bar-descriptor.xml DialogSample changes to new build structure
config.pri DialogSample changes to new build structure
device-assets.xml More KB Samples: CascadesBasicSample, CascadesOpenGL, DialogSample, F…
icon.png
precompiled.h DialogSample changes to new build structure
readme.txt changes for Beta 3

README.md

Dialogs

Display alert dialogs, prompt dialogs, login dialogs, file browse dialog file save dialog and context menu

Sample Description:

This sample demonstrates how to open various types of system dialogs provided by the BPS from Cascades.

Alert Dialogs show a title, message and buttons Prompt Dialogs show an input title and buttons Login Dialogs show a customizable login dialog File Browse Dialog and File Save Dialogs are now part of Filepicker Context Menu dialog shows how to display a context menu with buttons and icons

When a dialog is invoked it creates a thread and builds the dialog using the parameters set to the dialog object. The dialog will be displayed until the user clicks on a button.

Feature summary

  • Multiple dialogs

Requirements:

  • BlackBerry Native SDK for BlackBerry 10.0.9 or later
  • One of the following:
    • BlackBerry Alpha Device
    • BlackBerry Alpha Device 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.

Requirements:

BlackBerry 10 Native SDK Beta

Running the example:

  1. Download the sample from http://github.com/blackberry.
  2. Launch BlackBerry 10 Native SDK Beta, and from the File menu, select Import.
  3. Expand General, and select Existing Projects into Workspace. Click Next.
  4. Browse to the location where you extracted the sample file, and then click OK.
  5. The sample project should display in the the Projects section. Click Finish to import the project into your workspace.
  6. In the Project Explorer pane, Right-click the the project (for example hellocascades) and select Build Project.
  7. In the Project Explorer pane, Right-click the the project (for example hellocascades) and select Run As > BlackBerry C/C++ Application.
  8. The application will now install and launch on your device. If not, you might have to set up your environment: http://developer.blackberry.com/native/documentation/getting_started/setting_up.html

    Disclaimer THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Something went wrong with that request. Please try again.