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

Need add orientation for request camera #59

Open
tritueviet opened this issue Sep 14, 2018 · 0 comments
Open

Need add orientation for request camera #59

tritueviet opened this issue Sep 14, 2018 · 0 comments

Comments

@tritueviet
Copy link

When request camera capture, i need add

intent.putExtra(MediaStore.EXTRA_SCREEN_ORIENTATION,ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);

in the code
cameraPictureUrl = createImageUri();
pictureChooseIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
pictureChooseIntent.putExtra(MediaStore.EXTRA_OUTPUT, cameraPictureUrl);
chooseCode = TAKE_PHOTO;
break;

Plase add the option orientation for this case thank you very much!

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

1 participant