Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
This is an Adobe Air Native Extension to access the gyroscope on the BlackBerry Playbook from an AIR application
C
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Gyroscope
.gitignore
README.md

README.md

Gyroscope-Air-Native-Extension-for-Blackberry

This is an Adobe Air Native Extension to access the gyroscope on the BlackBerry Playbook from an AIR application. This is meant to extend the Adobe Gyroscope ANE to support the BB Playbook:
http://www.adobe.com/devnet/air/native-extensions-for-air/extensions/gyroscope.html

Usage:
Get the compiled ANE from the Gyroscope/ANE directory.
The Gyroscope.ane file is compatible with BlackBerry Playbook, iOS and Android.
Use it as described in the Adobe link above.

To compile:
Get the source code and compile it with the BlackBerry Native SDK 2.0.0+
Get the Adobe files and add this into the extension.xml file:
<platform name="QNX-ARM">
<applicationDeployment>
<nativeLibrary>libGyroscope-arm.so</nativeLibrary>
<initializer>ExtensionInitializer</initializer>
<finalizer>ExtensionFinalizer</finalizer>
</applicationDeployment>
</platform>

You will have to package the ANE as described in the article above.

Something went wrong with that request. Please try again.