Save Imageview to SdCard

DimChrisDimChris USMember ✭✭✭

Here is a code of how can i save a txt file into my sd card. But how can i save an ImageView?

               var sdcardPath = Android.OS.Environment.ExternalStorageDirectory.Path;
        var filepath = System.IO.Path.Combine(sdcardPath, "text.txt");
        if (!System.IO.File.Exists(filepath))
        {
            using (System.IO.StreamWriter writer = new System.IO.StreamWriter(filepath, true))
            {
                writer.Write("test");
              }
Sign In or Register to comment.