i am facing a problem in my application, i am using this for the camera preview, but in the camera preview even the person standing vertically is appearing to stand horizontally... , it seems i am missing something in my preview
mSurfaceView = (SurfaceView)findViewById(R.id.surface);
mSurfaceHolder = mSurfaceView.getHolder();
mSurfaceHolder.addCallback(this);
mSurfaceHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
plz help me out , thanx