1

Image preview Upside Down In Reverse Landscape mode

view story
linux-howto

http://stackoverflow.com – I have a camera application.When i capture a picture, it takes "aActivity" activity to "bActivity". In "bActivity" there is a image view and show the image preview. But the image preview is upside down. I want to see the image correctly. Here is my code below: public class CustomCameraActivity extends Activity implements SurfaceHolder.Callback { Camera camera; SurfaceView surfaceView; SurfaceHolder surfaceHolder; boolean previewing = false; LayoutInflater controlInflater = null; Context context; ImageView imageView; private Sensor mOrientaion1; int cameraId = 0; public final String TAG = (HowTos)