Send WinRT API Notifications In #Delphi XE8 Firemonkey On Windows 10

Delphi XE8 Firemonkey Windows 10 NotificationsDeveloper Marco Cantu from Embarcadero released a VCL example for sending Windows 10 notifications with Delphi XE8. I have converted this example over to Firemonkey. Apparently Windows 10 has a notification system vary similar to the notification system in Android and IOS. The first thing you need to get this example working is to install the WinRT API by clicking Tools|GetIt Package Manager in the Delphi XE8 IDE. I did have to make a few changes to the code for it to compile under FMX. These were converting Application.Handle to FmxHandleToHWND(Form1.Handle), converting Application.ExeName to ParamStr(0), and adding Winapi.Windows to the units section for MAX_PATH. I don’t have a Windows 10 machine so you’ll have to compile it and see if it works for you. Under Windows 8.1 it compiles and runs without errors. You should also be able to use this code with Appmethod.

Download the source code for sending Windows 10 notifications with Delphi XE8 Firemonkey.

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Send WinRT API Notifications In #Delphi XE8 Firemonkey On Windows 10 by Delphi XE5 XE6 XE7 XE8 10 Seattle Berlin Firemonkey, Delphi Android, Delphi IOS is licensed under a Creative Commons Attribution 4.0 International License.

Leave a Reply

Show Buttons
Hide Buttons
Read previous post:
Delphi XE8 Firemonkey Google DataStore Apple CloudKit API Android IOS
Google DataStore And Apple CloudKit Access In Delphi XE8 Firemonkey On Android And IOS

TMS Software has upgraded their TMS Cloud Pack for Firemonkey to include new integration with Google DataStore and Apple CloudKit....