Random Program is tripping File Observer events
===

This problem has plagued me since I implemented the file observer. Let me explain whats going on here:

I set up a normal FileObserver in a directory on the SDCard. The events that hint at modification of the file (Create, Modify, and Close_Write) all trigger a file upload to a server. This part works fine, but whats weird is that sometimes (mainly after I open the file) there is some program that keeps modifying, accessing, and playing with the file in the background. Everytime this happens, it uploads the file. In this situation, its spawning 5 upload threads a second (not enough to create an outofmemoryexception, but enough to chew through substantial data usage.) I don't want to hinder the ability of the fileobserver because it does work well when its supposed to, but there has to be a way to stop the upload method from actually doing the upload if the file is the same as before. The method I was thinking was checking checksums from the server and the file to see if they were the same, but I was hoping there was a more local solution.

Thanks for any help in advance!