siralam / BSImagePicker

An image picker that extends BottomSheetDialogFragment. Camera and gallery all in one dialog. Single or Multi Selection.
202 stars 61 forks source link

[Question] Set default front/back camera #34

Closed gj-loitp closed 4 years ago

gj-loitp commented 5 years ago

Hello @siralam

Thanks for nice picker, but I have a question. How i can set default camera is front or back when user touch the camera tile? Thank you.

siralam commented 5 years ago

That's a valid and good request, I will add it in the next version. Thanks!

ikakus commented 5 years ago

Can I take this one?

ikakus commented 5 years ago

I did a bit of googling, and it seems that there is no reliable way of opening the front camera via intent.

siralam commented 4 years ago

ikakus is right. I tried some solution from StackOverflow but it doesn't work on my phone.

I have added it anyway in 1.3.2.