In the next video in this "JFX In Action" series, I talked with Maciej Gorywoda about FxCalculator, an Android app created with Scala and JavaFX you can find in Google Play.
About Maciej Gorywoda
Maciej is the Product Marketing Manager in the IntelliJ Scala team at JetBrains. As a Scala Ambassador, he teaches Scala and makes its community more beginner-friendly. He is also self-publishing a fantasy novel.
You can find him on LinkedIn and Twitter.
About FxCalculator
FxCalculator is a calculator for your Android phone. It's got all the usual buttons with numbers and operators, and parentheses, as well as buttons for storing the partial results of your calculations in the memory. It also has an advanced editor mode, under the "Fx" button. In this mode, you can write an expression with your virtual keyboard as if you were writing simple programming code. You can use variables and functions, combine them, and write custom ones. They're stored on the phone so they can be actually useful to you more than once.
Links
- Blog post about Scala on Android, based on a conference talk on the same subject.
- The conference talk.
- A slightly outdated tutorial about how to write an Android app with Scala, JavaFX, and GraalVM Native Image.
- GitHub repository with examples.
- Game of Snake in FXGL.
- FX Calculator on Google Play Store.
- ScalaFX, a Scala and FP extension to JavaFX.
- GitHub Action workflows in a project by Frank to build for different platforms, including iOS and Android.
Video content
00:00 Who is Maciej Gorywoda
01:03 Why Maciej combines Scala and JavaFX
02:09 Scala and JavaFX for Android applications
03:56 About FxCalculator, code, and demo
09:35 Advantage of Scala
12:02 About ScalaFX
13:02 How to publish to Google Play
18:39 GitHub project with Scala on Android examples
20:12 Evolutions in Scala
23:07 FXML Snake game with Scala and JavaFX
24:31 Future ideas with AI
Top comments (0)