Delphi Fmx Samples May 2026

Elowen Wilson
2024-11-25

Never use absolute paths like C:\data.json in cross-platform samples. Replace with TPath.Combine(TPath.GetDocumentsPath, 'data.json') (requires System.IOUtils).


Embarcadero (the company behind Delphi) provides an extensive collection of samples directly within the IDE and on their public repositories.

  • Graphics & Animation
  • Multimedia & Input
  • Platform Services & Native Interop
  • Networking & Data
  • Maps & Location
  • Cross-platform Deployment
  • Performance & Debugging
  • Samples showcasing third-party libraries or integrations (e.g., graphics engines, BLE, sensors).
  • Why you need it: Mobile apps need push notifications. Key sample: NotificationDemo – uses TNotificationCenter and platform-specific entitlements (Apple Push Notification Service, Firebase Cloud Messaging). Lesson learned: Notifications require an HTTPS backend and device tokens. The sample shows local notifications, but it also includes commented code for remote pushes.

    Downloading a sample is not enough—you must adapt it correctly.