/Dave

About Dave

This author has not yet filled in any details.
So far Dave has created 57 blog entries.

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

Targeting Android 8 and higher

By | 2018-07-03T07:54:59+00:00 May 17, 2018 11:22 pm|Uncategorized|

From August 2018, all new apps on Google Play must target Android 8 (API level 26) or higher, and from November 2018, all app updates on Google Play must do the same. If your app also needs to request "dangerous" permissions, this article will help you achieve that. Note: The demo in this article [...]

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

Supporting iPhone X display with Delphi

By | 2017-12-13T15:02:52+00:00 November 17, 2017 5:32 pm|Uncategorized|

iPhone X has recently been released, and Delphi developers are a little in the dark about how their apps can support the new devices. This article goes some way to make a start in the right direction. Update 2: Delphi Tokyo 10.2.2 now supports the new layout on iPhone X, including launch images, so [...]

CodeRage XII is coming!

By | 2017-11-03T11:56:18+00:00 November 3, 2017 11:56 am|Uncategorized|

This is one CodeRage you won't want to miss. Specifically, because there are some very interesting speakers this year, including Uncle Bob Martin (author of The Clean Coder, and many others) and Steve McConnell (author of Code Complete and Software Project Survival Guide), and some sessions will be live only (i.e. without replay). CodeRage XII [...]

Delphi Worlds Slack Team

By | 2018-03-24T10:12:28+00:00 September 21, 2017 3:15 pm|Resources|

"Slack" is an internet collaboration tool that seems to be gaining popularity pretty quickly. I've been using it for over a year now, and have set up a team for Delphi Worlds.I have channels dedicated to discussing the Kastri Free library, as well as other channels, and just discussing Delphi in general.If you'd like to [...]

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

Show Buttons
Hide Buttons