Skip Navigation

Sample apps in Objective-C

Visit Dynamics SDK Samples to view and download the following sample apps. In the SDK package, the samples are stored in ~/Library/ApplicationSupport/BlackBerry/Good.platform/iOS/Examples/objective-c.
It is recommended to make a copy of the source code in another location before making any changes. Reinstalling or upgrading will overwrite or even remove the sample apps in the default location.
Sample app
Description
AppBasedCertImport
Demonstrates how to create an app that can import a user's PKI credentials using the
BlackBerry Dynamics
Certificate Credential Import API.
For more information, see Certificate Credential Import and "Creating user credential profiles for app-based certifiactes" in the UEM Administration Guide.
AppKinetics
Demonstrates how to search for, create, and subscribe to client services (AppKinetics). The sample demonstrates these concepts by implementing a consumer and a provider for the Transfer File service. It is intended as a starting point for developers making use of
BlackBerry Dynamics
AppKinetics services.
AppKinetics save/edit client and server
Demonstrates how to write a client and a server that use the
BlackBerry Dynamics
Inter Container Communications API (also known as AppKinetics).
Bypass Unlock
Demonstrates how part of the application user interface can remain accessible after the
BlackBerry Dynamics
idle time out has expired. Bypass Unlock can be allowed or disallowed by enterprise policy. This is implemented using the GD Application Policies feature (GD Application Policies are sometimes known as
BlackBerry Dynamics
Application-Specific Policies). The ViewController that bypasses the unlock screen can be opened by pressing the volume controls if the application is in the foreground, or by using the auxiliary 'notifier' application (from the sub-project) if the application is in background.
Core Data
Demonstrates how to use
BlackBerry Dynamics
with a Core Data Incremental Data Store backed by an encrypted SQLite database. The sample shows how Core Data can be used to securely store a sample set of 20,000 fictional employee details and their office locations.
Greetings client and greetings server
Provides a client/server example of how to use the
BlackBerry Dynamics
Services API to communicate securely between two applications.
Remote DB
Demonstrates how to use
BlackBerry Dynamics
Remote Settings and DB APIs. The sample allows you to configure remote settings in the management console, and upon receipt, it stores them in the secure DB. Any changes to the settings are automatically synchronized and stored.
RSS Reader
Demonstrates how to use the
BlackBerry Dynamics
Secure Communications APIs to access resources behind the enterprise firewall.
Server-based Services
Provides a starting point for developers making use of
BlackBerry Dynamics
Server based Services. It retrieves the details of the google.timezone.service using getServiceProvidersFor. The sample prompts the user to supply a latitude and longitude and retrieves the corresponding results from
Google
.
Before running this sample, make sure serviceId is created and associated with some existing app along with its endpoint details in the management console. Also, a user who is running this sample must have permission in the management console to run it.
The
Google
timezone service is a publicly available service: