BitmapFactory works perfectly on .png image but returns null when I load jpeg image from url.
BitmapFactory.decodeStream( (InputStream) new URL(URL).getContent(), null, options);
I use this code but when I provide a jpeg image url it returns null.
What should I do?
try this way may it works it works for me for .jpg image
LoadImage method