#1 Re: mORMot 1 » Sample for SynCrossPlatform - fill a TDataset with TSQLTableJSON » 2017-06-20 17:10:00

I am also being interested in that theme.

A (short) sample code would be great :-)

#2 Re: mORMot 1 » Using "mormot" lib with FMX Android - compilation error in "SynZip" » 2017-06-20 17:06:06

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 :-)

#3 Re: mORMot 1 » Using Android (FMX) - SynCommon.pas » 2017-06-20 17:02:04

Oh. Thanks for the hints :-) I'am playing around with mORMot and tried to build an Delphi Android client app.

Ok. I did not know this, and tried to use these units. The first I found out is, that in the unit "SynCrossPlatformREST" the nullable types are not there:

  TNullableInteger  = type variant;
  TNullableBoolean  = type variant;
  TNullableFloat    = type variant;
  TNullableCurrency = type variant;
  TNullableDateTime = type variant;
  TNullableTimeLog  = type variant;
  TNullableUTF8Text = type variant;

Please add @ab :-)

And then I did not understand, how the Interfaces has to be used. I think the IServiceAbstract Interface should be used (a small sample would be great as for using without interface (Calculator), which is added in SynCrossPlatformREST).

But the biggest main missing thing for me is the fact, that no WebSocket connection can be used. PLEASE - I need this :-)) This is because I need the callback functionality, which is really a great thing in mORMot.

Until now I build a small server (windows) and a small client (windows) as samples for me to understand the mORMot basics better :-)
Both works fine including Dataset on client side - but the clientdataset has the problem that (mORMotMidasVCL.ToClientDataSet) the ApplyUpdates button of the DBNavigator (VCL) is never been enabled. Also calling "ApplyUpdates" does not change any data (SQLite) on the server side.
But adding and changing records on client side is possible. Is the issue on my side, or is the class not finished yet, or... ?

#4 mORMot 1 » Using "mormot" lib with FMX Android - compilation error in "SynZip" » 2017-06-17 16:53:12

Coonoo
Replies: 3

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

#6 mORMot 1 » Using Android (FMX) - SynCommon.pas » 2017-06-17 16:31:30

Coonoo
Replies: 5

This library uses the "Contnrs" library. But this is not allowed. So the library can't be compiled. Please change this to "System.Generics.Collections".
After that, the creation of the objects should be changed too.

Board footer

Powered by FluxBB