i have an app widget, which contains only one imageview. i redraw that image and store it as png in apps\'s private memory and then i set the RemoteViews\' image with the ur
I hope this helps anyone else. I was trying to use that method in a remove list view but it never worked. But using bitmaps worked for me. I was able to update pictures in any of the records and they were updating and there was no caching. This is the static method I used.
public static Bitmap getBitmap( String imageLocation ) {
BitmapFactory.Options options = new BitmapFactory.Options();
options.inPreferredConfig = Bitmap.Config.ARGB_8888;
return BitmapFactory.decodeFile(imageLocation, options);
}
then
bitmap = BitmapUtils.getBitmap( address.getPhotoLocation() );
row.setImageViewBitmap( R.id.row_image, bitmap );