Android: The concept for detecting changes of an opened file

Posted by niko on Stack Overflow See other posts from Stack Overflow or by niko
Published on 2009-09-22T09:23:40Z Indexed on 2010/04/15 11:03 UTC
Read the original article Hit count: 164

Filed under:
|

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.

© Stack Overflow or respective owner

Related posts about java

Related posts about android