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

Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.

Posts: 1,477
Registered: ‎12-30-2008
My Device: Torch 9810

Re: Save file to SDCard

You can do that by using the Simulate->Simulate SD Card... from the simulator menu itself..



Manimaran Selvan
Co-Founder, Tech Lead,
Equity Markets Research Group
Posts: 97
Registered: ‎07-17-2008
My Device: Not Specified

Re: Save file to SDCard

Hi All,

I am able to create the file on SDCard.


But how to edit the file on SDcard? (i.e. How to append contents to the file?)


Currently I am reading the filecontents.

Appending the new contents to the existing contents and then writing the whole contents to the file again.


Let me know if there is simpler way than this.


Thanks in advance.




New Developer
Posts: 13
Registered: ‎08-27-2008
My Device: Not Specified

Re: Save file to SDCard



I am trying to list the roots of File system for 9800 torch.


using the api like

Enumeration e =  FileSystemRegistry.listRoots();

but i am not able to get root of SDCard.


As usual i am able to get root path store/

but not as sdcard/ for 9800 and i am able to get the path for 8300.


If any one having some idea please let me know it will be helpul to me.





New Developer
Posts: 15
Registered: ‎12-23-2008
My Device: Not Specified

Re: Save file to SDCard

Experiencing the same Problem as described above. It seems that with OS6 exists a sdcard access issue. Greetz Raphael