4D for Mobile Tutorial – Define filter queries
For a mobile application, data is usually filtered to preserve storage space and provide direct and quick access to essential data.
With 4D, you have two types of filters.
- A static filter to filter the data for a table. For example, limit to tasks with the status ‘in progress.’
- A dynamic filter depends on the user’s information. For example, return only the user’s tasks.
This tutorial will show you how to use and combine these two filters.
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:
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!
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!
Test your Windows SDI Application
It’s been a long time since you could provide your customers with merged applications in SDI mode.
We know that testing an SDI application can be challenging, so with 4D v19 R8, you can view the result of your application without the need to build your standalone or client application.
Keep reading for all the details.
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.
Build your Compiled Structure or Component with Build4D
With the introduction of the project mode, it’s pretty easy to manipulate the components of your projects.
In the last few feature releases, we have added several functionalities that allow you to create your own build chain adapted to your team, your working methods, and your needs.
For example:
- Launch a compilation by programming,
- Zip/unzip files and folders with these commands,
- Easily Manage your Application’s Information,
- Headless 4D applications to integrate it into a build tool.
To help you create your own build chain or integrate 4D into a continuous integration tool, we have developed a component named Build4D, available on GitHub with the sources.
For this first step, Build4D allows you to create a compiled structure and a component. We will continue to enrich it to enable you to manage a single-user application, client application, or server application.
A coat of paint on the structure editor
The structure editor is a crucial element of your project. First of all, it allows you to create your structure. But above all, it will enable you to visualize your tables, fields, and relations during your developments, which is always helpful for manipulating data.
Say Hello to Rounded Corners
The current trend is for light, clean, soft colors and rounded corners.
For you to embellish your applications and follow the latest trends, we have added the possibility to round the corners of static texts and input texts.
4D for Android: Say Hello to Material Design 3
To ensure that your application follows the latest design trends and that your users are blown away by a minimalistic, stylish, and great looking, we have updated the Material Design library.
Contact us
Got a question, suggestion or just want to get in touch with the 4D bloggers? Drop us a line!
* Your privacy is very important to us. Please click here to view our Policy