Questions tagged [universal-image-loader]

Universal Image Loader is the open source library for Android which aims to provide a reusable instrument for asynchronous image loading, caching and displaying.

Project on GitHub

Features

  • Multithread image loading
  • Possibility of wide tuning ImageLoader's configuration (thread pool size, HTTP options, memory and disc cache, display image options, and others)
  • Possibility of image caching in memory and/or on device's file sysytem (or SD card)
  • Possibility to "listen" loading process
  • Possibility to customize every display image call with separated options
  • Widget support
865 questions
-1
votes
1 answer

universal image loader wrong thumbnail in listview

This question was asked here: Universal-Image-Loader: wrong Bitmaps are attached to ImageView I am using the the latest, 1.9.3. I implemented the solution by having this in my application class: @Override public void onCreate() { …
HukeLau_DABA
  • 2,384
  • 6
  • 33
  • 51
-1
votes
2 answers

Show drawable using Universal Image Loader

How can I show some drawable programmatically created using ImageLoader.displayImage()? According to documentation: String imageUri = "drawable://" + R.drawable.image; // from drawables (only images, non-9patch) This only works using resource…
user222
  • 191
  • 2
  • 17
-1
votes
2 answers

Universal-Image-Loader Loading images dynamically from API instead of Constants

I am new to Android. Can you give me a hand ? Thanks I download the sample project from https://github.com/nostra13/Android-Universal-Image-Loader What I Would like to do id to load all the images URLs from a API using Json. In my Json File It has…
Cho Hee
  • 165
  • 1
  • 11
-1
votes
1 answer

QuickBlox 1:1 Chat Sending Image

I want to send an image to a user. Am able to retrieve the image url. But when I append it to ImageView using the Universal Image Loader public void displayImage(String imageurl, ImageView img) { Log.d("Chat ImageUrl", imageurl); …
kubs
  • 117
  • 9
-1
votes
1 answer

My app crashes when scrolling a pop-up

I'm developing an android app that requires me to get some images from a server in order to display it in a scrollable pop-up once that pop-up is requested by the user, i'm trying to get all the images using universalImageLoader and storing them as…
MRefaat
  • 515
  • 2
  • 8
  • 22
-1
votes
2 answers

Android Universal Image Loader out of memory error

I am using universal image loader for loading images in grid view and loading preview of images, Out of memory Error issue is keeps on occurs. I have tried lot of methods changing configuration, display options. but no use. Please give right way to…
-1
votes
3 answers

null pointer exception while trying to add dynamic views to view flipper using universal image loader library android

I am trying to create a viewflipper with dynamic imageviews the src of the imageviews is coming from the sd card path.I want to load the images using Universal image loader library. I am getting null pointer exception when I am binding the image to…
SoSufi
  • 93
  • 1
  • 5
-1
votes
2 answers

Loading image from drawable or asset folder triggers java.lang.NullPointerException

Edit: I solved this updating the UIL library to 1.8.0, since the feature to add images from the asset folder was not available in earlier releases. I did miss that. I am displaying a list of images in a ListView using the Universal Image Loader…
Paranoid Android
  • 4,672
  • 11
  • 54
  • 73
-2
votes
1 answer

Why do I get this "Context = NullPointerException" error in my homework?

I am doing a tutorial for homework, which is to build an Instagram app. The tutorial is about two years old and I am having some problems with the coding. I am having the following error and am not sure why. java.lang.NullPointerException: Attempt…
-2
votes
1 answer

Get imageview from Adapter in Fragment

I have Image view list in adapter on click of image I show full screen image. Where I have one button outside of adapter in fragment. Now I want to get that image in fragment onClick of button to share that image. Below code this in adapter where…
-2
votes
4 answers

UIL load images in AVD from external urls but doesn't in device

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…
naxo
  • 153
  • 2
  • 2
  • 18
-2
votes
1 answer

Displaying thumbnails in android listview/recycleview

I'm showing a list of users in a recycleview/listview. Each item shows user image and other information. I'm having user image urls as ThumbNail : www.image_storage_server.com/thumbs/userid FullImage :…
Shree
  • 1,061
  • 3
  • 11
  • 25
-2
votes
6 answers

Parse JSON from URL and get the response image_url and open it using ImageLoader

I'm trying to parse a JSON result fetched from a URL in my Android app. I have tried a few examples on the Internet, but can't get it to work. My url is: http://a.nextput.com/api/single-offer/23/89533a6f4248873b08ce52ce680f29e7/a?aff_id={aff_id}. …
-2
votes
1 answer

OutOfMemoryError Universal Image Loader

I am getting OutOfMemoryError when trying to load more than 20 images private Bitmap getImage(String url) { ImageLoader imageLoader=ImageLoader.getInstance(); bitmap =imageLoader.loadImageSync(url); return bitmap; } 11-30…
-2
votes
1 answer

how to load images from links in json file to image view in listview cells

I am trying to display images in a listview from links in a json file, along with textviews,and then display them in a rounded shape. however the textviews show but not the images. This is a code snippet for what I tried for the images; public class…
droidnoob
  • 333
  • 5
  • 17
1 2 3
57
58