Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2017-07

Android & iOS

10 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marcos Douglas B. Santos

Hi,

Direct to the subject:
Can I create Apps for Android and iOS using Lazarus nowadays?

I've seen frameworks like Castle-Engine that have a Tool which claims to be more easy to building and packaging Apps:
https://github.com/castle-engine/castle-engine/wiki/Build-Tool

This framework looks like a piece of art, but I'm more interested to build business applications with Forms, Grids, Lists and so on.

I believe that Ionic framework is a good choice to build mobile apps, but if could have such apps using Free Pascal and Lazarus, would be nice.

Can I do that using Lazarus and its default widgets?

Thanks.

Best regards,
Marcos Douglas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170704/7584b3d2/attachment.html>

Reply by email

Michael Van Canneyt
to Marcos Douglas B. Santos
Marcos Douglas B. Santos wrote 16 lines
Hi, Direct to the subject: Can I create Apps for Android and iOS using Lazarus nowadays? I've seen frameworks like Castle-Engine that have a Tool which claims to be more easy to building and packaging Apps: https://github.com/castle-engine/castle-engine/wiki/Build-Tool This framework looks like a piece of art, but I'm more interested to build business applications with Forms, Grids, Lists and so on. I believe that Ionic framework is a good choice to build mobile apps, but if could have such apps using Free Pascal and Lazarus, would be nice. Can I do that using Lazarus and its default widgets?

You can create some form of apps using the customdrawn widgetset, but I cannot honestly recommend this approach. I do not think it works on iOS (I could be mistaken) and it looks simply abysmal on android.

I have created some android apps using the FPC JVM compiler, but then you need to start all over for iOS. I believe there is still some iOS desiger package by Joost van der Sluis.

So at the moment the developer experience would not be very good, I think you're better off using a HTML5 based Ionic app.

Michael.

Reply by email

Marcos Douglas B. Santos
to Michael Van Canneyt

On Tue, Jul 4, 2017 at 3:04 AM, Michael Van Canneyt via Lazarus <

Show quoted text 13 lines
wrote: You can create some form of apps using the customdrawn widgetset, but I cannot honestly recommend this approach. I do not think it works on iOS (I could be mistaken) and it looks simply abysmal on android. I have created some android apps using the FPC JVM compiler, but then you need to start all over for iOS. I believe there is still some iOS desiger package by Joost van der Sluis. So at the moment the developer experience would not be very good, I think you're better off using a HTML5 based Ionic app.

Ok Michael, thanks for the advice.

Marcos Douglas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170704/4091cbab/attachment.html>

Reply by email

Michael Schnell
to Michael Van Canneyt: You can create some form of apps using the customdrawn widgetset, but I cannot honestly…
Michael Van Canneyt wrote
So at the moment the developer experience would not be very good, I think you're better off using a HTML5 based Ionic app.

This of course is bad news, but we do hope for improvement when time comes....

See -> http://www.remobjects.com/ .
They claim to allow for writing multi-target pascal applications: "NEW: Elements 9.1, Oxygene, C# & Swift, for iOS, Android, Mac, .NET & more."

(Of course not free / Open Source)
-Michael

Reply by email

Mark Morgan Lloyd
to Michael Schnell
Michael Schnell wrote
They claim Delphi VCL compatibility and hence it should be compatible to LCL, as well. -> http://www.elementscompiler.com/elements/whatsnew.aspx (I did not test any of their products.)

Might also be worth bering
https://blog.jetbrains.com/kotlin/2017/05/kotlin-on-android-now-official/ in mind. Not Pascal, but at least was designed with Pascal in mind.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Marcos Douglas B. Santos
to Michael Schnell: This of course is bad news, but we do hope for improvement when time comes.... See ->…

On Wed, Jul 5, 2017 at 7:05 AM, Michael Schnell via Lazarus <

Show quoted text 12 lines
wrote: This of course is bad news, but we do hope for improvement when time comes.... See -> http://www.remobjects.com/ . They claim to allow for writing multi-target pascal applications: "NEW: Elements 9.1, Oxygene, C# & Swift, for iOS, Android, Mac, .NET & more." (Of course not free / Open Source)

I've read something about RemObjects but I prefer stay in FPC that is Open Source.
But thanks, anyway.

Best regards,
Marcos Douglas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170705/715b9d83/attachment.html>

Reply by email

Marcos Douglas B. Santos
to Mark Morgan Lloyd: Might also be worth bering https://blog.jetbrains.com/kotlin/2017/05/kotlin-on-android-now…

On Wed, Jul 5, 2017 at 8:57 AM, Mark Morgan Lloyd via Lazarus <

Show quoted text 6 lines
wrote: Might also be worth bering https://blog.jetbrains.com/kot lin/2017/05/kotlin-on-android-now-official/ in mind. Not Pascal, but at least was designed with Pascal in mind.

I didn't know Kotlin compiles to iOS.
They are using LLVM — but FPC has a branch for that too, right? — but "...Kotlin/Native is far from complete, so this Technology Preview has a number of limitations that will be eliminated at later stages" see https://blog.jetbrains.com/kotlin/2017/04/kotlinnative-tech-preview-kotlin-without-a-vm/

So, I believe Ionic and JavaScript is winning until now.

Best regards,
Marcos Douglas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170705/8665bef6/attachment.html>

Reply by email

Alfred
to Marcos Douglas B. Santos: On Wed, Jul 5, 2017 at 7:05 AM, Michael Schnell via Lazarus < I've read something about…

I you limit yourself to Android: with LAMW you can make perfect Android apps !

https://github.com/jmpessoa/lazandroidmodulewizard

http://forum.lazarus.freepascal.org/index.php/topic,21919.0.html -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170705/f02ef4fa/attachment.html>

Reply by email

Marcos Douglas B. Santos
to Alfred

On Wed, Jul 5, 2017 at 9:30 AM, Alfred via Lazarus <

Show quoted text 9 lines
wrote: I you limit yourself to Android: with LAMW you can make perfect Android apps ! https://github.com/jmpessoa/lazandroidmodulewizard http://forum.lazarus.freepascal.org/index.php/topic,21919.0.html

I saw this project. Looks good... but my client needs Android and iOS so... :(

Best regards,
Marcos Douglas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170705/8ee96b06/attachment-0001.html>

Reply by email