Secure Cut-Copy-Paste Operations. More...
An end user can copy and move text within a mobile application, and between mobile applications, by using cut-copy-paste operations. The BlackBerry Dynamics runtime can secure these operations for and between BlackBerry Dynamics applications. Operations between BlackBerry Dynamics applications and other applications cannot be secured by the runtime, but can be blocked.
The runtime secures text by encrypting it when it is cut or copied to the device clipboard, and then decrypting it when it is pasted from the clipboard. Encryption of data in the clipboard buffer implicitly blocks the data from being pasted by an application that cannot decrypt the data.
The application code must observe the following restrictions in order to enable the runtime to secure or block cut-copy-paste operations.
New versions of the view class widgets are now available, that are subclassed from the AppCompat view classes. These are as follows:
These classes should be used in any app that uses AppCompatActivity.
Apps using a theme derived from AppCompat can install the provided GDAppCompatViewInflater in their theme as follows:
This will automatically substitute the following classes in layout files:
Specified Widget Class Name | Replacement Class |
---|---|
TextView or | |
CheckedTextView or | |
AutoCompleteTextView or | |
MultiAutoCompleteTextView or | |
EditText or | |
androidx.appcompat.widget.SearchView or |
Note, however:
There are a number of policies for data leakage prevention (DLP) that may be set at an enterprise.
DLP Outbound. This policy setting specifies that data copied from within the application can only be pasted into:
DLP Inbound. This policy setting specifies that data can only be pasted into the application from:
Prevent Screen Capture. This policy setting specifies that screen capture isn't allowed. See the Screen Capture Control page for details.
Block Android Dictation. This policy setting specifies that the Android voice input feature cannot be used to enter text.
Single DLP. This is a policy setting from earlier versions of BlackBerry Dynamics and legacy Good Dynamics. It has the same meaning as a combination of DLP Outbound and Prevent Screen Capture, above. Good Control management console software before Good Dynamics 2.0 only had this setting, not separate DLP settings.
Each of these policy settings can be switched on or switched off. The current settings can be checked in the GDAndroid.getApplicationConfig collection.
The classes in this package enforce DLP policy settings automatically, as follows.
GDWe
bView
enforce the following policies, if switched on:GDWe
bView
class:If the relevant DLP policies are switched off, then instances of the classes in this package behave like the native equivalents.
There are a number of features that can result in data being shared between applications in a way that is similar to a cut-copy-paste operation. These features work differently in this package, as follows.
GDWe
bView
, the Android Smart Text Selection feature is blocked if DLP Outbound is switched on. (Smart Text Selection doesn't apply to GDWe
bView
.)
Classes | |
class | GDAppCompatAutoCompleteTextView |
Replacement for native widget class. More... | |
class | GDAppCompatCheckedTextView |
Replacement for native widget class. More... | |
class | GDAppCompatEditText |
Replacement for native widget class. More... | |
class | GDAppCompatMultiAutoCompleteTextView |
Replacement for native widget class. More... | |
class | GDAppCompatSearchView |
Replacement for AppCompat widget class. More... | |
class | GDAppCompatTextView |
Replacement for native widget class. More... | |
class | GDAutoCompleteTextView |
Replacement for native widget class. More... | |
class | GDEditText |
Replacement for native widget class. More... | |
class | GDMultiAutoCompleteTextView |
Replacement for native widget class. More... | |
class | GDSearchView |
Replacement for native widget class. More... | |
class | GDTextView |
Replacement for native widget class. More... | |
class | GDWebView |
Replacement for native widget class. More... | |