I want to develop an application in Blackberry that runs in the background and needs to listen to changes in a specific folder, that is, whether a file was added or deleted in a specific folder / directory.
I can achieve that using FileSystemJournalListener, but my problem is that it listens or calls each time a file is added or deleted each time in ANY DIRECTORY / FOLDER. But I don’t want this behavior, I just need some way or any other listener that listens for any changes to files in a specific directory.
Thanks in advance.
Smeet source
share