Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

I need to save ad in image in DCIM

Hi everyone,
i need to save a picture taken with crossMedia in DCIM not only in Picture folder, how can i do it?

Best Answer


  • Perfect this work for me using System.IO.File.Copy

    var directoryname = Path.Combine(Android.OS.Environment.ExternalStorageDirectory.AbsolutePath, "DCIM");
    string jpgFilename = Path.Combine(directoryname, picName);
    File.Copy(file.Path, jpgFilename, true);

    Thank you!

Sign In or Register to comment.