Fileobserver tell when a file finished download
Call fileObserver.startWatching() in your Activity onResume() method and fileObserver.stopWatching() in Activity onPause().. This simple code would detect if any screenshot is taken when your App is on foreground. If you find any discrepancy in this method, please let me know at viveksbhadauria007@gmail.com. I made an Android App Snap Screenshot for Snapchat which can take screenshot of Android :: FileObserver Not Returning File Changes Within Subfolders? Oct 11, 2010. kinda simple, but I cannot figure out how to do this. How can I change this function to return the String class_name? I know that I need to change the function from void to String, but what else do I need to do? Code