Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Delphi Cookbook
  • Table Of Contents Toc
Delphi Cookbook

Delphi Cookbook

By : Daniele Teti
4.5 (19)
close
close
Delphi Cookbook

Delphi Cookbook

4.5 (19)
By: Daniele Teti

Overview of this book

Intended to refresh the basics of Delphi as well as advance your knowledge to the next level, it is assumed you will know RAD studio and the Object Pascal language. However, if you are not an experienced RAD studio programmer this accessible guide will still develop those initial crucial skills.
Table of Contents (9 chapters)
close
close
8
Index

Introduction


There are situations where if you need a particular Android or iOS feature, FireMonkey doesn't help you. FireMonkey does a very good job in supporting all the common mobile features, but it is still relatively young. This means that not all the APIs have been already imported, polished, and wrapped in nice Object Pascal reusable classes or components. So, what can you do in such cases? The good news is that you can import classes from the underlying SDK (and NDK, in case of Android) and wrap them just like Embarcadero does on the FireMonkey platform.

In this chapter, we'll see some classes import examples. Keep in mind that the code using imported classes is not cross platform. That is, if you import an Android SDK class and your code uses it, you lose the possibility to compile that specific code for iOS. However, you can, as usual, use some IFDEFs to statically select the Android-specific code from the iOS-specific code.

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Delphi Cookbook
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon