...
- Knowledge of Apache Cordova (can be learned at httphttps://Apache Cordova.comcordova.apache.org/)
- Understand how to write HTML, CSS and JavaScript code
- Able to debug web applications using a web browser's developer tools
- Knowledge of writing and testing Profound UI Rich Displays, including those designed for mobile environments
...
Apache Cordova is actively maintained by a large group of individuals. As such, it is constantly changing, so it is not practical for Profound Logic to document its usage here. Instead, we recommend that you visit Apache Cordova.com and https://cordova.apache.org/ and read their documentation about how to get started with creating your own web-based mobile app. Once you understand the basics of creating a mobile app with Apache Cordova, come back to this site to learn how to use Profound UI Mobile in your Apache Cordova project. Here is a list of key things you'll probably want to learn from the Apache Cordova site:
...
All of this and much more should be learned from Apache Cordova's website. Once you understand how to create a simple web app (such as a 'hello world' app in Apache Cordova) then you can come back to this document, and learn how to add Profound UI to your project.
...
Inside the
<body>
tag of your html document, you will need a<div>
tag with an id of 'pui'. The tag should start out empty, but Profound UI will use it to render the application screens.Code Block language html/xml theme Eclipse <div id="pui"> </div>
- Click here to download an index.html file that was tested with Apache Cordova 6.2. 6. This file only loads the minimal Profound UI runtime and does not include other custom CSS or JavaScript files. Since it is possible that newer Cordova versions might require changes to this file, it should be considered an example, only.
...
After this event fires, it is possible to use hardware device features such as the camera, GPS, accelerometer, etc. There are other events available depending on the platform. See the Apache Cordova documentation for more information. The pui.show() API can be used to display screens from your JavaScript code. This is particularly useful if you want to show Rich Display screens without a network connection.
Click here to download an example of an app.js file that has been tested with Apache Cordova 6.2.6. Since this is subject to change with different versions of Cordova, this should be only used as an example.
...