Skip to content
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
..
Failed to load latest commit information.
.settings
arm
assets
src
translations
x86
.DS_Store
.cproject
.project
LICENSE
Makefile
SensorDemo.pro
SensorDemo.vcxproj
SensorDemo.vcxproj.filters
bar-descriptor.xml
config.pri
device-assets.xml
icon.png
readme.txt

readme.txt

SensorDemo

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

The Sensor Demo example is a collection of pages where each page demonstrate
how to retrieve and process data from a certain hardware sensor.

You will learn how to:
- Use the Compass element to read values from the hardware compass sensor
- Use the Accelerometer element to read values fr0m the hardware accelerometer sensor
- Use the Magnetometer element to read values from the hardware magnetometer sensor
- Use the AmbientLight sensor and Light sensor
- Read values from the Gyroscope sensor
- Use the Camera api to control the camera flash
- Read values from the IRProximity sensor
- Read values from the Proximity sensor
- Read values from the Rotation sensor
- Use animations on Controls
- Trigger C++ functions from QML
- Property binding
 
========================================================================
Requirements:

BlackBerry 10 Native SDK

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

1. Clone the Sample repository.
2. Launch BlackBerry 10 Native SDK, 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/native/documentation/getting_started/setting_up.html

Something went wrong with that request. Please try again.