Unable To Decode Stream: Filenotfoundexception When Trying To Show An Image From Url
this is my code  {     @SuppressLint('NewApi')      public static Bitmap getbmp(String src)     {         Bitmap bm = null;         try ( InputStream is = new URL( src ).openStream
Solution 1:
Try this:
bm = BitmapFactory.decodeStream((InputStream) new URL(src).getContent());
Post a Comment for "Unable To Decode Stream: Filenotfoundexception When Trying To Show An Image From Url"