我有一台服务器向我发送图像并将其存储到SD卡中,而不是我想要将其显示在显示该图像的自定义列表视图中。这该怎么做?
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Bitmap bitmap = BitmapFactory.decodeFile("/sdcard/Pictures/logo.jpg");
ImageView myImageView = (ImageView)findViewById(R.id.icon);
myImageView.setImageBitmap(bitmap);
setListAdapter(new ArrayAdapter<String>(this,
R.layout.messagelist, R.id.weekofday, DayOfWeek));
}