Introduction for app development

RadBuilder is a complete rapid application development (RAD) tool to create interactive multimedia applications, database applications for Windows and Android - without programming. You don’t have to be a programmer, but with RadBuilder you’ll feel like one. Even though it is very easy to learn and use, it has everything you need to develop professional software applications!

Just add forms to the app and insert objects to the forms,  set the object properties and add actions for the object events.


SQLite Database - local database

The SQLite is an embedded SQL database engine, developed by SQLite Consortium. It is the DBMS most widely deployed database in the world with a rough estimate of 500M installations. You can find it on all iOS and Android mobile devices and on Mac OS desktops. It is used by Firefox, Skype, and McAfee anti-virus.

Database apps created by RadBuilder for Android use SQLite as local data storage on your mobile device.


Multi-tiered Applications for remote database

In the RadBuilder applications, sometimes called the "three-tiered model," a multi-tiered application is partitioned into thirds:

Client application: Apps created by RadBuilder for Android provides a user interface on the user's machine (mobile device).

Application server: RadBuilder DataServer resides in a central networking location accessible to all clients and provides common data services.

Remote database server: Provides the relational database management system (RDBMS).

In this three-tiered model, the RadBuilder DataServer manages the flow of data between clients and the remote database server.

The DBQuery object can be used with remote database servers (such as MySQL, Sybase, SQL Server, Oracle, Informix, DB2, and InterBase) or file databases on desktop computers (PCs).


Project Files

The file with extension '.radapp' in the project folder is project file.
The file with extension '.radsdb' in the project folder is database file.

The project file will be created automatically when the project created.
The database file will be created automatically when you create database table or import database file.


Installation Package file

After testing the project, press the Deploy button in the Project interface, the file with extension '.radapk' will be created. This file can be distrubut to users and installed to the users RadBuilder environment.

To create standard standalone app (.apk file) from the '.radapk' file can run without the RadBuilder environment, please contact the sales@longtion.com for help.


Forms

Form represents a standard application window.

Forms can represent the application's main window, sub forms and dialog boxes. A form can contain other objects, such as Button, DBTable, DBGrid, and other container objects, such as Panel, CalloutPanel.

The main form acts as the application's main window. It is the first form in the application project and will be shown automatically when the application run. When the main form closes, the application terminates.

When a new project is created, Form1 is created automatically and becomes the main form.

Other forms are called sub forms. You can press the Add Form button in the toolbar to add a new sub form. Sub forms can be shown by ShowForm action.


Objects

Objects are visual components that help you design your user interface.

You can place objects on a form and manipulate them at design time. Using the Object Inspector, you can assign property values. Most objects are either visual or nonvisual, depending on whether they are visible at runtime.

Visual objects, such as Button, DBGrid, appear to the user at runtime. Nonvisual objects are not visible to the user at runtime, such as DBQuery and DBTable. At design time, nonvisual objects are represented by an icon. This allows you to manipulate their properties just as you would a visual object.

Grouping objects (Container objects)

The container object can serve as a container (parent) for other objects.
The parent of an object is the object that contains the object. For example, if a form includes three Edit objects in a Panel object, the Panel object is the parent of the three Edit objects, and the Edit objects are the child objects of the Panel object.

A graphical interface is easier to use when related objects and information are presented in groups. Container objects for grouping objects include:

Use this object:    When you want this:
Panel        A more visually flexible group of objects
CalloutPanel    A container for extra information relevant to another item, with a visual indicator pointing to that item.

Text objects

Many applications use text objects to display text to the user. You can use:

Edit objects display text to the user and allow the user to enter text. The type of object used for this purpose depends on the size and format of the information.

Use this object:    When you want users to do this:

Edit    Edit a single line of text.
Memo    Edit multiple lines of text.

Label and Text objects display text, but do not allow user to add text.

Use this object:    When you want users to do this:
Label    Display text and are usually placed next to other object.
Text    Display multiline text.

Specialized input objects

The following objects provide additional ways of capturing input.

Use this object:    When you want users to do this:
ScrollBar    Select values on a continuous range
TrackBar    Select values on a continuous range (more visually effective than a scroll bar)
SpinEdit    Select a value from a spinner widget

Buttons and similar objects

Buttons provide the most common way to initiate an action or command in an application. Button-like objects include:

Use this object:    To do this:
Button        Present command choices on buttons with text
CheckBox        Present on/off options
Switch        Present on/off options

List objects

Lists present the user with a collection of items to select from. Several objects display lists:

Use this object:    To display:
ComboEdit    An edit box with a scrollable drop-down list
ComboBox    An edit box with a scrollable drop-down list
DateEdit     An edit box with a list box for entering dates
TimeEdit     An edit box with a list box for entering times
ColorBox    An edit box with a scrollable drop-down list that lets users select a color.

Display objects

There are many ways to provide users with information about the state of an application. For example, some objects--including Label--have a Text property that can be set at runtime. You can also use ShowMessage actions to show dialog boxes to display messages.

Graphic objects

The following objects make it easy to incorporate graphics into an application.

Use this object:    To display:
Image    Graphics files
Shape    2D graphic primitives

Effect objects

Effect   Creating a Shadow, Blur, Glow, InnerGlow, Bevel and Reflection effects for visible objects.

Animation   Animations modify property values over time. They can be started automatically or manually, both with an optional delay. After the animation has run its course over the defined time period, it can stop, start over, or do the same but in reverse.

DataSet objects

DataSet object is capable of retrieving a result set from one or more tables in a database. The retrieval can be either directly from a table or from one or more tables through an SQL statement. The DataSet objects are DBQuery and DBTable.

DBQuery: Use DBQuery to access one or more tables in database using SQL statements. Retrieve data from tables in a database using SELECT statements.

DBTable: Use DBTable to access data in a single database table. DBTable provides direct access to every record and field in an underlying database table.