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
3
votes
1 answer

How can I install "Android Support Library" to deploy a Gluon Mobile application to Android?

I would like to develop an Android app using the Gluon Mobile framework. I installed the Gluon plugin in my Netbeans IDE, created a sample project and built it successfully. Now I would like to deploy the app to an Android device. I'm referring to…
vhlng
  • 33
  • 1
  • 3
3
votes
1 answer

javafxports 'android' gradle task requires "Android Support Library" which is retired from Android SDK Manager...what now?

The official Gluon docs say in the prerequisites for an Android build: From the Android SDK Manager, install...from Extras the Android Support Library However, it seems that this is retired from the sdk manager in lieu of the "Android Support…
voxoid
  • 1,164
  • 1
  • 14
  • 31
3
votes
1 answer

How to pass variable from controller code to fxml view?

I have custom component with few labels and few textFields. I need to instantiate it 3 times, but each version must have all labels prefixed with different String. Fragment of my component fxml:
3
votes
1 answer

Adding unit test to JavaFXPorts project in NetBeans - issue with Retrolambda

I found some help in this question. So I know that I must use JDK7 in order for unit testing to work.. So I came up with a build sript like this: buildscript { repositories { jcenter() } dependencies { …
Stegger
  • 75
  • 1
  • 6
3
votes
3 answers

Example project doesn't work

I use a mac with OS X El Capitan with Eclipse IDE When I create a project "Gluon Mobile - Single View Project" I can not compile for Android because I have a problem with multidex. I use this command : ./gradlew androidInstall Execution failed for…
alexdess
  • 115
  • 1
  • 11
3
votes
1 answer

Gluon Mobile 2.2.0 : How to change ProgressBar/ProgressIndicator color?

Default color of the com.gluonhq.charm.glisten.control.ProgressIndicator/ProgressBar is material design blue. How to change the color? I tried different JavaFX CSS properties, but it doesn't work.
3
votes
0 answers

JavaFXPorts 8.60.7 app crash when traying type into TextField

I have an issue with latest JavaFXPorts 8.60.7 when I type any char from keyboard to TextField, app will crash. I'm using android 5.0.1. Earlier my app was developed on JavaFXPorts 8.60.6 and there my app was working, I could in 8.60.6, type a…
Allgooth
  • 31
  • 2
3
votes
0 answers

OrientationListener for Gluon

Some Questions to Orientations with Gluon: Can you detect an Orientation switch with Gluon? My current way of detecting is a size listener on the GlassPane, which is not ideal. Can have two different FXML/Views per Orientation? Normal switching when…
LucaZ
  • 87
  • 8
3
votes
3 answers

gluon android splash screen

I had created small mobile apps using Gluon Mobile and now on beta testing trough Google Play. but I realized that start-time of my mobile apps on android device is quite slow (take around more than 10 seconds). it would be great if I can add a…
Wijaya
  • 80
  • 6
3
votes
1 answer

JavaFXPorts(Gluon Plugin) Saving Files on Android

I have a problem to save Files on Android with JavaFxPorts. I've found that link here, but it doesn't work for me. It doesn't found the Interface, and I can't use it. My goal is to save a file on Android with JavaFxports. Thanks
Aaron Stein
  • 526
  • 7
  • 18
2
votes
1 answer

Native Executable with Quarkus or Springboot and JavaFx

I am trying to build a native executable for an app that works with Quarkus and JavaFx. The only way I have managed to achieve this has been marking lots of javaFx classes as --initialize-at-run-time, but this causes that, when trying to start the…
Ikaro
  • 165
  • 1
  • 12
2
votes
2 answers

System.setProperty("prism.allowhidpi", "false") does not work?

I'm trying to disable Windows display scaling (and in other OS) in my JavaFX application. Setting -Dprism.allowhidpi="false" in IntelliJ run configuration VM options works but setting the system property in code does not. I would like to set it in…
ank
  • 83
  • 5
2
votes
1 answer

Javafx .exe crashes while invoking javafx.scene.effect.DropShadow

My native javafx app crashes at runtime when invoking javafx.scene.effect.DropShadow. The app only works if I comment out the relevant code. How can I do it with the DropShadow effect? error log: [Di. Feb. 02 18:58:50 MEZ 2021][INFO]…
c. herzog
  • 55
  • 5
2
votes
1 answer

SQLite in Gluon Client Plugin Project

I need to use SQLite in my Gluon Mobile Project on all platforms (iOS, Android, Desktop). I’ve found following question SQLite on Android via JavaFX and Gluons client-maven-plugin but unfortunately it didn’t help me. It would be really helpful to…
2
votes
0 answers

Gluon SceneBuilder won't open the FXML files while IntellijIDEA is open

I have installed both SceneBuilder 11.0.0 and 8.5.0 (not at the same time) and I encountered the problem with both versions. The first time I used the 11 version, it worked fine 1 or 2 times when I opened fxml files from intellij, then, after trying…
Iulia
  • 41
  • 6
1 2
3
47 48