is possible to get an event notification when a new image has been taken from the built-in camera or when a new file is created on the filesystem?
In my specific case i have to write a MIDlet who can detect when a new image as been taken from the built in camera and stored on the device's filesystem.
I'm watching if with the FileConnection API is possible to achieve such a thing.
I'm recovering the path to image directory with the System.getProperty("fileconn.dir.photos").
I can detect if a new image has been added to the photo's dir watching the directory size but how can i know which specific file has been added?
I have to get the new file name.