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 Contributor
Arus1
Posts: 2
Registered: ‎05-06-2013
My Device: Bold

Modify a text file within BlackBerry project

I have a text file in my BlackBerry project under "src" directory. How can I modify that file programmatically in java?

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

Re: Modify a text file within BlackBerry project

You can't sorry.  Anything resources packaged in your cod are read only.  You have to copy it somewhere (PersistentStore or SD Card being the obvious places) and then modify it in there.