BlackBerry - Encryption Prevention

As part of the application, we create the file myApp.cfg in the folder "file: /// store / home / user /" on the device. Encryption on the device is turned on. Because of this, myApp.cfg is renamed to myApp.cfg.rem, and the application can no longer read the file. Besides the notorious answer to the inability of encryption, is there a way to overcome this problem. Is there any area / path on the device where the files are not encrypted? Please note that this question is for BlacBerry OS 7 and below.

Thanks Krish

+4
source share
1 answer

The exact same question was asked on the BB forums here: http://supportforums.blackberry.com/t5/Java-Development/BlackBerry-Avoiding-Encryption/td-p/2552487

Mark Som answered as follows:

The main answer is to use ExtendedFileConnection, which can read and write .rem files. Take a look at JavaDocs and let us know if you are stuck.

JavaDocs: http://www.blackberry.com/developers/docs/7.1.0api/net/rim/device/api/io/file/ExtendedFileConnection.html

+1
source

Source: https://habr.com/ru/post/1498376/


All Articles