title: FileObserver is only called once
body: <p>I have 1 fileObserver declared in the onCreate function of an activity. For the first time, whenever you do any change to the file directory (to be specific I delete the folder), observer works and broadcasts an intent. But from the second time onwards, observer stops working, and no intent is broadcasted. If I move the observer to onResume of the activity, it works like a charm. But as per the concept, fileobserver should continuously work in the background once it is started. I do not call stopWatching() at any place. Any help would be appreciated.</p>