Skip to content
This repository
tree: 9e671a67c1

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 sensor events
 - Rendering objects on the screen


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