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

Posts: 45
Registered: ‎09-06-2011
My Device: 9800
My Carrier: Vodafone

Creating files when encryption is enabled



I am creating a file with encryption enabled and the files gets the .rem extension. 


Is there any way to disable this behavior? 


I need to be able to create non encrypted files and upload them to a location where other devices will use them.


Thank you.


Regards, Alex

Posts: 17,025
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Creating files when encryption is enabled

you can create files without storing them on the device, just as a byte-array, which you need to upload them anyhow.
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
New Developer
Posts: 96
Registered: ‎07-26-2008
My Device: Not Specified

Re: Creating files when encryption is enabled

[ Edited ]

In our use case, a file is downloaded, edited and then needs to be uploaded.


When encryption is on, the uploaded file has the .REM extension.


Is it possible to decrypt the file before uploading in this use case?  Need to support OS 5.0 and higher but 6.0 and 7.0 are more important.