processing/processing-android

Unable to open JavaFX window in Android mode

vsquared opened this issue · 3 comments

The following code fails in Android mode with Processing version 4.2:

import javafx.scene.control.Button;

void setup() {
}

void draw() {  
}

The error message below is generated:
fxErr

javafx is not supported in Processing android mode

@vsquared JavaFX is not supported in the Android mode, but you may find ways of using by using existing JavaFX ports for mobile, some resources below:

https://stackoverflow.com/questions/49238603/how-to-run-javafx-in-android-studio-and-make-imageview

https://www.reddit.com/r/JavaFX/comments/q4vi50/can_javafx_application_be_deployed_to_android/