Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

This branch is 169 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
.settings
arm
x86
.cproject
.project
LICENSE
Makefile
NOTICE
bar-descriptor.xml
bbutil.c
bbutil.h
common.mk
icon.png
main.c
radio_btn_selected.png
radio_btn_unselected.png
readme.txt
shadow.png

readme.txt

GoodCitizen

========================================================================
Sample Description:
 
 The GoodCitizen sample is an application that is designed to introduce you to a number of 
 common development practices that you can use in your own applications. 
 	
 When you run the application, the application displays a spinning cube that you can change the 
 color of by selecting different menu options.
 
 Feature summary
 - Display a 3D cube that responds to a light source
 - Load textures and render text on the screen
 - Handle orientation changes and touch events
 - Display a menu on a swipe down gesture
 - Stop content from being rendered when the app is inactive
 - Save the application state on exit and reload at startup
 - Perform a clean termination


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

 - BlackBerry Native SDK for Tablet OS 1.0 or later
 - One of the following:
   - BlackBerry PlayBook tablet running BlackBerry Tablet OS 1.0 or later  
   - BlackBerry Tablet Simulator 1.0 or later
 
========================================================================
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.