01.06.2013 Views

OpenEdge Development: Mobile Applications - Product ...

OpenEdge Development: Mobile Applications - Product ...

OpenEdge Development: Mobile Applications - Product ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 5: Deploying <strong>Mobile</strong> <strong>Applications</strong><br />

Packaging and Deploying Android Apps<br />

Packaging a <strong>Mobile</strong> App (APK file) for Android requires a signing key/certificate, but<br />

during development and testing, the signing key/certificate inputs are not required. For<br />

more information on creating the signing key/certificate, see the “Deploying Android<br />

Apps” section on page 138.<br />

Note: When deploying Android Apps to different environments (development and<br />

testing vs. production deployment), different source code must be deployed.<br />

The URIs for logging into <strong>Mobile</strong> Web applications and accessing their<br />

services in each environment must be different absolute URIs. The JavaScript<br />

source for production deployment should have the required absolute URIs<br />

hard coded to log into all <strong>Mobile</strong> Web applications whose <strong>Mobile</strong> services are<br />

accessed by the Android App.<br />

Packaging Android Apps<br />

To build and package a <strong>Mobile</strong> App for Android:<br />

1. In Progress Developer Studio for <strong>OpenEdge</strong> (Developer Studio), right-click on the<br />

project and choose Properties→ Progress <strong>OpenEdge</strong>→ <strong>Mobile</strong> App Builder.<br />

2. On the Build options page, select Android. Click OK.<br />

3. To open the <strong>Mobile</strong> App within the <strong>Mobile</strong> App Builder, double-click on the name<br />

of the <strong>Mobile</strong> App. The <strong>Mobile</strong> App Builder will open in a browser.<br />

4. From within the <strong>Mobile</strong> App Builder, choose Project→ App settings and click<br />

Android binary APK properties.<br />

5. Enter the <strong>Mobile</strong> App name in the Label field.<br />

136 <strong>OpenEdge</strong> ® <strong>Development</strong>: <strong>Mobile</strong> <strong>Applications</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!