DecSoft's App Builder

Index of ContentsApache Cordova

App Builder produces HTML5 apps ready to be deployed in mobile and desktop browsers. Some controls and actions, however, are available only if our apps are compiled using Apache Cordova, since the involved API is not ready available in HTML5. Apache Cordova is an open source project which allow us to compile our HTML5 apps for various platforms like Android, Windows, FirefoxOS, etc. App Builder provides some integration with Apache Cordova, for example, by producing the appropiate batch files in order to automatically prepare the choosed Cordova platforms, the appropiate Cordova plugins and then build our apps.

Install Apache Cordova

We need to install Apache Cordova in our system in order to compile our HTML5 apps. In particular App Builder recommend to install the CLI version of Apache Cordova, following the steps of the official install documentation. If our plain is to compile our HTML5 apps for the Android platform, for example, note that you also need to be installed the appropiate Android SDK in your system. Once you download and install the Android SDK, using the Android SDK manager, make sure you have downloaded the version 19 of the SDK tools. This is the required version in order to compile our HTML5 apps using Apache Cordova.

Maybe install Adobe Cordova, the Android SDK, etc., appear to be difficult, since, for example, we need to install some dependencies (software) before to proceed to install Apache Cordova. However, App Builder carefully recommend you install Apache Cordova in order to be ready to compile your HTML5 produced apps for other platforms than the mobile and desktop browsers. Remember anyway that App Builder produced apps run in browsers without the need of Apache Cordova, then this software is not mandatory in order to create your HTML5 apps.

Cordova and Android SDK

Follow the below steps in order to install Cordova and the Android SDK in your computer. Doing this you can then use the provided App Builder BAT files in order to compile your HTML5 apps for the Android platform.

  1. Install Node.js Goto Node.js website, download and install the Node.js platform, which is used by Cordova.
  2. Install Git Goto Git website, download and install the Git version control system, which is used by Cordova.
  3. Install Cordova by open a new console window and typing: npm install -g cordova
  4. Install Java JDK Goto Oracle website, download and install the Java JDK, used by Cordova and Android SDK.
  5. Install Ant Goto Apache Ant website, download and install the Ant build system, which is used by Java.
  6. Install Android SDK Goto Android SDK website, download and install the Android SDK, which is used by Cordova.