Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Developer
icastillo
Posts: 21
Registered: ‎11-05-2008
My Device: Not Specified

Listening when a file is save

Hi folks!.

 

I really appreciate your time.

 

Is there a way to listen (or to know) when a new file is saved on the device memory or SDCard ?.

 

I want to send to a server the files that are saved in an specific path.

 

Is that possible?. Some idea on how to reach this?

 

Again thank you for your time.

Developer
peter_strange
Posts: 19,610
Registered: ‎07-14-2008
My Device: Not Specified

Re: Listening when a file is save

FileSystemJournalListener is what you want.  The FileExplorerDemo, shipped with the JDE uses this and should provide a good example for you.