#1 2017-06-17 16:53:12

Coonoo
Member
Registered: 2017-06-17
Posts: 6

Using "mormot" lib with FMX Android - compilation error in "SynZip"

I have set the "ANDROID" compiler switch, but this does not help.
Did somebody compile a mORMot app using FMX Android and uses "mormot"?

Offline

#2 2017-06-18 10:11:17

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: Using "mormot" lib with FMX Android - compilation error in "SynZip"

As documented, mORMot compiles only with FPC for Android.
Main mORMot source code (i.e. client and server classes) won't compile with Delphi.

What is supported is to generate a Delphi Android client, using the cross-platform units.
See https://synopse.info/files/html/Synopse … DE_TITL_86
Then you will be able to consume a mORMot server using a FMX client.

Offline

#3 2017-06-19 19:12:07

turrican
Member
From: Barcelona
Registered: 2015-06-05
Posts: 94
Website

Re: Using "mormot" lib with FMX Android - compilation error in "SynZip"

Thanks to mORMot SOA + REST + JSON you can consume like a regular HTTP REST standards with an HTTPClient.

Offline

#4 2017-06-20 17:06:06

Coonoo
Member
Registered: 2017-06-17
Posts: 6

Re: Using "mormot" lib with FMX Android - compilation error in "SynZip"

I do not want to create a server on Linux or Android. I just wanted to create a Android client.

@AB -> Thanks for the hints in the other Topic I have posted. So this here can be closed :-)

Offline

Board footer

Powered by FluxBB