xamarin.forms - Save image to gallery in xamarin forms -
i new xamarin. want build xamarin forms application take picture , save in gallery. built app take photo , display using following article.
https://xamarinhelp.com/use-camera-take-photo-xamarin-forms/
but don't know how save image in gallery in xamarin forms.can me save image using dependency service in xamarin forms?
the article shared uses mediaplugin
jamesmontemagno. has own comprehensive getting-started docs, recommend go through.
in order save picture gallery, can use savetoalbum
in storecameramediaoptions
.
var photo = await crossmedia.current.takephotoasync( new storecameramediaoptions { savetoalbum = true });
Comments
Post a Comment