Questions tagged [gluon]

Use for general questions related to Gluon that don't fit into more specific tags such as gluon-mobile or gluon-desktop, and also other tags like javafxports or scenebuilder.

Gluon is a Java technology company laser-focused on developing libraries, services, and tooling around the goal of having Java on mobile devices.

GluonFX enables Java development on Desktop, Android, iOS and Embedded devices, with the GluonFX plugins, JavaFX and GraalVM technologies, running on the JVM or as a native-image.

Gluon Mobile provides functionality for connecting to remote web services, accessing hardware specific functionality in a device-agnostic manner, and for building great looking user mobile interfaces using the latest in material design patterns.

Gluon Cloud enables easy data backup and synchronization between users, and our tools enable rapid development of applications that build upon Gluon Mobile and Gluon Cloud.

Product tags

Gluon Support

Find more about Gluon's open source and commercial projects here.

Asking a Good Question

Follow the Stack Overflow guides on asking a good question. For users to be able to help you with errors, the first step is to be able to reproduce them. For that, they need:

  • Sample code, following the MCVE convention
  • Project config: build.gradle file
  • Environment: Development OS, Mobile OS and Device.
  • Debug logs and exception stack traces.
    • On Android run adb logcat -v threadtime.
    • On iOS use Xcode->Windows->Devices to see your device logs and crash reports.
709 questions
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
3 answers

Integrate GPS in JavafxPorts

I have a Javafx application which is to be deployed in Android. My app needs to get the latitude and longitude but I dont know how to implement them. Can someone give me a code sample on how to do it in JavaFX? UPDATED: package…
Walker
  • 307
  • 4
  • 15
0
votes
0 answers

How to disable proguard in javafxports for errors "You should consider keeping the * attributes"

I'm trying to use JavaFX in my android device, with the help of javafxports. I used the XStream to parse some XML file in my program. When i compile them, the javafxports outputs the following warnings: Note: there were 9 classes trying to access…
Zi Berg
  • 1
  • 1
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

Gluon applicaiton javafx crash on selecting date picker in android

My gluon application project gets crashed on android device ie my phone,while selecting date picker but when I run the applicaiton on my tablet there is no problem and everyting works fine,here Is stack trace of my application How to fix this…
Shersha Fn
  • 1,511
  • 3
  • 26
  • 34
0
votes
1 answer

Gluon mobile TextArea soft keyboard issue

I'm working with a multiple view project with FXML, generated by the Gluon plugin for IntelliJ. I added a view (scan view) next to the generated primary and secondary view and provided code for navigation in the GluonApplication class. The first…
progonkpa
  • 3,590
  • 9
  • 31
  • 50
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

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 GListen ToggleButton too wide

The ToggleButton when rendered under Gluon GListen seems to be at least 50px wide, normal ToggleButtons do not show that behavior and are rendered much narrower. I cannot find which CSS to use to make GLuon's narrower as well... Setting the padding…
tbeernot
  • 2,473
  • 4
  • 24
  • 31
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
0
votes
0 answers

How to debug a Gluon Application that uses Dagger in Eclipse

I'm trying do create a JavaFX application based on Gluon. Therefor I'm using Eclipse with the Gluon plugin. I need to say that I am new to Gradle and JavaFX as well, so maybe I disgrace myself with this question, because it's too obvious. I created…
MannikJ
  • 301
  • 1
  • 15
0
votes
1 answer

JavaFxPorts on iOS with Gluon

i am using a MacBook Pro with OS X El Capitan Version 10.11.3. I try to start a simple "Hello World" Project from Gluon/javaFXports with the iOS Simulator. If i simply run the project it works on my desktop but every time i run it with…
Martin
  • 1
0
votes
1 answer

JavaFX Scene Builder lacks most of the options

I'm using Scene Builder via IntellijIDEA. Suddenly most of the options from the right sidebar disappeared. In all tabs! Problem occured when I pulled project to another machine. On the previous notebook I used to work with Gluon Scene Builder and…
Alesto
  • 639
  • 4
  • 13
  • 29