Questions tagged [javafxports]

javafxports is an initiative from the Java Community for providing SDK's for JavaFX on Mobile (iOS/Android) and Embedded platforms.

What is JavaFXPorts?

The JavaFX Platform allows you to write Java Client applications that can be deployed on desktop, laptop, embedded, mobile and tablets.

The goal of JavaFXPorts is to provide information on how to develop, package and deploy JavaFX applications that target a wide range of clients.

One of the key strengths of Java is the WORA-paradigm: Write Once, Run Anywhere. Since Oracle does a great job documenting JavaFX on Windows, MacOS, Linux, JavaFXPorts focusses on iOS, Android and embedded.

General Links

Android Links

iOS Links

ARM Links

355 questions
20
votes
1 answer

Kotlin compatibility with JavaFXPorts

I would like to build a JavaFX Android app with JavaFXPorts and Kotlin code. Is it possible to use Kotlin in a JavaFXPorts project? Here's my example Gradle (version 5.6.4) project: Note: Problem with this code is the Kotlin Runtime... Is there any…
Küroro
  • 628
  • 6
  • 20
17
votes
2 answers

How to run JavaFX on Android

I try to run a simple JavaFX application on Android. Therefore I read the javafxports Getting Started Guide using gradle to build the app, but I got stuck somewhere. I'm able to build and install the app on an Android device using the installDebug…
Michael
  • 3,982
  • 4
  • 30
  • 46
6
votes
1 answer

Run JavaFX app with external libraries in Android?

I just developed a JavaFx application which use RXTX library for serial communication and in the future will use Bluecove for bluetooth. It was my understanding that there are some ways to run a JavaFx app on Android devices, so I began my…
Juan
  • 1,949
  • 1
  • 15
  • 22
5
votes
1 answer

Gluon Mobile nag screen

Just a quick question. I made a JavaFX application and I want to get it working on Android. So far the only way I found to get this working is to use Gluon Mobile (JavaFXPorts). However, the free version has a nag screen that pops up every time you…
Isoldhe
  • 300
  • 1
  • 7
  • 20
5
votes
2 answers

Play a video using JavaFX on Raspberry Pi

I need to run a JavaFX project on Raspberry Pi (RASPBIAN JESSIE). The project includes usage of WebView and MediaView/MediaPlayer. Since Oracle does not support JavaFX on ARM platforms, I tried JavaFX port by Gluon (JavaFX Embedded SDK 8.60.8).…
FeroG
  • 53
  • 1
  • 4
5
votes
1 answer

How can i get JavaFX working on raspberry pi 3

please can someone provide me with simple step by step instructions for getting javafx working on raspberry pi 3. I have tried all day to add javafx to raspberry pi 3 and i am still getting the error: "JavaFX deployment library not found in the…
ceteri
  • 179
  • 1
  • 4
  • 11
5
votes
1 answer

JavaFx Ensemble on Raspberry pi

I'm trying to run Esemble8.jar on my new RaspBerry pi. I followed this tutorial: http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/RaspberryPiFX/raspberryfx.html I was able to install Java8 but when I try to run the Ensemble8.jar (or…
drenda
  • 5,846
  • 11
  • 68
  • 141
4
votes
1 answer

Gluon ScrollPane refresh issue

I have a messaging application running in Android which has the setup like in setup of the screen the order is as below
//issue is here
Sachin Hegde
  • 151
  • 10
4
votes
2 answers

Textfield copy action on long hold (copy popup)

I have Textfield and I want to copy content of it on my android device. If I run it as a windows desktop application I can select the text right click I got the popup menu with possible actions. Is there anyway to get this popup menu also on…
homik
  • 553
  • 5
  • 9
4
votes
0 answers

Firebase Gluon Mobile

If I wanted to use a library such as firebase which has android and ios SDK's, for the iOS port, how would I approach writing the code and adding it to my Gluon Mobile project? Also, for use on android, would I just need to add the firebase…
Aniket Joshi
  • 115
  • 1
  • 8
4
votes
0 answers

Is there a way to play media (.mp4) on a Raspberry Pi 3 in a JavaFX application

I believe the javafx Media library (playing .mp4 files) is not supported on JavaFX for Raspberry Pi. My app is written in JavaFX using FXML and i need to play a video file. Is there a way to do this within my JavaFX app? I have an app that plays a…
ceteri
  • 179
  • 1
  • 4
  • 11
4
votes
0 answers

JavaFX application on Android platform is too slow (JavaFXPorts/Gluon)

I am attempting to develop/port the classical 'Flappy Bird' game on Desktop, Android, and iOS using JavaFX with Gluon and JavaFXPorts. The application is now playable on Desktop and Android platforms, but with noticeable performance differences. The…
Warren Nocos
  • 1,222
  • 1
  • 14
  • 29
4
votes
1 answer

Error after running the default Gluon project (: dex FAILED)

I downloaded the Gluon plugin for Netbeans to deploy JavaFX application to Android. It ran successfully on the desktop but when I execute the android task, it throws an error: Executing: gradle :android :compileJava…
Ethyl Casin
  • 791
  • 2
  • 16
  • 34
4
votes
2 answers

How do you build an apk with javafxports android and ant?

I have tryed to build the apk with the project generated but I keep getting errors. I have been using ant clean debug to create but I keep getting errors with it not being able to find the build-extras.xml I have check and the build extras are at…
sazzy4o
  • 3,073
  • 6
  • 34
  • 62
3
votes
1 answer

JavaFX WebView Progress always goes from 0.0 to 1.0. (No intermediate values)

I am currently developing an application with GluonHQ (JavaFXPorts) where I am using the WebView to load some Internet pages. I have noticed that when I am using the following code on…
javasuns
  • 1,061
  • 2
  • 11
  • 22
1
2 3
23 24