Home | Sign in | English EN
New WINDEV Mobile 26 feature!
  • In this lesson you will learn the following concepts
  • The sample project used
  • Opening project
  • Enabling the iOS platform
Lesson 4.1. Management application: Overview
In this lesson you will learn the following concepts
  • Which project is used for this part?
  • How to enable a platform?
Lesson duration

Estimated time: 10 mn
Previous LessonTable of contentsNext Lesson
The sample project used
In this lesson, we are going to develop an Android and iOS application that uses an HFSQL Classic database. In the previous lessons, we have already seen how to create projects. Now, we will work on an existing project that already contains the database and the data used by the application.


In iOS and Android, only the HFSQL database is accessible in native mode. Both the Classic mode and the Client/Server mode are available.
HFSQL Classic
In HFSQL Classic mode, the data files are stored on the device (iPhone, iPad, Android phones or tablets).
In this case, the application is stand-alone. No Wi-Fi or 4G connection is required.
The data is stored in the device memory. The maximum storage size depends on the amount of memory on the device.
If the data entered on the mobile device must be synchronized with a database on a server (HFSQL or other), the replication must be implemented (see Replication of mobile data).
In this part, we will develop an application that uses an HFSQL Classic database.


HFSQL Client/Server
In HFSQL Client/Server mode, no data is stored on the device. The data is stored on a machine on which an HFSQL server is installed.
To access this machine and the database, a means of communication with the server must have been enabled in the mobile application (Wi-Fi or 4G) to connect via the network or Internet.
Response times depend on the quality of the Wi-Fi or Internet network and the amount of data requested.
The access to the data will be performed by the Hxxx functions of WLanguage and/or by SQL queries.
Opening project
  • Open the "WM Managing Products" project:
    1. Start WINDEV Mobile 26 if necessary.
    2. Go to the WINDEV Mobile home page (Ctrl + <).
    3. On the home page, click "Tutorial", then in "Part 4 - Development of an Android/iOS" application", double-click "Android/iOS product management (Exercise)".


      A corrected project is available. This project contains the different windows created in this lesson. To open the corrected project, go to the home page and click "Tutorial", then in "Part 4 - Development of an Android/iOS application", double-click "Android/iOS product management (Answers)".
Enabling the iOS platform
"WM Product Management" is a project intended to be used only on Android.. Since this application is also intended to be used on iOS, we will enable the iOS platform in the project.


Reminder: Project configurations make it possible to define the different types of generations supported by the project: Android, iOS, component, ... In cross-platform projects, project configurations allow you to generate the same application for multiple platforms.

  • To enable the iOS platform, simply create a project configuration:
    1. On the "Project" pane, in the "Project configuration" group, expand "New configuration" and select "iPhone/iPad application".
    2. The project configuration creation wizard starts. The wizard proposes to create an iOS platform. Go to the next step.
    3. You can enter information regarding the platform. Keep the default options and go to the next step.
    4. The wizard proposes to choose the type of devices affected by the project:
      • Generate an application for all iPhones and iPads.
      • Generate an application for all iPhones.
      • Generate an application for all iPads.
      • Generate an application for a specific device.


      If the application is intended to operate on several iOS devices (phones with different sizes or with different resolutions for example), we advise you to use one of the following options: "Generate an application for all iPhones and iPads", "Generate an application for all iPhones" or "Generate an application for all iPads".
      In this case, WINDEV Mobile proposes the smallest resolution to create the windows of the application. Using anchors (see Lesson 4.2, "Managing anchors in the Product form") will allow the application to operate on all devices.
    5. For this example, select "Generate an application for all iPhones".
    6. Go to the next step and validate the wizard. The iOS configuration is automatically created.
  • You can check the new project configuration in the "Project explorer" pane:
    1. Expand "Configurations (iOS application)" at the top of the "Project explorer" pane.
    2. The two configurations are displayed:
    3. To select a specific configuration, simply double-click the name of the desired configuration.
    4. The iOS configuration that was just created is automatically selected.
Let's now start developing the application.
  • For the rest of this tutorial, we recommend that you activate the Android configuration.
    1. Expand "Configurations (iOS application)" at the top of the "Project explorer" pane.
    2. Double-click on the configuration name "Android application".
    3. The Android configuration is automatically selected.


The different images illustrating the lessons in part 4 have been created with the Android configuration. Slight differences may appear if you use the iOS configuration (especially in the Action Bar).
Previous LessonTable of contentsNext Lesson
Minimum version required
  • Version 26
Click [Add] to post a comment