Android Image Crop Uri Exception
问题 first up, I am using Xamarin, but the problem is the same on a native Java project. I was updating the SDK to 5.1 and encountered a strange error on code that worked fine before. imageStream = "file://" + imageStream; Mvx.Trace("path: " + imageStream); img = imageStream; try { Intent cropIntent = new Intent("com.android.camera.action.CROP"); // indicate image type and Uri var fileUri = Android.Net.Uri.Parse(imageStream); cropIntent.SetDataAndType(fileUri, "image/*"); // set crop properties