Debug your mobile apps on Android devices

You have made your first application with 4D for Android. Congratulations!

After visualizing the simulator’s result, you want to test it on your smartphone to appreciate the interaction, the fluidity…

It’s straightforward! All it takes is one action on the smartphone and another one in the project. Let’s see the details.

Smartphone side

A manipulation is necessary on your phone to allow communication between your development machine and your phone. You need to enable USB Debugging in the Developer Options settings. If you can’t find the Developer Options item in your settings, you need to do some magic by clicking 7 times on the build number. 🙂 

If you can’t find it or don’t understand it, don’t panic; read this Android user guide, which explains how to do it depending on the Android versions.

Mobile Project side

First, plug in your smartphone. Then, select your physical device from the list, and click on “Build and Run.”

For Windows developers, you need to install a USB driver corresponding to your device. 

You can find the details here.


And if you’d like to continue customizing your application, try out the templates from the gallery available on GitHub. You can also enrich the community by sharing yours.

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.