Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Saving Images using Xamarin Forums

$
0
0

Hey Xamarin,

I have been searching through the forums, there were some questions but no answers.

How do I save an image using Xamarin Forums, is this feature enabled?

async Task DoTakePhoto ()
{
            this.mediaPicker = DependencyService.Get<IMediaPicker>();
            var media = await this.mediaPicker.TakePhotoAsync( new CameraMediaStorageOptions { DefaultCamera = CameraDevice.Rear, MaxPixelDimension = 900 } );
            image.Source = ImageSource.FromStream(() => media.Source );
        }

Currently using this code to get the image. However I do not see a save option. I am using the Xamarin Forums Labs and the IMediaPicker. Does the saving need to be handled custom on iOS and Android separately?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>