01.06.2013 Views

OpenEdge Development: Mobile Applications - Product ...

OpenEdge Development: Mobile Applications - Product ...

OpenEdge Development: Mobile Applications - Product ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

URIs for accessing <strong>Mobile</strong> Web applications, services, and resources<br />

If you install and run the <strong>Mobile</strong> App as a <strong>Mobile</strong> Native App in a native device<br />

container, or deploy and run it as a <strong>Mobile</strong> Web App from a different Apache Tomcat<br />

Web server from where the Web services are deployed, the <strong>Mobile</strong> App must access<br />

the absolute URI to log into the <strong>Mobile</strong> Web Application.<br />

/static-resource<br />

The relative URI for a static file or Web page that the <strong>Mobile</strong> App accesses from<br />

the <strong>Mobile</strong> Web application. For example:<br />

• /static/mobile/service-name.json — The default relative URI of the<br />

JSDO catalog for a <strong>Mobile</strong> service, where service-name is the name of the<br />

service. The <strong>Mobile</strong> App can load this catalog to access <strong>Mobile</strong> resources<br />

provided by the service after logging into the <strong>Mobile</strong> Web application. To load<br />

the catalog, it can use the relative URI (starting with the <strong>Mobile</strong> Web<br />

application, /web-app) or the absolute URI, depending on the same<br />

conditions for using a relative or absolute URI for logging into the <strong>Mobile</strong> Web<br />

application.<br />

• /static/home.html — The default relative URI of a non-UI login target<br />

available to support login to a <strong>Mobile</strong> Web application using HTTP Basic<br />

Authentication.<br />

• /static/auth/login.html — The default relative URI of a login form page<br />

available to support login to a <strong>Mobile</strong> Web application using HTTP Forms<br />

Authentication.<br />

For more information on logging into a <strong>Mobile</strong> Web Application from a <strong>Mobile</strong> App, see<br />

Chapter 4, “Creating <strong>Mobile</strong> Apps using JSDOs.”<br />

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

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

Saved successfully!

Ooh no, something went wrong!