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

AndroidAppmethodCode SnippetDelphiDemoFiremonkeyIOSOSXWindows

SSL Enabled REST Client Tutorial For Delphi XE5 Firemonkey On Android And IOS

| Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOS

Delphi XE5 Firemonkey REST Demo | Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOSSarina DuPoint from Embarcadero has a blog post up with a SSL enabled REST client tutorial that connects to the Beats Music API. It uses the TRESTClient components from Delphi XE5 Firemonkey and loads the results into a FireDAC MemTable. The MemTable is then finally linked to a TListView for display. This is also a good demo because it shows a little bit better how LiveBindings work and using the RESTClient with LiveBindings. This demo should work on Android and IOS but you will need to add some special code to enable SSL on IOS. Find out how to enable SSL on all platforms here. One other thing about the demo is that it uses the RESTRequest.Execute function which is a synchronous function and I would recommend either using the RESTRequest.ExecuteAsync function which is an asynchronous function or placing the Execute call within an anonymous thread. Not only will this make your app more responsive but under IOS if the REST call is slow it could cause IOS to close your application.

Head over and check out the full tutorial on building a SSL enabled REST app.

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

Related posts
DelphiDemoFiremonkeyLinuxOSXShowcaseWindows

AutoBlogAI: FireMonkey Client To Leverage LLMs And Generative AI For Blogging

DelphiFiremonkeyShowcaseUtilityWindows

Unleashing Creativity With Song Writer AI: A Deep Dive

DelphiFiremonkeyShowcaseWindows

How To Build Stable Diffusion Text To Image Prompts

AndroidC++BuilderDelphiFiremonkeyIOSOSXWindows

FireMonkey 10.4.2 Features Updated iOS 14, Android 11, And macOS 11 Support Plus Hundreds Of Fixes

Sign up for our Newsletter and
stay informed

Leave a Reply