Hi all,

I'm trying to use Camera preview in combination with Orientation
sensor. I got a serious problem with the sensor when using the
preview: values returned by the sensor are as (1.6893509E-9, -4.0,
0.0) instead of being in degrees (especially the former).

I tested that not creating the preview in which will reside the camera
output (class Preview extends SurfaceView implements
SurfaceHolder.Callback) , the sensor results are in range 0:360,
prefectly.

Is it possible that opening the camera could  generate errors in
sensor calculations ?

Does anyone has an idea ?


Thanx to anyone could help!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to