android camera changing sensor orientation?

by Lukasz Mosdorf » Fri, 13 Mar 2009 01:43:12 GMT

Sponsored Links
 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 be seen at camera-everything is OK).
Tried changing screen orientation parameters but they doesn 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


Also, in activities where camera is not used sensor orientation
doesn't change, so the problem is not necessarily in accesing sensor
Any suggestions?


Other Threads

1. Android security application developing in Boston

Hi all,

I am new to developing on the Android platform and I am here in
Boston, MA especially to develop an application on Android in the
security domain.
But there have been problems with the university we (my colleague and
me) should go to. Now we are looking for some places to go, where we
have the needed infrastructure to develop and some kind and motivating
persons. ;)


PS: I am sorry to post this message in this group, but I think there
could be some interested persons who are working in the area of Boston
and who have the needed "influence" to arrange us a place to develop
our app.



Is there a way to use a USB GPS instead of the built in simulated GPS?


3. Can Android be easily ported to ARM11 MPCore?

4. problem in adding animation to imageview

5. image database

6. Making a fullscreen video player

7. How use 'Logcat' view in Eclipse?