If you have not used DB AppMaker before, please read Preparing Windows for Android App Development
first to prepare your system for building and running apps. You can NOT run an app without installing the requirements properly first.
DB AppMaker connects to your database, extracts tables
and fields information, and generates and builds an app instantly based
on these information. For each selected table, it will generate a list page and view page all linked up
To generate and build your first app, you just need to follow the tabs one by one and setup the options:
In this tutorial, as a quick start, you can just skip the intermediate steps and use the default settings. In other words, you can go directly from the [Database] tab to the [Generate] tab after connecting to your data source:
If you do not have a database yet, you can download the demo project first.
Generate and build the app quickly as follows:
- Start up DB AppMaker and choose the database type, in this example we choose "MySQL":
- Select the database, click the [Connect] button to load the database information.
Tables and fields information will be loaded and displayed in the Database pane on left.
- Click "Tables" or "Views" in the [Database] pane, the table properties will be shown in the right panel, set up the [Title Field] (e.g. Model) and the [Thumbnail Field] (e.g. Picture).
- Click the [Generate] tab and select the follows:
Template file - The zipped file that contains the template of the generated pages. Just use the default template shipped.
Project folder - The folder that the generated app will reside.
Platform - Specifies Android or iOS. Select "Android" for this example.
Command - Specifies how to run the app after generate. (no need to select in the example because we want to test the app in browser only)
Ionic serve - Enable this to run run the app in browser.
- Press the [Generate] button, the generation process
will begin. After the app is generated successfully, DB AppMaker will launch your app in browser.
- If you have installed Google USB driver and set up your phone, plug in your mobile device over USB and check if it can be detected first. (See Preparing Windows for Android App Development.) Change [Command] to "Run", press the [Generate] button again. After generation, DB AppMaker will launch your app in your Android device.
After understanding how it works, you can then take advantages of various
other options provided by DB AppMaker and setup your project more precisely.
See Project Setup for full details.