Due to recent JavaFX ports, you can now create Java client applications that can be deployed on desktop, laptop, and embedded systems, as well as on mobile devices such as smartphones and tablets. In this Java Magazine recent article, Johan Vos explores the state of JavaFX on mobile devices, focusing on the Android platform.
As Vos explains, like Java, one of the key benefits of JavaFX is the 'write once, run anywhere' paradigm. Thanks to the JavaFX ports for mobile platforms, you can now package your JavaFX applications for deployment on iOS and Android devices. The runtime environments deal with platform-specific issues, enabling you to focus on application-specific needs.
The article walks through the process of creating an Android package based on JavaFX code. It also discusses how to combine Android-specific code and JavaFX code for those situations when you might need to do so. Also see the website for JavaFXPorts , which is an initiative from the Java Community for coordinating JavaFX porting efforts. Read the article