0

I have created a JavaFX application using Javafx 2.2 and its running perfect in desktop. How to run javafx application in mobile platform especially in android mobile phone.

karthik selvaraj
  • 467
  • 5
  • 8
  • 21
  • but in below URL, they saying that it can be excecute in android http://stackoverflow.com/questions/20860931/is-it-possible-to-run-javafx-applications-on-iphone-android-win8-mobile – karthik selvaraj Aug 19 '15 at 10:01
  • ok.. let me know if you get any idea on tha. i tried using gradle to generate an apk file, but its failed – karthik selvaraj Aug 19 '15 at 10:10

1 Answers1

1

Have a look at the JavaFXPorts project. Since you are already using Gradle, the jfxmobile-plugin will take care of porting your JavaFX code to other platforms like Android and iOS, as well as desktop.

To get you started, Gluon provides a plugin for several IDEs, helping you creating a simple project, where you can add your source code. Different tasks will take care of building the project, running it on desktop or deploying it to mobile platforms. Have a look at this post for instance.

Review the list of prerequisites before getting started (like intalling Android SDK)

José Pereda
  • 44,311
  • 7
  • 104
  • 132