Lazarus

Programming => General => Topic started by: yann on January 11, 2019, 03:16:21 pm

Title: Programming for android with FPC to JVM
Post by: yann on January 11, 2019, 03:16:21 pm
Hey, guys. Why the android frameworks currently use native compilation to android instead the fpc to jvm? It need to uses "bridges" to UI. Is not a better way compiles to jvm like Kotlin? Is it possible, at least?

I'm not native english speaker. Sorry.
Title: Re: Programming for android with FPC to JVM
Post by: jmpessoa on January 11, 2019, 10:32:50 pm

Android JVM forum board:

http://forum.lazarus-ide.org/index.php/board,56.0.html

PAndroid Project:

https://github.com/zeljkoc/pandroid
Title: Re: Programming for android with FPC to JVM
Post by: Leledumbo on January 12, 2019, 08:03:08 pm
Hey, guys. Why the android frameworks currently use native compilation to android instead the fpc to jvm? It need to uses "bridges" to UI. Is not a better way compiles to jvm like Kotlin? Is it possible, at least?

I'm not native english speaker. Sorry.
Both are available, but it seems that the native one is more popular, probably due to less language restriction (none to be precise) than fpc jvm, which makes code sharing harder. fpc jvm is of course fully functional and you can already make pure JVM based Android application with it, not to mention it can also target regular JVM as you would make normal Java programs in Java.
TinyPortal © 2005-2018