Home/General tips

Cross-platform location monitoring

By |2020-06-08T11:21:39+10:30January 3, 2020 12:14 am|Code tips, General tips, Patches|

Previously, I have written two articles on monitoring location changes: one for iOS, and one for Android. This article and the related demo brings everything up-to-date and merges support for both operating systems. STTP (Straight To The Point - I'm coining an acronym to replace TLDR) If you're just after the demo, you may find [...]

Integrating iOS support with Delphi’s FCM

By |2020-01-04T08:29:01+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 |2020-08-22T07:36:00+10:30August 7, 2019 6:05 pm|General tips|

Important note: As of Delphi 10.4, it's near impossible to make an app work with the older iOS simulators. 10.4 users will need to wait until an update that supports the newer simulators. If you're starting with a newer version of Xcode on the Mac, you will find that the iOS simulators supplied will [...]

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. [...]

Go to Top