Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
New Developer
jagoblade
Posts: 3
Registered: 10-26-2011
My Carrier: MetroPCS
Accepted Solution

FileSystemJournalListener Example HELP

Hi, I'm new, I'm developing a bb aplication that needs no know when a picture have been added to the system either taken by the camera or received via bbm.

 

I trying this code:

http://docs.blackberry.com/en/developers/deliverables/11942/Detect_when_img_is_added_or_removed_file...

 

but there's a variable msg, that I don't know where it comes from. Can somebody help me out with this.

 

I would like to see a better example of this.

 

I removed this part (msg == null), and it works, but it seems to be calling the FILE.ADDED case more than 1 time.

 

Thanks for the help.

Please use plain text.
Developer
peter_strange
Posts: 14,614
Registered: 07-14-2008

Re: FileSystemJournalListener Example HELP

The code in that doc looks like it was taken from the FileExplorerDemo, which is a sample that you should have with your tooling.  Look at that code for more information and perhaps the answer to your question. 

 

Come back to us if this does not help. 

Please use plain text.
New Developer
jagoblade
Posts: 3
Registered: 10-26-2011
My Carrier: MetroPCS

Re: FileSystemJournalListener Example HELP

Thank you very much for your help. 

Please use plain text.