Generate Settings

IMPORTANT

  1. To build app for iOS, you still need a Mac computer with Xcode 8 (or later) installed.
  2. Do NOT try to generate without preparing your Windows and/or Mac first. To generate for Android, read Preparing Windows for Android App Development.To generate for iOS, read Preparing Mac for iOS App Development.

 

 

Template file Template archive (zip file)
Project folder

The folder where the mobile app is to be generated.

Platform

Platform of the mobile app. Supported platforms are: Android or iOS.

Note If you want to build apps for both platforms, after sucessfully building the app for one platform, change this setting to the other platform and re-generate all files to build app for the other platform.

Command

Specify the command to execute after generation. Possible values are:

(None) - Do nothing after generation. For example, you want to open the generated project by Visual Studio (Android) or Xcode (iOS) yourself.

Browse - Emulate the generated app in browser. By default it will be opened by Ripple. (See below.) Supports Android only. Uses Emulate command (see below) for iOS.

Build - Build the app only.

Emulate - Emulate the generated app in Android/iOS emulator.

Note Android emulator runs very slowly on Windows. It is not recommended to use this setting for Android. It is better to use Browse to emulate the app in browser or use Run to run the app on your device directly.

Run - Run the generated app in the mobile device connected to your computer (Android) or in the mobile device connected to the Mac computer (iOS).

Release - Build the app as .apk file for release to Google Play (Android) or as .ipa file for release to App Store (iOS).

Notes

  1. If you select Build/Emulate/Run/Release command for iOS but you did not enter Remote Build settings before, the setup form will popup during generation. Make sure you enter all settings, then press OK to continue. Before generation, you can also click Tools -> Release Settings to open the setup form and enter your settings.
  2. If you select Build/Emulate/Run/Release command for iOS, make sure you have started remotebuild on the Mac computer before generating scripts,
  3. If you select Release command for Android but you did not enter your release settings before, the Release Settings form will popup during generation. Make sure you enter all settings, then press OK to continue. Before generation, you can also click Tools -> Release Settings to open the setup form and enter your settings.
Delete project folder first

Clear the project folder before generation.

Notes

  1. If the project folder is existing and contains files from previous project or other project, you must delete the project folder first.
  2. It is not always possible to delete all files in the folder programmatically, some files might still be held by some background processes. You may need to use Windows's File Explorer to go to the folder and delete those files manually. If it fails, open Windows's Task Manager, look for Node.js, Java and adb.exe (if you have selected Android as Platform) and end them manually first.

After setting above, click the [Generate] button to generate scripts. DB AppMaker allows you select the files to generate, just select the files you want to generate in the [Output] column.

 

If it is your first time generation for the project, make sure you generate all files.

If you modify settings for a table and want to re-generate files for that table only, you can click [Unselect All], then select the files you want to re-generate only. If you are not sure which files to re-generate, always click [Select All] and re-generate all files.

You can also right-click the column header of [Output] to quickly select all or unselect all items in the column.

After selection, click the [Generate] button to generate the app.

After generating scripts, If you have selected a command (e.g. "Run"), the project will be built.

Note During the building process, some latest files will be downloaded from the internet, make sure your PC is connected to internet.

When building, the [Generate] button will be changed to the [Abort] button, if you need to abort generation in the middle of the process, click the [Abort] button.

Note It is not always possible to abort programmatically. If it fails, open Windows's Task Manager, look for Node.js, Java and adb.exe (if you have selected Android as Platform) and end them manually.

If you select the command Browse, after building the project, the generated app will be open by an emulator in browser. The default emulator is Ripple which will open a command prompt like this:

 

Then it will also open browser with URL http://localhost:4400/?enableripple=cordova-3.0.0 to run the app. Sometimes you may see a screen like this:

 

Don't fret, the emulator just needs a little more time to load the app, click the Wait button (possibly more than one times) until you see your app running in the browser like:

 

Note If you want to change some project settings, re-generate scripts and browse again, make sure you close the command prompt first.

 

 

 

 

 ©2017 e.World Technology Ltd. All rights reserved.