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:
In file https://github.com/processing/processing4/blob/main/app/src/processing/app/Library.java line 436, should list[] be allowed to be null?
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/
Activity
vsquared commented on Apr 18, 2023
In file https://github.com/processing/processing4/blob/main/app/src/processing/app/Library.java line 436, should list[] be allowed to be null?
ajavamind commented on Apr 20, 2023
javafx is not supported in Processing android mode
codeanticode commented on May 21, 2023
@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/