私の問題は、JSON から読み取ったリストビューにイメージを表示することです。この問題に関する多くの投稿を読みましたが、誰も完全に解決しませんでした。URLを取得してString imagen = e.getString("img_preview_1");
から追加しました
HashMap<String, String> map = new HashMap<String, String>();
map.put("imagen", imagen);
これは、文字列と画像を含む私のアダプターです
ListAdapter adapter = new SimpleAdapter(this, mylist , R.layout.activity_videos_categoria,
new String[] { "title", "imagen" },
new int[] { R.id.from , R.id.imageView1});
setListAdapter(adapter);
Map asn Object のタイプを変更しようとしましたが、それでも同じ問題が発生しました
LogCat のエラーは、resolveUri が不正なビットマップで失敗したことです。
ありがとうございました