Book Image

Expert Delphi

By : Paweł Głowacki
Book Image

Expert Delphi

By: Paweł Głowacki

Overview of this book

Delphi is the most powerful Object Pascal IDE and component library for cross-platform native app development. It enables building natively compiled, blazingly fast apps for all major platforms including Android, iOS, Windows, Mac, and Linux. If you want to build server-side applications, create web services, and have clear GUIs for your project, then this book is for you. The book begins with a basic primer on Delphi helping you get accustomed to the IDE and the Object Pascal language and will then quickly move on to advanced-level concepts. Through this book, we’ll help you understand the architecture of applications and will teach you the important concepts of the FireMonkey library, show you how to build server-side services, and enable you to interact with the Internet of Things. Towards the end, you will learn to integrate your app with various web services and deploy them. By the end of the book, you will be able to build powerful, cross-platform, native apps for iOS and Android with a single code base.
Table of Contents (14 chapters)

Connecting to things with ThingConnect

We have seen the steps to connect to an arbitrary BLE device using the TBluetoothLE component. For certain popular services, this can be even easier. Delphi comes with a number of components that simplify working with standard services such as, heart rate monitors, blood pressure monitors, and proximity sensors. There are also components available in GetIt for working with specific devices from specific vendors using not only BLE, but also other IoT protocols, such as Z-Wave.

Under the Tools menu, you can find the GetIt Package Manager. In order to use GetIt, you will need to have an internet connection. Over time, more and more new and updated software is available in GetIt. One of the available components in the IoT category is generic Heart Rate Monitor as shown in the following screenshot:

Heart Rate Monitor component available in the...