Camera Preview On Android - Strange Lines On 1.5 Version Of Sdk
I am developing the camera module for an android application. In main application when user clicks on 'take picture' button, new view with SurfaceView control is opened and camera
Solution 1:
Apparently this is hero bug, in function surfaceChanged switch width and height parameters:
if (getResources().getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT)
{
parameters.setPreviewSize(h, w); //instead of w,h
}
Post a Comment for "Camera Preview On Android - Strange Lines On 1.5 Version Of Sdk"