You are not logged in.
Hello,
We are building an application with Delphi FireMonkey that will need to be able to run on Windows and Android tablets. We are creating the UI in HTML / CSS / JavaScript in part for cross platform and in part because we have more web developers on staff. The Delphi application will essentially have a TWebBrowser on the main form and the web documents being served up by a web server built into the Delphi application. This application is for use by our company's service technicians who will be out in the field often without Internet access so we cannot serve up the web pages over the Internet. The database and the TCP/IP communications with the electronic devices that we sell and service will be handled by the Delphi back end.
Would it be possible to embed a mORMot server into the Delphi FireMonkey application and pull data from it even on the Android device? Or perhaps have the mORMot server as a REST service served up by an embedded web server?
Thank you,
Brian Wheatley
Offline
Only cross platform code runs on Delphi nextgen compiler for Android .
So you can't create a mORMot server on Android with Delphi.
But you can with FPC.
See http://blog.synopse.info/post/2015/03/0 … on-Android
Offline
You could investigate two other possibilities, also to be explored with the help of FPC.
1) make a library (.so) with FPC and export some (ORM) methods to be used directly by you Delphi client.
2) make a localhost server (.so library) with FPC and connect with localhost with your Delphi client (exported methods: StartServer, StopServer).
You have to include this library into your Delphi app.
Offline
You guys are awesome! Thank you!!
Offline