Tips

4D for Mobile Tutorial – Your first application

The 4D mobile application generator allows you to create mobile applications for Android and iOS. In the documentation, you have several tutorials to help you get started and even go further with advanced apps.

The first example is simple and allows you to create a contact catalog. All the details can be found here

And if you prefer, here are all the steps in the video:

Product blank

Create your Native Mobile Application with 4D

4D for Android and 4D for iOS allow you to configure, design, build, and deploy native Android and/or iOS apps based on a 4D database. Once generated and deployed, mobile clients can connect to the 4D Server and interact with new or existing data without additional requirements.

4D for Android and 4D for iOS are included in a single integrated 4D component. You can create a mobile project and decide to build it for Android, iOS, or both.

4D handles the complexity and generates an Xcode project in Swift or an Android project in Kotlin. Then, you can reopen them with Xcode and Android Studio and continue to work on them.

This blog post is a compilation of features available in our mobile solution that enables you to build a complete app that goes all out!

Tips blank

A Tailor Made Native App: Place Orders with 4D for mobile

4D v19 R6 and v19 R7 brought two interesting features to 4D for Mobile. Sessions and displaying web pages served by the 4D server in your native mobile app. But did you think about the possibilities you get when combining them both?

This blog post will show you one of these possibilities. We are going to see how to build a simple app that enables mobile users to place orders with their central purchasing office to consolidate their stock:

News blank

4D for Mobile Licenses

We got many questions on the 4D Forum on how licenses work using 4D for Mobile, and this is an excellent time to remind you of the process through this blog post that answers the most frequently asked questions.

Product blank

Sections are Coming to 4D for Android

In a data list, the results are usually sorted on a relevant field to help the user find the desired data quickly and easily. Another trick to make the reading clearer is to group the results by adding sections. 

Something that is possible since 4D v19 R8. Let’s delve into the details!

Product Young asian woman using a smart phone. Mobile communication.

4D for Mobile: What’s New in 4D v19 R8

With every release, the list of 4D for iOS and 4D for Android features is growing bigger. And this feature release is no exception. Without further ado, let’s see what 4D v19 R8 has in store for you:

WHAT’S IN IT?

For 4D for Android (already available in 4D for iOS):

  • Create a choice list from a table field or a JSON file.
  • Use input control with code to retrieve, for example, GPS coordinates or phone numbers in the Contact application.
  • Add a section in list form to group data by the company, for example.
  • Use a custom login form.
  • Improvement of the bottom navigation bar to display more than four tables and follow the Android guideline.
Product blank

4D for Mobile : Get Mobile Users’ Cookies

As you probably know, scalable sessions have been available since 4D v18 R6. They’re a web session type that is able to handle several processes in preemptive mode. This means they can handle several user-agent requests simultaneously and share data between these processes.

Well, 4D v19 R7 greatly enhances this feature and makes it available to 4D for Mobile.

Product blank

4D for Mobile : Display Web Pages in your Mobile Apps

You can already compose views based on templates; dozens of them are at your disposal to beautify your mobile apps. 4D v19 R7 is spicing up things even more by enabling you to display a web page served by 4D using a new preset action: Open URL.

This means four things :

  1. You are now totally free to create your own designs
  2. The user experience remains seamless embedded in your native app
  3. Get updated data in real-time
  4. You can keep user data and offer an optimized user experience using sessions.

You only have to create a web page optimized for mobile devices.

Let’s see how to use it with a simple example:

Product blank

4D for Mobile: What’s New in 4D v19 R7

With every release, the list of 4D for iOS and 4D for Android features is growing bigger. And this feature release is no exception. Without further ado, let’s see what 4D v19 R7 has in store for you:

WHAT’S IN IT?

  • Sort the content of a list form for Android (already available in 4D for iOS)
  • Update to Material Design 3 (for Android only)