More precision from orientation sensor

Put your problem here if it does not fit any of the other categories.

More precision from orientation sensor

Postby slebed » Sat Jul 25, 2009 10:30 pm

I've just started writing my first Android app and its my first time learning java.


I'd like to know if its possible to read higher precision data from the orientation sensor?

I've declared float variables for everything and I'm using sensorManager.DATA_X. So far its outputting whole numbers only. I'd like to get data accurate to at least 2 decimal points possible. I tried using RAW_DATA_X, but its crashing my app.

Any help would be appreciated!
slebed
Freshman
Freshman
 
Posts: 9
Joined: Sat Jul 11, 2009 10:22 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 25 guests