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

BlackBerry® OS Smartphones

New Developer
Posts: 13
Registered: ‎12-03-2009
My Device: Not Specified

Need urgent help: Error using SD card program given on the blackberry site

I have taken the code from




and used the exact same thing. I am getting errors in my js file saying the functions blackberry.io.file.exists(filePath), blackberry.io.file.readFile(filePath, readFile), blackberry.io.file.deleteFile(filePath), blackberry.io.file.saveFile(filePath, blob) are unresolved.


But my program is getting compiled correctly and the simulator is up and running. When I open the application and click on the open file item in the menu item I see this error on my eclipse console :


net.rim.device.api.io.file.FileIOException: File system error (1003)
    Running  at line    5: if(blackberry.io.file.exists(filePath) ){.


Can you tell me why I am seeing this error? Please let me know urgently as I have a submission today