Run Javafx app on Android

Asked

Viewed 2,529 times

0

I have a desktop application that uses Javafx and would like to run it on tablets, someone has a tip?

  • 1

    Instead of writing about what your problem is, briefly describe the problem in the title. Leave the technology used to the tags. We are here to help, so any text in this sense is unnecessary. Leave the question clear, focused on what really matters. Then put relevant information. A question should have a clear focus. In the current form it is very wide. [Ask].

1 answer

1


There is the project Javafx ports

http://javafxports.org/page/home

Tutorial:

http://javafxports.org/page/Getting_Started

Android: You need:

  • Your Javafx app, built as a JAR, for example/path/to/your/app/yourapplication.jar. The resulting application must be in Java 7 (or Java 6) class format all libraries you depend on in the same directory. These libraries should contain Java 6/7 classes as well (no Java 8 for now)

  • Android SDK, in /path/to/androidSDK. Download this from http://developer.android.com/sdk/index.html#download. In order to be able to use the Android Gradle plugin, you need at least API 21 version and build tools 21.1.1

  • The Javafx SDK from Dalvik, which can be obtained at https://bitbucket.org/javafxports/android/downloads/dalvik-sdk-8u20b3.zip The Gradle compilation system

Browser other questions tagged

You are not signed in. Login or sign up in order to post.