/General tips

Integrating iOS support with Delphi’s FCM

By |2019-10-09T10:17:24+10:30October 2, 2019 7:21 am|Code tips, General tips, Patches|

Before the release of Delphi 10.3.2, Embarcadero released a patch for including FCM (Firebase Cloud Messaging) for Android in your apps, and now that support is included in Delphi 10.3.2. This article describes how to include support for iOS in FCM. UPDATE: With many thanks to Antonello Carlomagno, the iOS implementation now has been [...]

Using iOS simulators with Delphi

By |2019-08-07T18:09:08+10:30August 7, 2019 6:05 pm|General tips|

If you're starting with a newer version of Xcode on the Mac, you will find that the iOS simulators supplied will not work with Delphi (as at version 10.3.2). In this article I describe the procedure for working with the older iOS simulators. Adding older simulators in Xcode Open Xcode on the Mac, and [...]

Notarizing your macOS 64 bit apps built with Delphi

By |2019-07-26T10:49:32+10:30July 24, 2019 1:32 pm|General tips|

The recent release of RAD Studio 10.3.2 includes being able to compile your apps for macOS 64-bit, and allows you to notarize your apps right from the IDE. In this article, I cover the notarization process from end to end. What is Notarization? Notarization is the process of "signing" your macOS application so that [...]

Firebase Cloud Messaging, revisited

By |2018-10-31T11:57:45+10:30August 12, 2018 5:41 pm|Code tips, General tips|

A little over a year ago, I posted a two part article about integrating Firebase Cloud Messaging in your Delphi mobile apps. This time, it's a single part article because much of the work is done for you, or is simplified. The code in this article was built and tested using an install of [...]

Connectivity checker for mobile, revisited

By |2018-07-15T15:07:05+10:30July 15, 2018 3:07 pm|Code tips, General tips|

Nearly 5 years ago I wrote an article for checking whether a mobile device has an internet connection. This article revisits that solution, dropping the "less-used" functionality, however it also gains an important feature. The code and demo for this article was written and tested on Delphi Tokyo 10.2.3, however it should work on earlier [...]

Moving controls into view when the virtual keyboard is shown, revisited, again!

By |2019-02-05T13:52:23+10:30July 7, 2018 11:09 am|General tips|

In this article I revisit (again) the seemingly perennial problem of controls being obscured by the virtual keyboard when it appears. The code related to this article was tested with Delphi Tokyo 10.2.3, however it may work with earlier versions. TL;DR: The demo code is part of, and relies on units from the KastriFree project. [...]

Monitoring location updates on Android

By |2018-01-19T19:14:51+10:30January 19, 2018 6:52 pm|Code tips, General tips, Using APIs|

Monitoring location updates on Android in a consistent fashion (e.g in a service, and while the screen is locked) can be quite a challenge. This article tackles the problem head-on The code discussed in this article was designed using Delphi 10.2 Tokyo Release 2, however it should at least work on Berlin, and possibly [...]

Show Buttons
Hide Buttons