Getting Started with Delphi Mobile App Development
This 1 day Delphi training course will introduce you to mobile development with Delphi for both iOS and Android Development using the Firemonkey framework.
- We will go through the steps of setting your environment up for mobile development for iOS and Android including setting up devices.
- We will get an introduction to the main differences in developing apps for mobile devices vs desktop applications.
- We will see how to make the apps look good on all sizes of devices using the FireUI framework.
- We will get an introduction to various gestures working on mobile devices like the swipe gesture.
- We will learn how to store data locally on the device
- We will learn how to get devices talking to other devices with Bluetooth and over the wifi.
- We will get into using the devices built in devices like the camera
- We will see how we can monitor an apps memory consumption and how to deal with it on mobile devices.
- We will go through applying various styles on the app.
The training is aimed at programmers who want to get a sound introduction to building apps for mobile devices using Delphi.
The course requires at least some experience in programming, preferably in Delphi.
The course will be as much hands on as possible. Some of the examples will be with iOS apps, some with Android apps and some with both.
For deploying iOS apps you will need to use a Mac Computer with Xcode and Xcode command line tools installed. (We will go through how to do this, but won’t spend the
time doing it. This can be time consuming.)
You also need to be registered as an Apple developer with Apple. This may take up
to several weeks, so you will have to have done that beforehand.
For deploying Android Apps you will need to have the specific ADB driver installed
for the specific device. (We will go through how to do this, but will not spend the time
doing it, this can be time consuming.)
Delphi professional with mobile add-on, or Enterprise version.
My recommended setup is (This works for me, if you get it working differently, thats
- A MacBook Pro with at least 8 GB RAM, running the newest OS from Apple with the
newest Xcode installed.
- On the Mac use VMWare Fusion newest version to run a Virtual Windows machine
on which you have the newest version of Delphi running.
- Use a fairly new iOS device (iPhone, iTouch or iPad) that can run the newest version
- Use a fairly new Android device that can run the newest version of Android. I
strongly recommend using Googles own device (I have a Nexus 5 phone and a
Nexus 7 tablet), as there will be no skins or third party settings to disturb. Also
installing the ADB driver is different from device to device, and the course will go
through the Google ADB driver only.
I do not recommend using simulators or emulators to develop mobile apps.
Setting up your environment for deploying apps to mobile devices. Android and iOS.
The steps to do this will be shown, but we won’t spend loads of time to get it working
for every single setup for every single device.
Differences in various areas desktop vs mobile.
We will look at the differences with strings, TStringList, memory management and so
Fine tuning the look and feel of an app, so it will fit all (well, most) devices crispy
We’ll see how to make the appearance of the app change slightly depending on the
actual device its running on. For this we’ll use the FireUI framework built in Delphi.
Swipes and other gestures.
Users are accustomed to swiping on their device. We’ll see what steps we need to
take to let the user swipe his way through an app.
We’ll see how to build an app where you can store data locally on the device. Storing
local data can be done using databases or files. We’ll go through both.
User interface elements
We’ll go through various elements that build up an app, like ListViews, ListBoxes, styled buttons, tab sheets and the likes.
Talking to peripherals
Mobile devices often interact with IoT (Internet of Things) or even other devices. Lets see how we can react to beacons, heart rate monitors or even other mobile devices and computers using bluetooth and wifi.
Built in devices
Tablets and phones have built-in gadgets like the camera, a gps or other thing. We’ll see how to talk to some of these.
Memory – battery consumption
Some things we have to pay attention to with mobile apps are memory and battery consumption. Lets see how we can monitor the consumed memory and how we can check the battery consumption of our app.
Styling the app
We’ll go through how to style an app using some various styles for building apps.
After the day you should have enough knowledge to get started building apps for mobile devices, whether its for iOS or Android.