JavaFX on Android build (instructions)

Tom Schindl tom.schindl at bestsolution.at
Sat Nov 16 12:24:52 PST 2013


For iOS and eclipse users it is as easy as http://tomsondev.bestsolution.at/2013/11/06/develop-a-javafx-ios-app-with-robovm-efxclipse-tools-in-10-minutes/ but i'm happy to contribute the jfx78 build instructions i am useing.

I'll try to get the android support as easy as the iOS one using your build instructions!

Tom

Von meinem iPhone gesendet

> Am 16.11.2013 um 19:53 schrieb Johan Vos <johan at lodgon.com>:
> 
> Hi,
> 
> Since I (and others) think it is very important that we can have
> JavaFX applications running on Android (and IOS, but in this mail I
> limit myself to Android), I created a bitbucket project containing
> code and build instructions to run JavaFX applications on Android.
> 
> I didn't do much myself. Rather, this project is about providing easy
> and consistent build instructions. I combined information from this
> mailinglist with information I could find online, and with help from
> the JavaFX team.
> 
> The project is here: https://bitbucket.org/johanvos/jfx78
> 
> After I gathered the information, it didn't cost me much time to get
> HelloWorld running on my Samsung S3 mini. I never wrote an Android
> project before, and I never used the Android SDK or NDK before I
> started with this thing almost a week ago. Hence, it is not that hard
> to create a JavaFX application on Android.
> 
> This project is far from finished. There are a number of things that
> have to be done:
> * Improve build instructions
> * Simplify build
> * Fix bugs (e.g. touch-events are not processed yet)
> * Manage the synchronization with the main JavaFX repo
> * create plugins for IDE's or maven to automatically build the Android packages
> 
> I want to open this project at this early stage, though, since I think
> it is important to have more community input. Also, I want to give a
> shout to the world that JavaFX on Android is not a dream.
> 
> I hope many of you try out the instructions, improve them, correct
> them, and test your applications on Android.
> 
> Thanks a lot to all the people on this mailinglist for telling how
> they were dealing with JavaFX on Android. Again, I didn't write much
> code, but rather tried to combine the information and make it useful
> for everybody.
> 
> I know there is an intense debate about the role of Oracle on the
> Android (and IOS) ports. Let me close with a similar situation. About
> 17 years ago (sigh, time flies), I was involved with the port of Java
> to Linux, as part of the Blackdown team. Initially, we didn't get much
> help from Sun Microsystems (it was even not easy to get the latest
> code). But once we showed that we could run the thing on Linux, and
> that many developers were interested in it, Sun started to add
> resources on this as well. Eventually, we became obsolete. I hope to
> reach the obsolete stage on this project as well.
> 
> Again, the project can be found here:https://bitbucket.org/johanvos/jfx78
> 
> - Johan


More information about the openjfx-dev mailing list