Hi all I am developing an application which uses a live camera preview. At the same activity I am using camera preview and sensors (accelerometers). After this activity is closed and entered again the sensors are flipped. It looks like the screen orientation changes(but it can’t be seen at camera-everything is OK). Tried changing screen orientation parameters but they doesn’t seem to work on the camera preview(known issue as far as I am concerned…). I have already spent some time trying to find where the problem is and I am stuck. I unregister the sensor listener when the activity is closed:
mSensorManager.unregisterListener(sensorsListener); Also, in activities where camera is not used sensor orientation doesn't change, so the problem is not necessarily in accesing sensor data. Any suggestions? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

