LiveBindings REST Client Demo With Two Hidden Gems For Delphi XE6 Firemonkey On Android And IOS

Delphi XE6 Firemonkey LiveBindings REST Client TutorialDeveloper Superlevin has a blog post up where he explains how to consume a REST service with LiveBindings in Delphi XE6 Firemonkey. He also points out a hidden gem buried in the Delphi samples directory. The blog post is in Chinese so you’ll probably need to use a translator (like Google Chrome) on it but in provides a pretty detailed tutorial on consuming the REST service. The service he uses is from the city government of TaiPai and it returns JSON data containing a list of hotels. He shows you what components you need to add and how to changed the settings so they connect to the REST service and then output the results for consumption by LiveBindings. The results come into a RESTResponseDataSetAdapter component and then are output to a TListview. Using the REST Debugger is also demonstrated. Now here is where the hidden gem comes in. Deep within the Embarcadero \ Studio \ 14.0 \ Samples \ Object Pascal \ Mobile Samples \ User Interface \ ListView directory there are two packages that you can compile and install into the IDE. They are a Listview Multi Detail Appearance package and a Listview Ratings Appearance package. Once you install these into the IDE you will be able to have a TListViewItem that contains three lines of data instead of just one and a TListViewItem with a ratings element. This sample should work on all Firemonkey platforms which are Android, IOS, Windows, and OSX in addition to compiling in AppMethod.

Head over and check out the full tutorial on building a LiveBindings REST client and then download the source code.

Or head directly to the sample source code for the Delphi XE6 REST client demo on Github.

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

LiveBindings REST Client Demo With Two Hidden Gems For Delphi XE6 Firemonkey On Android And IOS 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.

2 Responses to LiveBindings REST Client Demo With Two Hidden Gems For Delphi XE6 Firemonkey On Android And IOS

  1. Pingback: Add Multiple Details And Images To TListView In Delphi XE6 And XE7 Firemonkey On Android And IOS | Delphi XE5 XE6 XE7 Firemonkey, Delphi Android, Delphi IOS

  2. Elço Alves says:

    Achei interessante, mas queria algo como do celular conectar a banco de dados firebird remoto

Leave a Reply

Show Buttons
Hide Buttons
Read previous post:
Delphi XE6 Firemonkey Zip File Component
Create And Extract Zip Files In Delphi XE6 Firemonkey On Windows, OSX, Android, And IOS

Humphrey. Hyunsoo Kim has a blog post up where he highlights the System.Zip unit which comes with Delphi XE6 Firemonkey....

Close