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
Developer
Posts: 296
Registered: ‎12-07-2008
My Device: Not Specified

Accelerometer all over the place =/

Well I have an app that polls the accelerometer data and then I have it alert the screen using a dialog box. I would swipe the phone 10 times and come up with 10 totally different results. Is there way to make the results more predictiable. I mean the x would be 650 and then 100 and in some cases even more servere then that.
Developer
Posts: 170
Registered: ‎01-17-2009
My Device: 9630

Re: Accelerometer all over the place =/

What do you mean by swipe the phone 10 times? The accelerometer reads how the phone is being held... here is an example of an application using it: http://software.crackberry.com/product.asp?id=24716&n=Storm-Level-Pro-%28BlackBerry-Storm-Only%29

 

Sorry if you knew that, but by saying "swipe" I thought you meant you moved your finger across the screen...