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. delphi fmx samples
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. Never use absolute paths like C:\data
Downloading a sample is not enough—you must adapt it correctly. Graphics & Animation
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.
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.