With RapidClipse, you can deploy your project as a hybrid mobile app for Android and iOS. The deployment assistant generates an executable file for each target platform (APK for Android, IPA for iOS) and you can then upload this to the respective app stores. You can even install Android apps directly on the target device. The hybrid mobile app consists of a really sleek native app that is permanently installed on the mobile device. The application itself is a Java application that runs on the server (Servlet). The HTML user interface is dynamically generated by the server and is displayed on the client with the help of the respective system browser, which runs full-screen in the app. Thus, the browser is not recognizable.


Embed XDEV Mobile Kit


To deploy mobile apps, you need the XDEV Mobile Kit. You can embed apps during the process of creating a RapidClipse project. Alternatively, you can also embed the mobile kit at a later date. 


Configure Mobile App settings

You will find the Mobile App settings in the mobile.xml file. Click the file to open the Mobile App settings.

Options:

The Content Security Policy (CSP) allows you to adapt the standard "same-origin policy” and to add sources from which certain types of content can be reloaded.
The settings of the CSP, the "directives," are typically responsible for certain types of content. For example, the directive "style-src” is responsible for stylesheets.
The value of each directive can consist of several parameters, which are separated by spaces. These parameters typically consist of the lists of permitted sources. A source can be a full URL, a domain, or even a URL scheme such as http: or https:

Define app functions

  1. Click the Services folder.
  2. In the following view, select the app features that you would like to use with your app.

Define a target platform

  1. Click the Platforms folder.
  2. In the following view, select the target platforms on which you want to deploy your app.
  3. In the following view, enter your username and password.

Options:

To receive an Apple certificate and a profile file from Apple, you need an Apple Developer Account.  

Getting started with the app building process

  1. Select Quick Launch > Build Web App (.war).
  2. Deploy the .war file generated in your project under target in your application server.
  3. Deploy the mobile application (.apk for Android .ipa for iOS) which has been generated in you project under target > mobile-apps.
Result:

Deploy Android app

The generated .apk file can be copied directly to Android devices and delivered via common Android App Stores.

Deploy iOS app

The generated .ipa file can be delivered via the Apple Store.