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

New Contributor
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?

Posts: 19,636
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.