/General tips

Connectivity checker for mobile, revisited

By | 2018-07-15T15:07:05+00:00 July 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 | 2018-07-07T11:10:15+00:00 July 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+00:00 January 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+00:00 May 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-01-24T17:45:19+00:00 May 9, 2017 10:11 pm|Code tips, General tips, Resources, Using APIs|

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 Delphi apps for Android and iOS. Firstly, some acknowledgements: Many thanks to Stephane Vanderclock (aka Loki) from whom I gleaned much information, for [...]

Handling Firebase Cloud Messaging on Android and iOS

By | 2017-05-21T08:19:50+00:00 April 6, 2017 2:05 pm|Code tips, General tips|

Discover how to handle push notifications sent from Firebase Cloud Messaging (FCM) for Android and iOS UPDATE: For anyone who has downloaded the demo prior to May 17th, 2017, there have been 2 changes: A UseSandbox property has been added to TPushClient, that determines whether the registration is for test apps, and activation of [...]

Taking screenshots of your Android device using Monitor

By | 2017-02-19T10:32:20+00:00 February 17, 2017 8:02 am|General tips|

This technique can be used for any Android development (or just for Android in general), however I figured Delphi developers might find this useful anyway. While working on some changes for a client's application, they asked for some screenshots from the device to send to the end users for their approval. My first thought [...]

Show Buttons
Hide Buttons