Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Posts: 178
Registered: ‎04-16-2011
My Device: torch 9800
My Carrier: verizon

First time accessing an Accelerometer

Hi all,


I am wondering if anyone could assist me in working with an Accelerometer. I have attempted this twice before without asking for assistance, just reading the forums and documentation but never got anywhere.


How would you know if someone has tilted the device left, right and forward? What is the technique involved to get these 3 actions?


Code sample would be a massive help.



Posts: 425
Registered: ‎03-17-2011
My Device: Developer
My Carrier: Telus

Re: First time accessing an Accelerometer

There are a lot of good resources on blackberry page where you download the skk and simulator etc.




Scroll down until you find the link to the developers guide. This PDF contains a simple good example to start you on the way with using the accellerometer.

In the dark and need a sky map?
Discover What's up at App World.
Follow What's up on Facebook