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: 128
Registered: ‎11-05-2009
My Device: 9700
My Carrier: 9700

BlackBerry - Avoiding Encryption

As part of the application, we are creating a file myApp.cfg in the "file:///store/home/user/" location on the device. The encryption on the device is enabled. Due to this, the myApp.cfg is being renamed to myApp.cfg.rem and the application is not able to read the file anymore. Apart from the obivious answer of not enabling the encryption, is there any way to over come this issue. Is there any area/path on the device where the files are not encrypted? Note this question is for BlacBerry OS 7 and below.





Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: BlackBerry - Avoiding Encryption

This is a very good question.  I seem to remember Mark Sohm making a very good post about this situation, but I have searched and can't find it.  The best I have come up with is this:


which is not really your situation, but might offer some insight.


Have a search for Mark's post yourself.  If you can't find it, then hopefully he will be along later and contribute himself.  If you do find it, let us know, because I am sure this is a question others will ask. 



BlackBerry Development Advisor
Posts: 15,884
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: BlackBerry - Avoiding Encryption

I don't recall my post, but the basic answer is to use ExtendedFileConnection, which can read and write the .rem files.  Have a look at the JavaDocs and let us know if you get stuck.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.