You are not logged in.
Pages: 1
I am also being interested in that theme.
A (short) sample code would be great :-)
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 :-)
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... ?
I have set the "ANDROID" compiler switch, but this does not help.
Did somebody compile a mORMot app using FMX Android and uses "mormot"?
Please change this for all libraries
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.
Pages: 1