[android-developers] Re: insert an image in a view at runtime

2010-03-09 Thread Paolo
I forgot... the image is .jpg -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: insert an image in a view at runtime

2010-03-09 Thread Paolo
I have done it, but it doesn't work. my bitmap is always NULL :( this is my code: private Bitmap getRemoteImage(URL url) { try { URLConnection conn = url.openConnection(); conn.connect(); BufferedInputStream bis = new

[android-developers] Re: insert an image in a view at runtime

2010-03-04 Thread Nithin
Convert the image from URL to Bitmap. Then use setImageBitmap(). On Mar 5, 4:41 am, Paolo brand...@gmail.com wrote: I have to insert, at runtime, an image in an ImageView. I haven't it in local, but i can get it from an URL. Anybody has an idea about how could I do itt? -- You received