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

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

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

Making cross-platform apps with Delphi is easy

By |2017-10-27T06:33:30+10:30May 15, 2017 8:38 pm|Code tips, General tips, Uncategorized, Using APIs|

Developing software with Delphi is easy regardless of "cross-platformness", relatively speaking, in comparison to other tools I've used, however this article shows how insanely easy it can be to put together an application that runs on iOS, Android, Windows and MacOS. UPDATE: Developer Jerry Dodge has alerted me to this project of his, called [...]

Adding Firebase Cloud Messaging to your mobile apps – part 1

By |2018-09-06T11:28:02+10:30May 9, 2017 10:11 pm|Code tips, General tips, Resources, Using APIs|

NOTE: This article has been revisited, here. Please read that article as the code has now been updated to use that method. Firebase Services from Google are becoming very popular, and Firebase Cloud Messaging (FCM) is just one part of it. In this article I show how you can incorporate support for FCM in your [...]

Handling the new iOS 10 privacy settings

By |2018-11-01T18:54:39+10:30September 21, 2016 5:14 pm|Code tips|

With the introduction of iOS 10, a number of privacy settings need to be handled in your Delphi apps. You may have arrived at this post because you've installed Delphi 10.1 Berlin Update 1, installed Xcode 8 on your Mac, added the iOS 10 SDK to Delphi, recompiled your app that uses the camera [...]

Show Buttons
Hide Buttons