how set Image height and width from server ?
<p>I can fetch the all the images from server database using json through url. i display all images in listview how can give images height and width</p>

<p>This is main.java</p>

<pre><code>    JSONArray json = jArray.getJSONArray("names");
list=(ListView)findViewById(R.id.list);// calls main.xml
    adapter=new ImageAdapter(this, json);
    list.setAdapter(adapter);
  Imageadapter.java
  public class ImageAdapter extends BaseAdapter {
Bitmap bmp;
private static LayoutInflater inflater = null;

private ImageView[] mImages;
String[] itemimage;
TextView[] tv;
String itemname;
HashMap&lt;String, String&gt; map = new HashMap&lt;String, String&gt;();

public ImageAdapter(Context context, JSONArray imageArrayJson) {
    this.mImages = new ImageView[imageArrayJson.length()];
    String qrimage;
    try {

        for (int i = 0; i &lt; imageArrayJson.length(); i++) {
            JSONObject image = imageArrayJson.getJSONObject(i);
            qrimage = image.getString("itemimage");
            itemname = image.getString("itemname");
            map.put("itemname", image.getString("itemname"));
            System.out.println(itemname);

            byte[] qrimageBytes = Base64.decode(qrimage.getBytes());

            bmp = BitmapFactory.decodeByteArray(qrimageBytes, 0,
                    qrimageBytes.length);
            mImages[i] = new ImageView(context);
            mImages[i].setImageBitmap(bmp);

        }

    } catch (Exception e) {
        // TODO: handle exception
    }
}

public int getCount() {
    return mImages.length;
}

public Object getItem(int position) {
    return position;
}

public long getItemId(int position) {
    return position;
}

public View getView(int position, View convertView, ViewGroup parent) {


    return mImages[position];

}
  }
 My xml view
&lt;?xml version="1.0" encoding="utf-8"?&gt;
 &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" &gt;

&lt;ListView
    android:id="@+id/list"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
     /&gt;


 &lt;/LinearLayout&gt;
</code></pre>

<p>The above code is display the images from server database to android to the list view.
How can i set height and width of those images ?</p>
