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
0
votes
0 answers

Unable to display images into Gridview using Universal Image Loader?

I am trying to display images from sdcard and drawable inside gridview using the following code.But it doesn't works.It crashes in Galaxy Note due to Memory Error but displaying wrong images in emulator and also takes alot of time to display…
moDev
  • 5,248
  • 4
  • 33
  • 63
0
votes
1 answer

How to execute other threads from doinbackground()

I want to download multiple images using ImageLoader.loadImage which will launch multiple threads. Because they take a while to execute and i don't want to lock up the UI, i want to run them in the doInBackground() function of AsyncTask. However I…
Jake
  • 2,877
  • 8
  • 43
  • 62
0
votes
1 answer

Universal Image Loader fails when retrieving images served by Google Data Store

My GAE instance serves images stored in Google Data Store: def serveAvatarByName(request,username): entity_list = Entity.gql("WHERE username = :1", username) entity = entity_list.get() if entity: image_data = entity.image …
0
votes
1 answer

Universal image loader without sampling

I want the image from url as it is without being sampled, but while using nostra's universal image loader the image is getting sampled. How am I supposed to avoid this is there any option to be included for this?
user2041902
  • 593
  • 1
  • 6
  • 21
0
votes
1 answer

OUT OF MEMORY ERROR with "Android-Universal-Image-Loader"

I made gridview with Android-Universal-Image-Loader and, when I select a picture, it's goes on the imageview. when I select it first, it works fine. but the second one is crashed. (out of memory) I load over 1M size image (originally took by default…
Joseph
  • 55
  • 1
  • 3
  • 10
0
votes
2 answers

Universal Image Loader - Viewpager NullPointerException in imageloader.displayimage

I got NullPointerException in line 98 in pastie and equal to line 191 in my locate imageLoader.displayImage((String) myArr.get(position).get("image_url"), imageView, options, new SimpleImageLoadingListener()... all my url I store it in…
kongkea
  • 9,788
  • 12
  • 39
  • 49
0
votes
1 answer

Cache Strategy: If in LimitedAgeMemoryCache, load there, else load from web. Fall back to UnlimitedDiscCache on failure

Is it possible to do the above? My scenario is weather graphics with URLs that remain the same, while the underlying image actually changes. Here are the cases I want to cover: - Inside the same session of my app (typically 2-5min), I never want to…
RealCasually
  • 3,593
  • 3
  • 27
  • 34
0
votes
1 answer

ClassCastException when using a custom displayer

I'm trying to use UIL with gridview layout in my project. For testing purposes I have modified the code from your project itself. My requirement is to display a TransitionDrawable with the original bitmap as the base image in layer zero and a tick…
Vysakh Prem
  • 93
  • 1
  • 12
0
votes
1 answer

Android UniversalImageLoader loading smaller image when not on wireless

I'm loading a 95KB image, dimensions 1024x683 using Universal Image Loader. When I'm on wireless, the image loads just fine. However, if I turn off wireless and use the phone's network, it downloads the image at 305x203. This is my config: // setup…
Harry
  • 3,116
  • 2
  • 23
  • 20
0
votes
1 answer

Display image from url to gridview in fragments

extends SherlockFragment{ I am developing application using sherlock fragments and sliding menu., and in my first frament layout i have to show grid view with images from url., i have decided to use Universal Image Loader and I can get the json and…
0
votes
1 answer

Universal Image Loader and 302 redirects

Using UIL version 1.8.0 to load a twitter profile image url: http://api.twitter.com/1/users/profile_image/smashingmag.jpg?size=bigger with disc and memory cache. The images are failing to load and storing the html that comes along with the 302…
Zack Bartel
  • 3,703
  • 1
  • 18
  • 11
0
votes
1 answer

Grid view state not retained on restart of the Activity

I'm facing an issue of retaining the grid view state on orientation change. Initially, when the grid view is created only 9 images are loaded. As and when the user scrolls the grid view more images are added to the grid view and this works…
0
votes
1 answer

Android-Universal-Image-Loader ImagePager - How to avoid the activity back to first page when device rotated

The ImagePagerActivity show the page 1 (In scrollview) when i rotate the device. How to solve it? Thanks.
MagicR
  • 75
  • 6
0
votes
1 answer

Using UniversalImageLoader with widget's RemoteViewsFactory

I am using a RemoteViewsFactory to populate a listview in a widget. The widget contains a Images. What is the best approach to load the bitmaps and setImageView() on the remote view? Many thanks.
FlashAsh80
  • 1,357
  • 1
  • 16
  • 27
0
votes
1 answer

OutOfMemoryError while using Universal Image Loader in gridview

I have around 53 images to show in gridview from drwable. But i was getting oom while doing that. So i started using universal image loader to cache these images on to disc and pull it from there..! But i am still getting oom. Here is my…
Manoj
  • 2,799
  • 5
  • 30
  • 49