Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!

AndroidAppmethodCode SnippetDelphiDemoFiremonkeyIOSOSXWindows

DataSnap Client Server Calculator Demo With Source Code For Delphi XE6 Firemonkey On Android And IOS

Delphi XE6 Firemonkey DataSnap Client Server Calculator DemoPaweł Głowacki from Embarcadero has a blog post up where he shows how to make a simple client server calculator with DataSnap for Delphi XE6 Firemonkey. This is probably one of the best DataSnap examples I’ve seen because it is so simple. It shows you exactly how to link a server function to a client function and get the results. The demo has two main functions which are Add and Subtract. The Firemonkey based client calls the Add and Subtract functions by passing in two numbers. The actual math operation takes place on the server and the result of the operation is sent back to the client. If you have never used DataSnap before you won’t believe how simple this demo makes it look. The DataSnap server can run stand alone or as an ISAPI/WebBroker (recommended). Best of all is that the client is a Firemonkey mobile project which means it will run on Android, IOS, Windows, and OSX (if you switch the client to a desktop project). This project should also compile in AppMethod.

Head over and check out the full blog post about the DataSnap calculator example source code.

Or download the DataSnap client server Calculator demo directly.

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

Related posts
DelphiDemoFiremonkeyIOSLinuxOSXWindows

Bring OpenAI Agents, Vision, Audio, And Realtime AI To Firemonkey

DelphiIDEWindows

Add AI Pair Programming, Refactoring, And Multi-LLM Workflows To RAD Studio

DelphiDemoFiremonkeyLibraryWindows

Bring OpenAI, Local LLMs, And AI Assistants To FMX Apps

DelphiFiremonkeyLibrary

DelphiGemini Brings Native Google Gemini AI Integration To Delphi

Sign up for our Newsletter and
stay informed
[mailpoet_form id="1"]

Leave a Reply