[android-developers] Re: Image display from a url

2009-06-19 Thread Nithin Varamballi
hi... I did like this.. This may help you public class demo extends Activity { /** Called when the activity is first created. */ ImageView i1; public int position=0; private String[] myRemoteImages = { http://www.cssnz.org/flower.jpg}; @Override

[android-developers] Re: Image display from a url

2009-06-18 Thread Sujay Krishna Suresh
is the uri a content scheme or a http? On Thu, Jun 18, 2009 at 3:23 AM, Aayush aayush.g...@gmail.com wrote: HI, I want to display an image from a url, for this I defined the ImageView first as, ImageView android:id=@+id/imagename android:layout_width=wrap_content

[android-developers] Re: Image display from a url

2009-06-18 Thread manoj
Hi ayush, see the below code, it might help you URL aURL = null; try { aURL = new URL(imgUrl); } catch (MalformedURLException e1)