SD 카드에서 이미지를 사용하여 어떻게 할 수 있습니까?SD 카드 이미지를 ListView로 읽어들입니다.
ArrayList<HashMap<String, String>> menuItems = new ArrayList<HashMap<String, String>>();
HashMap<String, String> map = new HashMap<String, String>();
map.put("KEY_IMAGE", Integer.toString(R.drawable.a)); //change to SD card
map.put("KEY_LINK", "link");
map.put("KEY_NAME", "name");
menuItems.add(map);
String[] from = { "KEY_IMAGE", "KEY_NAME", "KEY_LINK" };
int[] to = {R.id.imageView_cell, R.id.list_headline,R.id.list_info };
SimpleAdapter adapter = new SimpleAdapter(getApplicationContext(), menuItems, R.layout.list_view,from, to);
listview.setAdapter(adapter);