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

Media Plugin save photo in directory

$
0
0

Hi, I want to use the directory option in Media plugin to save the images I took with this plugin in a new directory,

var file = await CrossMedia.Current.TakePhotoAsync(new Plugin.Media.Abstractions.StoreCameraMediaOptions
{
Directory = "Monuments",
Name = "monument.jpg"
});

and I need to know the path where the image is going to be saved to save it in the database. I mean how can I later know the path of the photo saved ?


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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