- About this guide
- BlackBerry Dynamics background
- BlackBerry Dynamics API reference
- FIPS 140-2 compliance
- Easy Activation
- Securing cut-copy-paste on devices (Data Leakage Prevention, or DLP)
- Shared Services Framework
- Support for fingerprint authentication
- Support for certificates
- Support for the "Do not require password" setting
- Bypassing the App Lock screen
- BlackBerry Dynamics contributor code on GitHub
- Supported languages
- BlackBerry Dynamics software versions
- Requirements
- Compatibility with earlier releases
- Software requirements
- BlackBerry Dynamics entitlement ID and version
- Supported launchModes
- Compatibility with the BlackBerry Dynamics Launcher Library
- Supported CPU architectures
- Supported and unsupported Android and third-party features
- FIPS-linking on Android: automatic
- Restricted key prefix
- Steps to get started with the BlackBerry Dynamics SDK
- Installing the BlackBerry Dynamics SDK for Android
- Integrating the BlackBerry Dynamics SDK in .aar format
- Using the branding API to add a custom logo and colors
- Info: Add Samsung Pass to your BlackBerry Dynamics app
- Info: APIs for secure clipboard management
- Info: Preventing autobackup to Google Drive
- Info: APIs for network status
- BlackBerry Dynamics SDK for Android: Wearable Framework
- Implementing SafetyNet attestation for BlackBerry Dynamics apps
- Programming with the BlackBerry Dynamics SDK and BlackBerry Enterprise Mobility Server services
- Sample apps
- Testing and troubleshooting
- Implementing automated testing for BlackBerry Dynamics apps
- Automated testing with the BlackBerry Dynamics sample apps
- Preparing for automated testing
- Components of a sample automated testing configuration
- Execute all tests from the command line with Gradle
- Execute specific tests from the command line with Gradle
- Execute tests from the Android Studio IDE
- Add automated testing to your BlackBerry Dynamics Android app
- Disable compliance settings that check for a compromised OS
- Emulators and the rooted OS compliance policy
- Using enterprise simulation mode
- Logging and diagnostics
- Implementing automated testing for BlackBerry Dynamics apps
- Readying your app for deployment: server setup
- Details of support for client certificates
Execute tests from the Android Studio IDE
Android Studio
IDEThe following instructions assume that the IDE UI is the same as
Android Studio
version 2.2 or 2.3. The tests that you can run from the command line (Execute all tests from the command line with Gradle and Execute specific tests from the command line with Gradle) can also be run from within the IDE. This can be useful for investigating test failures with breakpoints or for running tests as you write the code.- InRun > Edit Configurations, add a new test configuration.
- Set the following parameters for the test configuration:
- Module:<app_name>
- Instrumentation runner: android.support.test.runner.AndroidJUnitRunner
- Save the configuration.
- Select the new configuration and Run or Debug.
The tests will run and generate results. The IDE will show progress and results. If Debug was selected, you can insert breakpoints in the code.