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
Developer
fenixlam
Posts: 61
Registered: ‎06-01-2009
My Device: Not Specified
Accepted Solution

Can I write data in the Machine Memory (not in SDCard)?

Can I write data in the Machine Memory not in SDCard?

 

I know that I add the data by using FileConnection like this

FileConnection fc = (FileConnection)Connector.open("file:///SDCard/"+"da.txt", Connector.READ_WRITE);

 

This is the code that write in SDCard. 

But if I want to write it in the BlackBerry Memory, what the path will be in the FileConnection?

Or is it impossible to add file in BlackBerry Memory?

 

 

 

Developer
BBDeveloper
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: Can I write data in the Machine Memory (not in SDCard)?

It will be something like "file:///store/home/user/"

Use Search. "Accept Solution" If the problem is resolved.