Hello i try to show the picture from the iginition support sample in an ImageView,
but cant get this working.. i am not sure why..?
image = (ImageView)findViewById(R.id.imageView1);
HttpResponseCache cache = http.getResponseCache();
if (cache != null) {
List<File> cachedFiles = cache.getCachedFiles();
for (File file : cachedFiles) {
Bitmap myB = BitmapFactory.decodeFile(file.getAbsolutePath());
image.setImageBitmap(myBitmap);
}
}
The problem is, that my BitmapFactory gives back: null
What is wrong in my code??
Hello i try to show the picture from the iginition support sample in an ImageView,
but cant get this working.. i am not sure why..?
The problem is, that my BitmapFactory gives back: null
What is wrong in my code??