Monitoring for new files
> How can I get notified each time a file is created by capturing an image/video by Nokia's camera application? I need to know *which* file was created, not just that it has been created...
There doesn't seem to be an obvious way. You have to enumerate
the directory contents to see what has changed. The timestamps of the
files should give you a clue about which file is new/the newest.
Enumerating a large directory takes some time, though...
We move files we've seen to a subdirectory to make that easier.
(see http://db.cs.helsinki.fi/~mraento/lxr/source/context_log/src/picture_publisher.cpp and
That may not fit with all users or applications.