how to append image with text from mysqldatabase in android
<p>here my Main.java code</p>

<pre><code>enter code here
JSONArray json = jArray.getJSONArray("names");
        list=(ListView)findViewById(R.id.list);
         adapter=new ImageAdapter(this, json);
         list.setAdapter(adapter);
here my imageadapter.java code
public class ImageAdapter extends BaseAdapter {
Bitmap bmp;
private static LayoutInflater inflater=null;
private ImageView[] mImages;
String[] itemimage;
 TextView[] tv;
String itemname;

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");
          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);
          mImages[i].setScaleType(ImageView.ScaleType.FIT_XY);
      }

      }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];


}

}
   Main.xml code
 &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 i can view the images in list view now i want add text view into the each image . also the image size should be reduce and get item name is besides the image view
can please any send the sample piece of code for me</p>
