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 XE5 Firemonkey REST DemoSarina 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.

close

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

Related posts
AndroidC++BuilderDelphiFiremonkeyIOSOSXWindows

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

DelphiIDEShowcaseWindows

Ryzen 9 5950x: One Billion Lines Of Delphi Code Compiled In ~5 Minutes On 16 Cores

DelphiFiremonkeyIDEIOSOSXWindows

DelphiCon 2020 FireMonkey Sessions Available Starting November 19

AndroidC++BuilderDelphiDemoFiremonkeyWindows

Powerful Commercial Gorilla3D Framework Upgraded For Delphi FireMonkey On Windows And Android

Sign up for our Newsletter and
stay informed

Leave a Reply