4D for Mobile: Interact with other apps

Automatically translated from English

Several formatters have been made available for formatting your data in the list or detail form. For example, a boolean field can be represented as a red or green circle. If you think this is very convenient, then you will love the new features in 4D v19 R5.

Let’s imagine an application with a list of our customers, if we need to go to their offices, it would be really handy to be able to tap on the customer’s address to open Google Maps. Unfortunately on the way, you are stuck in traffic. Don’t panic, just tap on the phone number, and you can choose to send a message or call directly to let them know. 🙂 

Several other formatters are at your disposal, we let you discover them.

Which formatters are available

As a reminder, all these formatters are already available on iOS, this is their equivalent for Android.

 

Address formatter

Open the Google Maps application.

 

Phone formatter

Open a menu to call or to add to user contact.

 

URL formatter

Open an URL in external web view.

 

HTML formatter

Display 4D styled text in a detailed view.

Mail formatter

Open the mail application.

 

How to use it

You can download the formatter from the gallery. Then, unzip the archive and copy the formatter in “/Resources/Mobile/formatter” folder of your project.

Now, the formatter can be selected from the Formats menu, just like a built-in format.

 

For your specific needs, you have the possibility to create your own Kotlin formatters, this tutorial can help you to configure and create it.

Next…

Come and share your creations and ideas on the forum, we are waiting for you.

Vanessa Talbot

• Product Owner •

Vanessa Talbot joined 4D Program team in June, 2014. As a Product Owner, she is in charge of writing the user stories then translating it to functional specifications. Her role is also to make sure that the feature implementation delivered is meeting the customer need.

Since her arrival, she has worked to define key features in 4D. She has worked on most of preemptive multi-threading new features and also on a very complex subject: the new architecture for engined application. Vanessa has a degree from Telecom Saint-Etienne. She began her career at the Criminal Research Institute as a developer for the audiovisual department. She has also worked in media and medical fields as expert in technical support, production as well as documenting new features.