Welcome!

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

Java Development

Reply
Contributor
Posts: 21
Registered: ‎02-21-2012
My Device: Blackberry 8520
My Carrier: T-Mobile

Blackberry accelerometer implementation

Hi friends, I would like implement accelorometer in my application, i know it can be done by accelorometer listener, but i would like to perform an action with 2 shake of the device, how can i do this? but now i can perform some action just by a simple movement of the device(simple 1 shake).so plz him me friends......
Contributor
Posts: 21
Registered: ‎02-21-2012
My Device: Blackberry 8520
My Carrier: T-Mobile

Re: Blackberry accelerometer implementation

plz help, friends very much important 4 my project work................
Highlighted
Developer
Developer
Posts: 1,123
Registered: ‎02-10-2009
My Device: 8130 / 8350 / 9530 / 9550 / 9850 / PlayBook
My Carrier: Verizon

Re: Blackberry accelerometer implementation

You'll have to get the raw data and monitor the shakes yourself......how you detect the shaking is up to you (speed of change, magnitude, number of axiis, etc)