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 broadcast message or notification that I can register to get notified when a photo is taken from the camera even when my app is in background?
BTW: With still a lot of gingerbread phones around, the requirement is that it should work on 2.3.3 onwards.