08-23-2013 12:16 AM
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.
08-23-2013 06:41 AM
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.
08-23-2013 02:40 PM
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.