带有从XAMPP服务器上传的图像的GridView Gallery

时间:2012-10-09 08:52:35

标签: java android gridview xampp gallery

我必须在Android xml中使用来自XAMPP服务器的图像。

我有从文件上传的代码:

public class ImageAdapter extends BaseAdapter implements ListAdapter {

public static int[] images = {R.drawable.image1, R.drawable.image2,
                R.drawable.image3, R.drawable.image4,
                R.drawable.image5, R.drawable.image6,
                R.drawable.image7, R.drawable.image8,
                R.drawable.image9, R.drawable.image10,
                R.drawable.image11, R.drawable.image12,
                R.drawable.image13, R.drawable.image14};
private Context context;

public ImageAdapter (Context applicationContext)
{
    context = applicationContext;
}

0 个答案:

没有答案