How to set Image to the ImageView dynamically

by murali » Thu, 07 Jan 2010 13:36:17 GMT

Sponsored Links
 hi friends ,
I am facing problem that whenever i am setting the image to a
ImageView dynamically from a file path(not from the Res,drawable),by
using SetImageURI(uri),i am getting one error like
resolve uri failed on bad bitmap uri
so how can i get the image from a file path by using this setImageURI
Thanks and Regards
Murali dhuli

Other Threads

1. Micro2440 7" LCD ARM and Android problem

hi everyone i have micro2440 board. I cant install android on this
i see  this error on os startup

failed to get memory region resouce
s3c2410-iis: probe of s3c2410-iis.0 failed with error -2
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
s3c2410-rtc s3c2410-rtc: setting system clock to 2010-02-14 23:03:34
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
yaffs: auto selecting yaffs2
yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs filesystem).
Freeing init memory: 116K
Warning: unable to open an initial console.

how can i fix it ?

thanks a lot.



2. Images in listview

I have listview with about a hundred rows. Each row has an imageview
and two textviews. Images are set dynamically from the BaseAdapter
derived class' getView method.

The problem is that if I scroll the listview the images get messed up,
wrong images are displayed for wrong items. And the faster I scroll
the more images are messed up. I do not have any problems with text. I
tried caching images in holder class, in a separate array, it does not


3. Listview widget example

4. where can I download the driver for nexus one?

5. where can I download the driver for nexus one?

6. Adhoc net connection over Wi-Fi