Deploy your qx.Mobile application¶
You developed a great qx.Mobile application, and want to use or test it on your mobile device.
For this purpose, we propose using Apache Cordova.
On the Cordova website you find detailed tutorials which describe the deployment on different mobile platforms:
Configure Cordova for deploying your qx.Mobile application¶
After you installed cordova, and followed the introductions of Cordova Getting Started Tutorial, you are able to deploy your qx.Mobile application on your mobile device.
Follow these steps:
- Build your application with generate.py build.
- Duplicate content of your qx.Mobile build folder, into Cordova deploy folder assets/www including the index.html.
- Paste the following line in head part of assets/www/index.html:
- Cross-check the version of the "cordova.js" in script tag, against the version you use.
That should do the trick. Now Cordova can deploy your qx.Mobile application on the connected Mobile Device. For executing the deployment, have a look on Cordova Getting Started Tutorial.
Update application on your mobile device¶
If you want to update your qx.Mobile application, you just have to copy the folders resource and script into Cordova's deploy folder assets/www/. An update of the assets/www/index.html is not necessary.