Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 60ec442ecf
Fetching contributors…

Cannot retrieve contributors at this time

file 34 lines (27 sloc) 1.504 kb
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
Battery

========================================================================
Sample Description.

A radio group and an battery image are the only things you need to build a simple battery state display app. In this sample, a radio group and an image are used to display and describe the different battery states.

You will learn how to:
- Dynamically change images
- Trigger C++ functions from QML
- Use a StackLayout
- Property binding
 
========================================================================
Requirements:

BlackBerry 10 Native SDK Beta 3

========================================================================
Running the example:

1. Clone the Sample repository.
2. Launch BlackBerry 10 Native SDK Beta 3, and from the File menu, select Import.
3. Expand General, and select Existing Projects into Workspace. Click Next.
4. Browse to the location of your sample directory, and then click OK.
5. The sample project should display in the Projects section.
   Click Finish to import the project into your workspace.
6. In the Project Explorer pane, Right-click the project (for example hellocascades)
   and select Build Project.
7. In the Project Explorer pane, Right-click 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/cascades/documentation/getting_started/setting_up.html
Something went wrong with that request. Please try again.