Skip to content

blackberry/BlackBerry-Dynamics-Android-Samples

Repository files navigation

BlackBerry Dynamics Android Samples

BlackBerry Dynamics Overview

The BlackBerry Dynamics Secure Mobility Platform from BlackBerry consists of the BlackBerry Dynamics (BD) SDK services that provide a powerful set of tools to ISV and enterprise developers. It allows them to focus on building their commercial and business apps rather than learning how to secure, deploy and manage those apps.

For more information refer to the BlackBerry Dynamics Developer Web Site.

Samples

This repository contains sample projects that demonstrate the use of BlackBerry Dynamics APIs. Some of these samples were created for a BlackBerry Developer Blog post, event or online session. Samples are updated with best effort support, but not all are tested updated against each SDK release. Note that the samples included with the BlackBerry Dynamics SDK installation are updated and verified against each SDK release.

The table below describes the main features each sample demonstrates and notes if it is actively maintained.


Sample Name Key Features Actively Maintained
AndroidThingsSensorDemo An example of an Android Things application integrated with the BlackBerry Dynamics SDK. No
AndroidWebView Extends the native Android WebView and implements BlackBerry Dynamics networking APIs, allowing connectivity to your corporate intranet. Yes
AutomatedTestSupportLibrary The BlackBerry Dynamics SDK includes the BlackBerry Dynamics Automated Test Support Library (ATSL) to support automated testing for your BlackBerry Dynamics apps. This library is delivered as a binary with the BlackBerry Dynamics SDK, but is made available as sources here to enable you to review the implementation and customize it.

The library includes helper functions for testing common user interactions in BlackBerry Dynamics apps, such as activation and authorization. The configuration and structure of the library is compatible with the native Android Testing Support Library.

You can use this library, the native library components, Gradle and JUnit tools to automate the building, execution, and reporting of your application tests.
Yes
BDVideoPlayback Demonstrates how to play back video files that are saved in the BlackBerry Dynamics secure file system using the Android MediaPlayer with a custom MediaPlayerDataSource. No
BEMSContactServiceSample This sample demonstrates the use of the BlackBerry Enterprise Mobility Server (BEMS) Contact Service, which can be used to create, read and modify a user's personal contacts. No
BEMSDirectoryLookupSample Demonstrates the use of the BlackBerry Enterprise Mobility Server (BEMS) Directory Lookup Service, which can be used to search a global address book and the user's personal address book. No
BEMSDocsServiceSample Demonstrates the use of the BlackBerry Enterprise Mobility Server (BEMS) Docs Service, which can be used to list, upload and download files from various file repositories. No
BEMsPresenceServiceSample Demonstrates the use of the BlackBerry Enterprise Mobility Server (BEMS) Presence Service, which can be used to poll for and receive updates of contacts presence status within Skype for Business (Microsoft Lync). No
CrossTheBridge Demonstrates how an application can use BlackBerry Bridge to securely open a Microsoft Word document in Microsoft Word secured by Intune from a BlackBerry Dynamics application. This approach can be used for other Microsoft file types and other apps in the Microsoft Office Suite. No
ExoPlayerVideoPlayback Demonstrates how to play back video files that are saved in the BlackBerry Dynamics secure file system using ExoPlayer. The same approach could be used for audio files. No
GDHttpClientFileUpload Demonstrates how to perform a forms based HTTP file upload using BlackBerry Dynamics networking APIs. No
GettingStarted Pairs with GettingStartedBD to provide examples of an Android application before and after integrating with the BlackBerry Dynamics SDK. This sample provides examples of features commonly used in an application that require modification for integrate with the BlackBerry Dynamics SDK, including file storage, SQLite usage and HTTP and socket communication. Yes
GettingStartedBD Pairs with GettingStarted to provide examples of an Android application before and after integrating with the BlackBerry Dynamics SDK. This sample provides examples of features commonly used in an application that require modification for integrate with the BlackBerry Dynamics SDK, including file storage, SQLite usage and HTTP and socket communication. Yes
GettingStartedKotlin Pairs with GettingStartedKotlinBD to provide examples of an Android Kotlin application before and after integrating with the BlackBerry Dynamics SDK. This sample provides examples of features commonly used in an application that require modification for integrate with the BlackBerry Dynamics SDK, including file storage, SQLite usage and HTTP and socket communication. Yes
GettingStartedKotlinBD Pairs with GettingStartedKotlin to provide examples of an Android Kotlin application before and after integrating with the BlackBerry Dynamics SDK. This sample provides examples of features commonly used in an application that require modification for integrate with the BlackBerry Dynamics SDK, including file storage, SQLite usage and HTTP and socket communication. Yes
OkHttpBD This sample demonstrates the use of com.blackberry.okhttpsupport.interceptor.BBCustomInterceptor, which allows the OkHttp library to be used for network communication using BlackBerry Dynamics enterprise network connectivity. No
Native-Media This sample application is based on a version of the Native-Media sample app from Google NDK samples
The modifications to the generic sample application comprise -

- Integration of the Application Java code with the Good Dynamics lifecycle. Ensuring application can be activated and authorized
- Code which will copy provided video from SDcard into GD Secure Container to be played
- Integration of the Application C code with the Good Dynamics Secure Container to read data direct from the Secure Container
No
SharedServicesTestApp Demonstrates how various BlackBerry Dynamics Shared Services (also known as AppKinetics). No
TheConfigurator Demonstrates how to use a custom App Policy uploaded into the BlackBerry UEM Admin Console, which can be used to remotely configure an application. No
UEMWebServices Demonstrates various REST APIs including authentication to UEM, automating administrative tasks, and integrations with BlackBerry UEM. No

License

Apache 2.0 License

About

Sample applications making use of BlackBerry Dynamics APIs for Android.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published