On my application I used universal image downloader BaseImageDownloader class for syncronious loading contents of gallery.For the same content from Imageloader.getInstance().loa
This is not a bug of UIL see here. According to this question you should load the image in internal storage on first loading and after that read the image from there.
I added permission to mainfest and it worked. But I dont know How UIL makes without that??
<uses-permission android:name="com.google.android.gallery3d.permission.GALLERY_PROVIDER"/>
Please add following permissoions to your mainfest.
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
Also Please have a look at
How to grant temporary access to custom content provider using FLAG_GRANT_READ_URI_PERMISSION