Skip to content Skip to sidebar Skip to footer

Android:list View With Thumbnail

I need to create the list view of video's with it thumbnail images.The image name come from the database.I can give value to textview but when try to give value to image view it cr

Solution 1:

Okay ... treading lightly here, but this sounds exactly like the problem my buddy had when trying to display the thumbnails for his videos app ...

Here's an Encode/Decode tutorial for base64

And just for reference; here's the link to his app in the market (300,000+ downloads): Video Player

Solution 2:

Try this where

 String urldisplay=img_value.toString();
 InputStreamin=newjava.net.URL(urldisplay).openStream();
 mIcon11 = BitmapFactory.decodeStream(newPatchInputStream(in));
 mIcon11=ImageHelper.getRoundedCornerBitmap(mIcon11,30);
 holder.icon.setImageBitmap(mIcon11);

Post a Comment for "Android:list View With Thumbnail"