Simple-Camera icon indicating copy to clipboard operation
Simple-Camera copied to clipboard

Landscape mode not fuctioning properly

Open puppykickr opened this issue 6 years ago • 4 comments

When I use portrait mode, it seems fine, but when I go into landscape, the viewfinder view is still vertical, although the camera view is now horizontal.

puppykickr avatar Jul 01 '19 20:07 puppykickr

Hi bro,I found the same question,have you solve this problem? could you give me some suggestions ,thanks

kllkko avatar Feb 12 '20 08:02 kllkko

@kllkko Not yet. There are many apps in the Simple Mobile Tools collection, and some have been keeping the dev busy.

puppykickr avatar Feb 13 '20 14:02 puppykickr

Thanks a lot,I have solved it,just modify one line code in setupCameraOutput() in CameraPreview.kt , then it will be working

mActivity.runOnUiThread { //mTextureView.setAspectRatio(mPreviewSize!!.height, mPreviewSize!!.width) mTextureView.setAspectRatio(mPreviewSize!!.width, mPreviewSize!!.height) }

kllkko avatar Feb 18 '20 01:02 kllkko

Umm, no. Thats not how it works.

tibbi avatar Feb 18 '20 08:02 tibbi

camera has been rewritten from scratch in 5.4.0, so Im closing this

tibbi avatar Oct 15 '22 18:10 tibbi