Wish Android-Universal-Image-Loader library

Rorry

Member
Licensed User
Longtime User
Hello martin! thanks for your reply

yes i do,i use it! and its a very good library ;)

but it's better i explain why i'm looking for another one:

in my app,i download 20 small images (about 50kb each) to show them imageviews or in a coverflow.

with httputils/httputils2/imagedownloader :
with the good example of erel in flickrview wich use httputils/httputils2/imagedownloader... downloading is done very fastly
but i get errors with few images,randomly but it happen always with the same ones. the error occurs only when i try to load them in an imageview. (i dont know if files are corrupted while downloading!)
and i always wait for the the job success before using the images but...

i love picasso,it never happen any errors,simple to use,...
but the weakness of this lib to me is the speed! i say "to me" because maybe i use it in a wrong way!
anyway,this lib needs between 25s and 1min to do the job instead httputils/httputils2/imagedownloader wich need less than 5s :eek:

i try to catch the error but it looks too deep for me to catch it to program an action in the case of error.

look at this capture,i get always "error loading bitmap" and always fine with picasso with these same images
capture.gif

:mad:

so android-universal-image-loader lib looks to be a very good one.

thank you and thanks to anybody who can help ;)
 

Rorry

Member
Licensed User
Longtime User
Thank you erel for replying.

i agree, to me its sure that if Job.Success is True then the file was downloaded successfully. but my doubt started since i had no errors when i gave a try with picasso and the same images.

anyway,i keep going my investigations...

i go back to the main subject of this thread. i tried to convert this "universal image loader" library to add it for B4A users and use it myself but i'm lost,dont know what i do wrong,i can't if someone feel to do that and explain the steps also,it should be nice.

because i look for help in the forum to increase my skills and not let doing the job by someone else. lol

cheers
 

warwound

Expert
Licensed User
Longtime User
Would you like to have a look at the b4a Picasso source project (an Eclipse project)?
It might give you some ideas on how to make your own library?

Martin.
 

Rorry

Member
Licensed User
Longtime User
Hello martin.

sure,if you think this can help me or someone else to understand how to do it. ;)

thanks
 

Rorry

Member
Licensed User
Longtime User
I forgot!

i did a try with "DownloadService"! i can download the images one after one,and so far so good!

no errors when i use "loadbitmap" to display it.

it takes about 10s to download and display.
 
Top