cljfx

https://github.com/cljfx/cljfx
EmmanuelOga 2020-07-31T17:10:01.160700Z

hey! was wondering if cljfx is commonly used for mobile apps. I just started playing with it and it looks really exciting! So naturally I start thinking about maybe running an app on my phone 🙂

EmmanuelOga 2020-07-31T17:11:09.161800Z

I see that the company pushing javafx, gluon, talks a lot about mobile apps, perhaps I'm wrong but when I look online I see that JavaFX seems to be a lot more popular on desktop though

EmmanuelOga 2020-07-31T17:25:11.162200Z

I'm a bit confused, it may be that the mobile app part of Gluon is closed source

EmmanuelOga 2020-07-31T17:25:30.162800Z

I searched online but can't find MobileApplication.java

EmmanuelOga 2020-07-31T17:30:59.163400Z

ok, the mobile part is probably closed source / propietary

zilti 2020-08-04T22:01:24.184900Z

It actually isn't, the Maven plugin to compile a JavaFX application for mobile is open source. Only their mobile UI components and some special premium API is closed source. At least that is how it was half a year ago.

zilti 2020-08-04T22:02:06.185100Z

Also since it now uses GraalVM performance really isn't an issue anymore.

EmmanuelOga 2020-07-31T17:31:28.164200Z

it seems like one may be able to release an app with a nag screen on mobile or pay $500 a year: https://gluonhq.com/products/mobile/buy/

vlaaad 2020-07-31T19:02:47.166300Z

Hi! There is a problem that it's hard to run Clojure on Android platform — it's too slow to start and too slow to run for mobile devices. I would suggest looking into cljs and react-native for mobile.

vlaaad 2020-07-31T19:03:35.167Z

I heard about javafx on mobile, but haven't investigated it ¯\(ツ)

👍 1
zilti 2020-08-04T22:02:42.185300Z

Gluon made a Maven plugin that is open source, and the whole thing uses GraalVM native-image to compile, so performance definitely isn't an issue 😉