Thanks, your blog posts are very helpful on constructing more elaborate
lists.
I'm still in the dark, however, about fetching images - they're .png files
fetched via URL and I plan to cache them.  I could put them on the SD card,
or in the database.  They are, hopefully, thumbnails of the appropriate
size, but I may need to shrink them 10% or so.  Is there a standard paradigm
for doing this?  All the image manipulation code I've seen so far refers to
images already on the platform, e.g., R.drawable.image3, but I've seen
nothing about converting a data stream into an icon.

Thanks again,
Joe

On Wed, Mar 4, 2009 at 11:48 AM, Mark Murphy <[email protected]>wrote:

>
> Joe wrote:
> > 1.  How to go about fetching the image from the URL
>
> That depends on lots and lots of factors, such as:
>
> -- Do you need to save the images to the SD card as a cache or for later
> use?
>
> -- Do the images need to be converted to thumbnails?
>
> -- How many of these things are we talking about?
>
> Lots of images that are not already thumbnailed means lots of RAM and
> lots of storage and lots of bandwidth, which means lots and lots of pain
> and suffering.
>
> > 2.  How to get the image into a List next to some text
>
> I have several blog posts on this topic over at AndroidGuys.com:
>
> http://androidguys.com/?s=fancy+listviews
>
> In particular, you need to be very careful about recycling the list
> rows, so you do not wind up re-fetching the images all the time.
>
> Note that some of these posts are from last summer and the M5 SDK, so
> they may require some tweaks to work with the 1.1 SDK. Also, forgive the
> formatting, as AndroidGuys moved to a new host and so some of my old
> postings are a bit messed up.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com
>
> Android Training on the Ranch! -- Mar 16-20, 2009
> http://www.bignerdranch.com/schedule.shtml
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to