ok ... the situation is far from production ready for any platform ...
for the prototype i will go with hybrid UI but with pascal json server for the data ...
mobile angular ui or framework7 backed by a custom made rest server.
aside i will try the components for android (Laz4android) and the custom drawn widget set ...
last question - on android are device hardware option supported - i mean geolocation and camera for example?
Hello Blestan. I'm a newbie in this Lazarus Android area. I can't tell you much how well or not the recent development of Android support. But here I can share what I found in LAMW:
Components provided by LAMW for Android development in the component tabs are:
jMenu, jContextMenu, jTextView, jEditText, jButton, jCheckBox, jRadioButton, jRadioGroup, jProgressBar, jRatingBar, jSeekBar, jSpinner, jAutoTextView, jGridView, jListView, jScrollView, jHorizontalScrollView, jActionBarTab, jPanel, jCustomDialog, jChronometer, jDigitalClock, jAnalogClock, jSwitchButton, jToggleButton, jImageBtn, jWebView, jImageView, jImageList, jDrawingView, jSurfaceView, jBitmap, jView, jCanvas, jCanvasES1, jCanvasES2, jDatePickerDialog, jDialogYN, jDialogProgress, jNotifactionManager, jIntentManager, jBroadcastReciver, jSensorManager, jContactManager, jMediaRecorder, jMediaPlayer, jDownloadManager, jDownloadService, jAlarmManager, jSMS, jCamera, jLocation, jPrefernces, jTextFileManager, jImageFileManager, jShareFile, jHttpClient, jSMTPClient, jTCPSocketClient, jTimer, jAsyncTask, jBluetooth, jBluetoothClientSocket, jBluetoothServerSocket, jSqliteDataAccess, jSqliteCursor, jShellCommand, jDumpJavaMethods, jMyHello
I'm not a cult fanatic who will try to convert you.
Oppositely, I will tell you don't use Lazarus/FPC to build commercial projects. At least for now.
I started to learn how to use Lazarus to develop Android apps a year ago. Many months of experiments wasted without any progress. So started to think what went wrong. I changed my strategy. I read the documentations thoroughly, I visit the forum frequently to hear people sharing their experiences about Android development, and I learned how to cross compile.
Now, I get the result. I'm now able to write OpenGL ES 2 animation apk that can run on Android both ARM and Intel targets. Isn't it great
. Yep, but I found several bugs that I'm sure that's not my fault. I still haven't submit any bug reports, because those issues are hard to explain.
So, it is sad to tell you don't use Lazarus/FPC if you're going to build commercial Android apps. I still use and learn it, because I'm having fun playing it. It can be your toy, but not your tool.
And you've been told, there is no unified GUI library. Several options are available.
Laz4android + Custom Drawn is great. This combo was my first choice. Unfortunately the development seems stopped and there has a bug I can't tolerate. After months of waiting, I gave up and tried Lazarus Android Module Wizard alias LAMW. Sorry to say
, both are buggy. But LAMW was and is still improving. The documentation is okay, but no tutorial. Luckily it's packed with lots of demos to show how to use each of the components.
I heared some people succeed to use JVM to build Android apps. There is also attempts to use SDL to generate codes that can compile easily on both PC and Android. Bravo! Although my first try failed, but seems very promising.
ssst ... don't use Lazarus/FPC to build commercial apps.
I've warned you.