Android Xamarin - retrieve the image stored in an imageview
问题 I retrieve an image as a byte arrary stored in a database convert it to a bitmap and display it in an Imageview. I want to be able to retrieve that image from the Imageview and store it back to the database. My database retrieval code is: TheService myService = new TheService.DataInterface(); DataSet MyPhoto = myService.GetPhoto(id); byte[] imageBytes = (byte[])MyPhoto.Tables[0].Rows[0][0]; Bitmap bitmap = BitmapFactory.DecodeByteArray(imageBytes, 0, imageBytes.Length); imageview