Use this tag for questions about the Gluon Mobile platform, enabling Java development on Android, iOS and desktop.
Questions tagged [gluon-mobile]
594 questions
0
votes
1 answer
JavafxPorts - Android N
I am trying to install and test my app on a Pixel C which is running Android N. The android monitor (in Intellij) is showing the Pixel C and is showing log output from the tablet.
However, when I try installing the app, I get an error:
Caused by:…

Driv
- 123
- 8
0
votes
1 answer
How to disable setOnMouseClicked while scrolling in JavaFX ListView
I developed a small Javafx application and deployed in my Android device, I have a ListView which is configured something like this:
stuboutList.setOnMouseClicked(new EventHandler(){
@Override
public void handle(MouseEvent event)…

Ethyl Casin
- 791
- 2
- 16
- 34
0
votes
1 answer
Gluon Charm (invalid license key) - Example app run only in the desktop mode
In the desktop it runs normally with the license key.
After run ./gradlew androidInstall when I open the app (in my LG G4) it crashes!!
I await for your replay,
Eder Maciel Martelo
0
votes
0 answers
Android back button closes app
I'm showing a local html file in a WebView which is the center node of a Glisten View. When I presss the android back button, instead of going back to the previous view, the app gets closed. When I use an appBar button to switch to the previous view…

jns
- 6,017
- 2
- 23
- 28
0
votes
0 answers
Rendering Exception on iOS using Gluon/JavaFXPorts
After trying out some apps on iOS with Gluon I noticed some rendering bugs.
Firstly the JavaFX LineChart behaves incorrectly. The lines are displaced and the shadows don't show up correctly. I didn't examine this further but this might be related to…

LucaZ
- 87
- 8
0
votes
0 answers
Memory leaks in Gluon/JavaFXPorts running on iOS
After porting our app with Gluon to iOS we noticed that is runs very slowly in the simulator as well as on real devices (in my case iPad 3 running iOS7).
We used profiling tools provided by XCode to examine possible reasons and found some memory…

LucaZ
- 87
- 8
0
votes
0 answers
JavaFX throws stackoverflow error
I have this method in my Dialog class:
public static void hide(){
isOpen = false;
Main.PAGE.getChildren().removeAll(Main.PAGE.getChildren());
Main.PAGE.getChildren().add(Main.ROOT);
}
I tried to run it in Samsung TabS and LG Leon phone…

Walker
- 307
- 4
- 15
0
votes
1 answer
View gets created multiple times with Gluon
If you change the View multiple times sometimes a new View is getting created in the Viewfactory. (I'm using Afterburner btw, but that shouldn't be the Issue)
This happens on every device (Desktop and Mobile)
The following code is in the init…

LucaZ
- 87
- 8
0
votes
0 answers
Building JavaFx8 Jar does not contain Gluon Charm libraries
I have tried to build a JavaFx8 jar file in IntelliJ using the Gluon libraries. The jar is built but once I try to access a controller that requires a Gluon charm library the application crashes. We are using:…

chasyost
- 1
- 1
0
votes
0 answers
Keyboard of javafx application on Android allows limited characters
I have a JavaFX application that runs on Android with the use of JavaFXPorts. When a textfield is edited the virtual keyboard (a.o. the widely used SwiftKey keyboard) does not allow typing all allowed characters. For example I was allowed to type…

tbeernot
- 2,473
- 4
- 24
- 31
0
votes
1 answer
Touch Sensitivity on Android (Gluon/JavaFXPorts)
The default Touch Sensitivity is 20px. That prevents my app from being percise...
This issue has already been discussed for JavaFXPorts:
https://bitbucket.org/javafxports/android/issues/50/missing-touchevents
("Just" setting the sensitivity to 1px…

LucaZ
- 87
- 8
0
votes
1 answer
Severely truncated attribute while compiling JavaFX Undertow Websockets project for Android with jfxmobile-plugin
I am having an issue while compiling my JavaFX project for Android.
The project includes a bunch of libraries, Undertow Websockets is among them. I downloaded all required jars to my lib directory and included them into dependencies / compile files…

velena
- 33
- 5
0
votes
1 answer
Gluon app won't start on iOS
And Google is not really helpful.
Mar 20, 2016 9:00:13 AM com.gluonhq.charm.down.common.PlatformFactory getPlatform
SEVERE: null
Throwable occurred: java.lang.ClassNotFoundException: com.gluonhq.charm.down.ios.IOSPlatform
at…

tbeernot
- 2,473
- 4
- 24
- 31
0
votes
2 answers
Why SceneBuilder does not open Gluon fxml
After creation standard Gluon project and trying to open .fxml file I see an error
As I understand Gluon will provide opening .fxml files by SceneBulder as commercial support. Where I can buy this support-feature?
p.s. I use last versions of…

Sergey Orlov
- 491
- 5
- 16
0
votes
1 answer
Gluon/JavaFXPorts automated UI tests
Is there any way to have automated UI testing in Apps created with Gluon-Mobile.
E.g does Espresso for Android work with Gluon?
I wouldn't think so since Espresso takes ElementIds but is there any way to work around this?.

LucaZ
- 87
- 8