I'm using a photo picker intent to choose an image and write it to an
application-private file created via:

FileOutputStream fos = openFileOutput("temp.jpg",
Context.MODE_WORLD_WRITEABLE);
fos.close();
return getFileStreamPath("temp.jpg");
upon activity result, I set the ImageView's image URI to this file.

When it first completes, the ImageView changes to reflect this.
However, if I attempt to choose the image again (same activity), the
ImageView will not update until I exit and re-enter the activity. I'm
not sure why this happens, is it because I'm trying to write to the
temp.jpg everytime? Or do I need to refresh my layout somehow to
reflect changes in the ImageView?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to