How to get notified when camera captures a photo

view story

http://stackoverflow.com – In my app, I have to show the photos captured in a grid view and let user choose the one that they want to mess with. I am querying MediaStore.Images.Thumbnails to get the list of thumbnails to display. The app works fine --well most of the time. However, when the user puts the app in the background and takes photo and launches the app again, it does not display the new photo. The reason is that I am not reloading the thumbnails onResume of my activity. I do not want to refresh every time onResume because, most of the time it is unnecessary query to file system. My question is, is there a br (HowTos)