Android FileObserver is an interface provided by Android OS to monitor file access and modification. It’s based on the Linux inotify
file change notification system.
This blog will give a brief introduction to inotify
and illustrate the usage of Android FileObserver API with an example.