I have an issue when converting a string URL to bitmap.
"Cannot convert from Java.IO.FileInputStream to System.IO.Stream"
Is There a solution to fix this? or how can I convert imgUrl to Bitmap so I need to upload it to firebase storage?
public static Bitmap GetBitmap(string imgUrl) { File imageFile = new File(imgUrl); FileInputStream fs = null; Bitmap bm = null; fs = new FileInputStream(imgUrl); bm = BitmapFactory.DecodeStream(fs); return bm; }
System.IO.FileStream(viaFile.OpenRead) instead of the Java framework...