If you are using Internet Explorer, please remove blackberry.com from your compatibility view settings.

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
My Carrier: MTS

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?

Please use plain text.
Developer
peter_strange
Posts: 19,601
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.

Please use plain text.