Android: The concept for detecting changes of an opened file
- by niko
I wrote an application for video recording which stores the recording to a file. Currently I am looking for a way to implement some kind of "listener" to listen for file changes.
The concept I would like to implement is the following: Check the file on a set period of time (for example one second), extract changes (get the data that was written in the last period) and do something with these data.
I would be very thankful if anyone of you could give any suggestion or point to any useful resource that could help to solve the given problem.