Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

camera orientation problem #16

Open
alphapersian opened this issue Feb 15, 2018 · 2 comments
Open

camera orientation problem #16

alphapersian opened this issue Feb 15, 2018 · 2 comments

Comments

@alphapersian
Copy link

hello i have a problem with camera orientation . i saw your application , it looks you have the same problem in your app ;
i was wondering if there is a solution for that ??

@tamas-jaray
Copy link

I just cloned the application myself. The orientation problem is due to the camera sensor being rotated I guess. I have found only 1 solution so far: you gotta set the activity to be in landscape mode, so you can have a frame that has the right rotation. This doesnt solve the whole problem, but if portrait mode is needed, that is the quickest solution. Btw on my brother's Nexus 5X the camera frame wasn't rotated at all, it worked like it should.

@alphapersian
Copy link
Author

thanks for your quick reply , i have nexus 5X too , i have the problem , i tried your solution too , it is not working as it should be .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants