scalaonandroid
substrate
scalaonandroid | substrate | |
---|---|---|
11 | 6 | |
168 | 368 | |
- | 0.5% | |
6.7 | 5.7 | |
9 months ago | 5 days ago | |
Scala | Java | |
GNU General Public License v3.0 only | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
scalaonandroid
-
Fx Calculator: A calculator for Android written in JavaFX (and Scala)
Here's the 1.0.0 version of FxCalculator
-
Android development.
Im my free time I experiment with the GraalVM approach, which is quite different (JavaFX or ScalaFX for GUI, no Android SDK). You can take a look here: https://github.com/makingthematrix/scalaonandroid
- JavaFX Cross-platform Mobile Apps
-
Do you contribute to open-source android projects?
https://github.com/makingthematrix/scalaonandroid - that's my weekend project
-
Can Javafx application be deployed to Android?
I'm experimenting with this idea: https://github.com/makingthematrix/scalaonandroid
-
How does Gluon's GraalVM based substrate work?
You can build a mobile app with GraalVM Native Image and JavaFX, but without Gluon - I have one such example: https://github.com/makingthematrix/scalaonandroid/tree/main/HelloFXML
-
How do I include multiple FXML files in one project?
In my case, I put them as separate files in the resources/ folder, like here with main.fxml and history.fxml. And then I load them separately in the code:
-
9 years later but we finally have the answer
https://github.com/makingthematrix/scalaonandroid - Here's a repo where I'm doing some experiments with this approach, putting Scala on top of it (it's GraalVM so I can write in Scala if I want to, ha).
-
Java to Android project conversion
This can feel a bit hacky, but... here's my tutorial how to use GraalVM and Gluon to write an Android app in Scala. You can follow it step by step, just ignore the Scala part. https://github.com/makingthematrix/scalaonandroid
-
Is anybody using Scala for Desktop Development?
Here's how to make an Android native image with Graal, but a desktop one is not much different: https://github.com/makingthematrix/scalaonandroid
substrate
-
Building a Slack/Discord Alternative with Tauri/Rust
Haha, it's amusing that the history essays are one of the things you remember :)
Yes you can compile Scala and ScalaFX apps down to native binaries this way. Look at Gluon Substrate:
https://github.com/gluonhq/substrate
One of our customers is experimenting with shipping such apps with Conveyor. There's a discussion ongoing here:
https://github.com/hydraulic-software/conveyor/discussions/6...
We got a console hello world working, albeit the DX is a bit rough. You need some ugly config boilerplate and some additional Native Image json files. But, it works, at least enough to create a Mac package with the regular Conveyor feature set. There are some limits though. I think the WebView doesn't work when the app is natively compiled this way.
If it all starts working well it could be quite interesting for desktop app development, as suddenly you could use high level languages and portable UI toolkits but with the sort of startup time, performance and memory usage you'd expect from native apps (modulo binary size which is still quite large). If you want to use HTML as the UI then you can use the Chromium Embedding Framework, which would give you an Electron-like experience but with many more available languages:
https://hydraulic.dev/blog/13-deploying-apps-with-jcef.html
I've been using JVM GUI for years for various tasks. It was appropriate for Bitcoin tasks because it's immune to injection attacks, because you can run everything locally with P2P protocols like the original Bitcoin app did, it's portable etc. Also I learned GUI programming decades ago and find classical UI toolkit concepts like VBox, HBox, StackPane, TableView etc more intuitive than HTML.
-
GraalVM Native Image — Faster, Smarter, Leaner
I ran into quite a few issues during Android/iOS development (e.g. java.util.prefs and GraalVM pulling in unused methods), but Windows was comparatively smooth. Most of my issues were related to understanding the toolchain,e.g., not knowing how arguments are passed to run.
-
Question on JavaFX web applications
With JavaFX and Gluon Substrate + GraalVM you can even compile you app to an executable.
-
What is your experience with GraalVM Native?
missing methods in Android library
-
How does Gluon's GraalVM based substrate work?
Hello, I've recently stumbled across this project from Gluon and I've been wondering for some days how the project actually works. I've read the source code, but it appears that no code is responsible for implementing the hundreds of classes that make up JavaFX. Does this mean that JavaFX can work out of the box on IOS and Android but there didn't use to be a way to compile the code to a native executable for said platforms? Thanks in advance
-
Experiences with ZGC on JavaFX?
Don't tested memory difference myself yet but maybe your solution could be to convert to native with graalvm and gluon substrate? https://github.com/gluonhq/substrate
What are some alternatives?
TilesFX - A JavaFX library containing tiles that can be used for dashboards.
JFoenix - JavaFX Material Design Library
uni-app - A cross-platform framework using Vue.js
jfx - JavaFX mainline development
ScalaFX - ScalaFX simplifies creation of JavaFX-based user interfaces in Scala
Recaf - The modern Java bytecode editor
avaje-inject - Dependency injection via APT (source code generation) ala "Server-Side Dagger DI"
FXGL - Java / JavaFX / Kotlin Game Library (Engine)
usb-serial-for-android - Android USB host serial driver library for CDC, FTDI, Arduino and other devices.
controlsfx - High quality UI controls to complement the core JavaFX distribution
certificate-ripper - 🔐 A CLI tool to extract server certificates