You save your picture in your asset or drawable folder and show them via
Drawable:
ImageView iv = new ImageView(this); // (ImageView) findViewById(R.drawable.imageview);
iv.setImageResource( R.drawable.picture );
Assets:
try
{
// get input stream
InputStream ims = getAssets().open("avatar.jpg");
// load image as Drawable
Drawable d = Drawable.createFromStream(ims, null);
// set image to ImageView
iv.setImageDrawable(d);
}
catch(IOException ex)
{
ex.printStackTrace();
}
In your case maybe save the resource id in your "Frage" object and give it your imageviee.
Frage f6 = new Frage(7, "Welche Notrufnummer hat die Rettung in Österreich?",
"166", "144", "110", "144", "bronze",R.drawable.austria_emergency_call);
besten Gruß