JAVAFX on ANDROID
richard.bair at oracle.com
Mon Oct 21 11:26:31 PDT 2013
> 1. Is that mouse emulation supposed to be eliminated due to the latest lensWindow changes?
> I believe that must be handled in higher layers not in the input layer itself.
> 2. What is the best way to fix this issue? Reimplementing the mouse emulation is not a real good solution.
JavaFX expects to get both Mouse and Touch events when you have a touch screen. However I believe multi-touch events are not delivered as mouse events (somebody on the embedded side correct me if I'm wrong on that). So an app that was designed with mouse events in mind should continue to work when a touch screen is provided.
> 3. The Listview shows a scrollbar. That makes me believe that the control doesn't really know that it is running
> in embedded mode. Maybe the mouse emulation is not possible if the embedded mode is correcly enabled.
> Where do I enable the embedded mode? I though it is this property android.com.sun.javafx.isEmbedded=true. That's of course enabled
> in javafx.platform.properties.
There's some bit of mess here where some places are explicitly checking iOS etc to hide/show stuff instead of just "embedded". Jonathan do you remember all the places to check?
More information about the openjfx-dev