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

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


Reply
New Contributor
Posts: 9
Registered: ‎03-20-2013
My Device: Torch 9800
My Carrier: AT&T

Blackberry 10 plugin to check file system encryption status

[ Edited ]

Hello,

 

I'm planning the development of a Blackberry-10 application using WebWorks.

 

One requirement of the application is that I need to persistently store a small amount of user data, and the data must be encrypted when the device is locked. 

 

My plan is to write a native plugin to programatically check the device policy, to ensure that the file system is encrypted using the user's PIN or password - is this possible? If so, can you point me to the name of the API to check this? What I would need to do is check the encryption status and exit the app if the filesystem encryption was not enabled.

 

Assuming that the above check is possible - is it then safe to assume that any data the application writes to its working directory (e.g. $HOME/data) is encrypted when the device is locked? Or does the app need to do anything extra to encrypt its persistently stored data?

Retired
Posts: 74
Registered: ‎07-22-2008
My Device: BlackBerry Z10
My Carrier: N/A

Re: Blackberry 10 plugin to check file system encryption status

Can you describe the use case for your application?  Is your application going to be depolyed in the Work or Personal perimeter?

 

 

 

 

Thanks,
Pratik Sapra
Gaming & Apps Consultant
Developer Relations
@pratiksapra
Highlighted
New Contributor
Posts: 9
Registered: ‎03-20-2013
My Device: Torch 9800
My Carrier: AT&T

Re: Blackberry 10 plugin to check file system encryption status

Hello,
The use case is for the development of a messaging application for work.