When the user downloads a new image or captures one using the camera, the gallery app will get updated to show the new images.
I need to be notified
i think you can acheive this using the FileObserver .
as mentioned in the documentation :
Monitors files to fire an event after files are accessed or changed by by any process on the device . Each FileObserver instance monitors a single file or directory. If a directory is monitored, events will be triggered for all files and subdirectories inside the monitored directory.
but you have to keep in mind :
If a FileObserver is garbage collected, it will stop sending events. To ensure you keep receiving events, you must keep a reference to the FileObserver instance from some other live object.
Please give me some feedback . Hope That helps .