I have a app
in android
showing images with this plugin . The problem is that I have added a .htpasswd
to protect the images and now it does not show them to me, I have added to the url
the parameters user:password@
but now I get an error in the console:
java.io.FileNotFoundException:
The code I use is the following:
imageLoader.displayImage(tempValues.getImagen(), holder.imagen, options, new SimpleImageLoadingListener() {
@Override
public void onLoadingComplete(String imageUri, View view, Bitmap loadedImage) {
}
});
ImageLoader imageLoader = ImageLoader.getInstance(); // Get singleton instance
DisplayImageOptions options = new DisplayImageOptions.Builder()
.delayBeforeLoading(10)
.cacheOnDisk(true)
.cacheInMemory(true)
.build();
Is there any way to add the user and password in the options of the imageLoader?