As you probably know, computed attributes are available starting from 4D v19 R3. A blog post is available that presents this great new feature.
As we always propose the best and complete user experience to our mobile app developers, computed attributes are compatible with all your iOS and Android projects.
4D for iOS gives you the ability to define actions that automatically call a 4D method linked with an event on the smartphone. For example, using them, you can execute 4D code, manage and edit your app’s content using parameters, and, more recently, sort your app’s content easily using sort actions!
Defining sort criteria and action parameters has been improved to make things easier and help you work more quickly and efficiently.
With 4D for iOS, we are always thinking about mobile-friendly features. The primary purpose is to help developers provide the best user experience for their mobile applications. And that’s why, with 4D v19 R3, we’re shipping action input controls.
Until now, custom formatters allowed you to match text or images to the contents of a field, such as replacing true/false with an image or 1, 2 with text labels. 4D v19 R3 allows you to create action input controls available from actions forms, such as creating a choice list with predefined text. And even better, this list can be dynamically filled using a datasource such as a list of employers. Let’s delve into the details!
We are pleased to announce that a new version of 4D is available with new features for 4D for iOS and 4D for Android.
WHAT’s in it?
For both 4D for iOS and 4D for Android:
- A new feature of 4D allows you to add computed attributes to an entity. These new attributes can also be used in the list and detail forms of your mobile application.
For 4D for iOS only:
- You can create action input controls of type choice list. The choice list can be a predefined list in a JSON or a dynamic list filled using a data source.
- In your actions and input controls, you can use computed attributes to simplify your code.
For 4D for Android only:
- The N to one relation is available, so you can display relative data in a list, and decide which field(s) from the related table to publish in your app
- You can test and debug the generated application on your device.
Several blog posts detailing the different features are listed in this post.
Several predefined actions that help your app users manage their content were already available in the Action section: “Add,” “Edit,” “Delete,” and “Share”. 4D v19 R2 introduces a new one, and you’re going to like it! You can now create Sort actions to sort local app data.
For some time, you’ve been able to create your own custom data formatters and convert strings, booleans, or integers to images in your generated app.
This new 4D v19 R2 feature will allow you to take full advantage of those formatters for iOS and Android, and make sure images look good in both light and dark appearances.
Let’s see how!
That also includes a crucial step: choosing a main color for the app. That’s why, since the introduction of 4D for iOS, the main color of your mobile application was defined by the dominant color of your application’s logo.
With 4D v19 R2, we’re giving you a feature that lets you easily define the main color of your iOS and Android app, by selecting it from a color picker fully integrated into the project editor.
For a few weeks, you’ve been able to use the offline action feature, and we’ve already obtained great feedback about it.
As we’re constantly improving the product’s features set, application users can edit and retry sending pending tasks that failed due to server validation. Let’s see how it works.
We are pleased to announce that 4D for Android is available with 4D v19 R2.
Many features are already available, and with each new release, we’ll enrich the possibilities so that 4D for Android’s features match those of 4D for iOS.
What’s best is that the same mobile project can generate both native iOS and native Android apps. We made sure to provide very similar user experiences on both platforms while still respecting their standards.
how to extend your application and go mobile
The mobile project editor is fully integrated into 4D. You can design and build native iOS and Android apps quickly and easily without programming. If you want to go further, you can open the generated application with Android Studio or Xcode and customize it with Kotlin or Swift.
The other big advantage of a native application is that you can access the data even when you’re offline.
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