The easiest way to download image from URL is to use
main.xml:
method Drawable.createFromStream
:main.xml:
<linearlayout android:id="@+id/LinearLayout01" android:layout_height="fill_parent" android:layout_width="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android"> <imageview android:id="@+id/ImageView1" android:layout_height="wrap_content" android:layout_width="wrap_content"> </imageview></linearlayout>