is the uri a content scheme or a http?

On Thu, Jun 18, 2009 at 3:23 AM, Aayush <[email protected]> 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:layout_height="wrap_content"
>   />
>
> then in the activity,
>
> super.onCreate(savedInstanceState);
> setContentView(R.layout.main);
> ImageView imgV = (ImageView)findViewById(R.id.imagename);
>
>
> Now how should I supply the url of the image from where it should
> fetch the image ever time. I have seen the function setImageURI but it
> is not clear how to give the uri. Any clues?
>
>
>
>
>
>
> >
>


-- 
Regards,
Sujay
George Carlin<http://www.brainyquote.com/quotes/authors/g/george_carlin.html>
- "Electricity is really just organized lightning."

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to