-2

I'm using UIL to load images from external URLs, it works fine in AVD.

imageLoader.init(ImageLoaderConfiguration.createDefault(mContext)); 
imageLoader.displayImage("http://proyectocupones.hol.es/fotos/discount.jpg", holder.image);

I check that the UIL lib is in "Java Build Path" and the internet permission in my AndroidManyfest:

 <uses-permission android:name="android.permission.INTERNET" />

Any idea where the error might be?

jmattheis
  • 10,494
  • 11
  • 46
  • 58
naxo
  • 153
  • 2
  • 2
  • 18

4 Answers4

1

I finally found the answer for myself:

Github

The error is solved just upgrading the UIL lib (Seems to be a bug of version 1.87)

thanks anyway!

naxo
  • 153
  • 2
  • 2
  • 18
0

I tried with the following way to set an image for the player and it worked. Try this way.

 ImageLoader.getInstance().displayImage("Image URL","thumbImageView");
Reaching-Out
  • 415
  • 6
  • 26
0

You could try to debug your Phone while connected on the PC and check the logcat to see what is the output and the problem.
Maybe you don't have enabled the internet on phone(?)

gmetax
  • 3,853
  • 2
  • 31
  • 45
0

Use Glide Instead Of UIL Library.

Ronak Gadhia
  • 524
  • 5
  • 12