Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Pull request Compare This branch is 2 commits ahead, 31 commits behind 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
dialogutil.c
dialogutil.h
icon.png
main.c
manifest.properties
readme.txt

readme.txt

Accelerometer

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

 The Accelerometer sample is an application that is designed to show you how to
 handle updates from the accelerometer sensor

 When you run the application, the value of the pitch and roll of the device is
 printed to the console, and updated every 25 milliseconds.

 Feature summary:
 - Handling navigator events
 - Handling accelerometer updates

========================================================================
Requirements:

 - BlackBerry® 10 Native SDK
 - BlackBerry® 10 device

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