Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

MvvmCross.Plugin.PictureChooser open Front/Back camera flag #146

Open
Chico741 opened this issue Nov 10, 2016 · 5 comments
Open

MvvmCross.Plugin.PictureChooser open Front/Back camera flag #146

Chico741 opened this issue Nov 10, 2016 · 5 comments
Labels

Comments

@Chico741
Copy link

Would it be possible to add a flag to

void ChooseOrTakePicture (int maxPixelDimension, int percentQuality, Action<Stream, string> pictureAvailable, Action assumeCancelled);

which control whether the front or back camera will be opened?

Version: 4.3

Platform: iOS/Android

@Chico741 Chico741 changed the title MvvmCross.Plugin.PictureChooser MvvmCross.Plugin.PictureChooser open Front/Back camera flag Nov 10, 2016
@Cheesebaron
Copy link
Member

I am not sure if the Intent for Android supports picking which camera to grab from.

It seems UIImagePickerController does support it.

@Cheesebaron
Copy link
Member

This could work for Android: http://stackoverflow.com/a/40175503/368379 needs testing.

@Chico741
Copy link
Author

Any news about it? :)

@Cheesebaron
Copy link
Member

I'll have a look tonight :)

@Cheesebaron
Copy link
Member

Those extras from the SO answer I found don't seem to work. I've looked around in various open source camera apps and none of them seem to respect these extras :-/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

2 participants