first of all, I invite you all to check more in this topic (some screenshots):
http://forum.lazarus.freepascal.org/index.php/topic,32090.0.htmlxinyiman, hi, no, I did not test db connections, but I tested network connections with Synapse, and works perfectly normal. Thus, I do expect all the db to work normally as well.
I want to mind you thoug - once you create app with lazarus and compile on the phone, it will be an app for X server. The Ubuntu phone does not have X server itself, because it is instead using Mir. So what does that mean for an average Joe? Well, it means that, in order to run your app on the phone, as far as of current state of things, you want to install Libertine on the phone, and then also install XApps scope.
Libertine is a container for all the x software. Unfortunately, currently, I was not able to get Lazarus/FPC to work under Libertine. I am using my own container for this purpose. Workflow is as follow:
1. I create lazarus app in my own container. (user doesn need it, only for developer)
2. I give the app do user, who needs to install it inside his/her Libertine container.
3. I provide user with .desktop launcher so that XApps scope can enlist the app with its icon on the phone. Now user will be able to use the app on the phone.
Known limitations:
The way x apps run on the phone is via so called xmir. It has few particularities, among, the biggest one, any form will become client to the entire screen. Event if you designed it to a custom size - it will stretch to the entire screen. You need to keep that in mind when designing your app.
Also, you won't really benefit from multi windowed designs, unless you design it for a scenario where you can only ever see one form at a time. Which anyways, seems to be the standard way for all the mobile platforms these days anyways.
Finally, the Lazarus, AFAIK, does not provide things like Scale property known from FireMonkey, so the app will go really tiny in terms of fonts and control size on a high DPI screens, like all the modern phones have. You will want to make sure that you enlarge your fonts and control sizes to make up for this. What looks big on the desktop screen, will look tiny on the phone. Unless off course, on your desktop you are also using high DPI screen.
Additional info: currently, and until Lazarus/FPC works inside Libertine, your only shot is to use it in your own custom made container, and via SSH with X forwarding. That means, you will need Linux desktop environment to go with it if you want to develop. I am using Ubuntu on all my devices and computers, so works like a charm.