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
mindus
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.

 

Thanks 

mindus

 

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

http://supportforums.blackberry.com/t5/Java-Development/Problem-opening-a-database-from-SDCard-that-...

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. 

 

Cheers

Please use plain text.
Administrator
MSohm
Posts: 14,528
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
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.
Found a bug? Report it using Issue Tracker
Please use plain text.