In my database I have a row that store links from images from the internet. In the code below, I have taken the name and put in a ListView for each row. Now the KEY_LINK hold the links of the images, how I convert this array to a Bitmap and the change for each KEY_NAME in the ListView?
@SuppressWarnings("deprecation")
private void populate(){
Cursor cursor = entry.getAllRows();
String[] from = new String[] {SQLHelper.KEY_NAME, SQLHelper.KEY_LINK};
int[] to = new int[] {R.id.textView1, R.id.textView2};
SimpleCursorAdapter nameAdapter;
nameAdapter = new SimpleCursorAdapter(getBaseContext(), R.layout.item_list, cursor, from, to);
ListView mylist = (ListView)findViewById(R.id.listView1);
mylist.setAdapter(nameAdapter);
}