Skip to content

jhawkinsatgood/contributor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Good Dynamics Contributor Code (deprecated)

This repository is deprecated. Use https://github.com/jhawkinsatgood/gdcontributor instead.

This repository contains Good Dynamics™ contributor sample code. Good Dynamics (GD) is the Good Technology™ platform for secure mobile application development. To make use of the sample code in this repository you will need the following.

  • An account on the Good Developer Network.
  • To have installed the GD SDK for Android or the GD SDK for iOS, or both.
  • A deployment of GD, i.e. Good Control and Good Proxy servers.

Contents

The contributor code includes a number of complete GD applications.

AppKinetics Workflow

The AppKinetics Workflow contributor application can be used to demonstrate the following tasks:

  • Send an email with To, Cc and Bcc addresses; a subject line and body text; and a number of file attachments. You must have Good for Enterprise™ installed to demonstrate this. (Sorry, the contributor application for PhoneGap only demonstrates a subset of email features, at time of writing.)
  • Send a file to another application that provides the Transfer File service, for example Good Share.
  • Receive a file from another application that consumes the Transfer File service.
  • Open an HTTP URL. You must have Good Access or another secure browser installed to demonstrate this.

The demonstrations use simple diagnostic data that is generated within the application.

Enterprise

The Enterprise contributor application illustrates:

  • How to retrieve the generic application configuration from the enterprise Good Control (GC) server.
  • How to retrieve custom application policy setttings from the GC.
  • How to receive notifications of changes to application configuration and application policy settings.
  • How to utilise the GD Authentication Token mechanism for end user authentication.

Sorry, there is no Enterprise contributor application for PhoneGap at time of writing.

An application server is required to use the GD Authentication (GD Auth) Token mechanism. This repository includes a sample application server, minipush, implemented as a Perl script.

Structure

Project files and source code are provided for Android, for iOS and for PhoneGap. A couple of server-side files are also provided.

There are four sub-directories in the repository: forAndroid/, foriOS/, forPhoneGap/, and forServers/.

Under each of the directories for Android and iOS there are another couple of sub-directories:
src/ which contains common code.
samples/ which contains sample applications that use the common code.

Under the directory for PhoneGap there are three sub-directories:
src/ which contains common code and a copy of the sample application code.
samples/ which contains a script that can be used to create the sample application.
scripts/ which contains handy copies of the GD enabling scripts from the GD download for PhoneGap with fixes by contributors to this repository.

The directory for servers has no sub-directories.

Each of the sub-directories contains a readme file that explains how to use the sample code in that sub-directory.