Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: BB_10.0.07

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
bbutil.c
bbutil.h
common.mk
icon.png
main.c
manifest.properties
readme.txt
sample-splashscreen-landscape.png
sample-splashscreen-portrait.png

readme.txt

FallingBlocks

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

 The Falling Blocks example is a simple application that displays moving colored
 blocks on the screen.  The blocks always move towards the side of the device
 that is angled down, and once they reach the edge of the screen, they wrap
 around and start again from the opposite edge. As you rotate or turn the
 device, the blocks change direction to reflect the new orientation.

 Each time you tap the screen, a new block is rendered in the location that you
 touched, which then starts moving along with the rest of the blocks.

 Feature summary
 - Handling screen, navigator, and accelerometer events
 - Rendering objects on the screen

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