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.

Contents<br />

Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9<br />

1. <strong>OpenEdge</strong> <strong>Mobile</strong> Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33<br />

Run-time architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34<br />

Supported <strong>Mobile</strong> App types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34<br />

Client access to the AppServer using <strong>Mobile</strong> services. . . . . . . . . . . . . . . . 36<br />

Access to AppServer classes and procedures using JavaScript objects . . 37<br />

Access to <strong>Mobile</strong> services with user login sessions . . . . . . . . . . . . . . . . . . 40<br />

<strong>Development</strong> architecture and tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42<br />

Creating <strong>Mobile</strong> projects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42<br />

Building <strong>Mobile</strong> services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43<br />

Publishing <strong>Mobile</strong> services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44<br />

Building <strong>Mobile</strong> Apps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44<br />

Building <strong>Mobile</strong> Apps without the <strong>Mobile</strong> App Builder . . . . . . . . . . . . . . . . 45<br />

Deployment options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46<br />

2. Example: A Simple <strong>Mobile</strong> App . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47<br />

Setting preferences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48<br />

Creating a new <strong>Mobile</strong> <strong>OpenEdge</strong> project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49<br />

Connecting to the <strong>OpenEdge</strong> Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50<br />

Creating an include file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51<br />

Creating a new Business Entity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52<br />

Creating the <strong>Mobile</strong> App . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54<br />

Adding the JSDO service to the client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56<br />

Building and testing the <strong>Mobile</strong> App . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59<br />

Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60<br />

Developer Studio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60<br />

<strong>Mobile</strong> App Builder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60<br />

Web Browser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61<br />

General. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61<br />

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

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

Saved successfully!

Ooh no, something went wrong!