/2018

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

Show Buttons
Hide Buttons