Delphi

Learn How To Replicate A TFDMemTable Into An IBLite Table With FireDAC In Delphi 10.2 Tokyo

The Field Service Template client app has offline capabilities which allows you torecord changesoffline without an internet connection. Later updates can be sent back up to the RAD Server once an internet connect is detected. One of the pieces of code in the Field Service Template client app that makes this possible is a function which will take the FireDAC JSON that is received from…
Read more
C++

Secrets Of FireDAC: Dynamic Where Clause Using Conditional Substitution Macros

If you are using FireDAC and building your SQL queries manually you may be using more verbose code than is needed. FireDAC has a feature called Macros which allows you to do a variable substitution in your SQL query similar to parameter substitution but for raw SQL. However, in addition to macro substitution you can combine it with conditional substitutions which lets you do the real magic. If you…
Read more
Delphi

What is my IP address?

Author: Pawe Gowacki There are many situation when it would handy to know the IP address of a device where our app is running. Maybe you want to identify who is running your app? By IP address it is also possible to calculate the approximate location of a device. If you…
C++

How to control "the system audio volume" of iOS

Author: h.mohri Use C++Builder 10.2 to control audio volume of iOS. I used the MPVolumeView class of iOS. The MPVolumeView class is declared in “iOSapi.MediaPlayer.hpp”. Include two files. #include <iOSapi.MediaPlayer.hpp> #include <iOSapi.UIKit.hpp> Form design Arrange “Up” and “Down” two TButton. Use this button to control the volume. Add MPVolumeView to…
Read more
Delphi

FireMonkey on Linux!

Author: Pawe Gowacki It did not take long since the release of Delphi Linux compiler to have the ability to build Linux GUIs with Delphi! Just go to http://fmxlinux.com and get the only currently available download of FireMonkey for Linux which is “Free Trial v…
C++

Changing the color scheme of an Android style

Author: Felipe X60228 In this post, we’ll show you how to use the Bitmap-style designer to change the color scheme of an Android-style you’ve created in IDE Software. Step 1: Select one of the Style Templates Open the Bitmap Style Designer via the Tools menu in the IDE.  Select New > New Android Light Style. You can choose any of the style templates provided here. but for this blog…
Read more