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

Android webview & javaScriptInterface like functionality in Gluon to save javascript response from login webpage in webview

In android if I want to use an already existing login webpage, I can use webview and javaScriptInterface to save token values from javascript response after login success. Is there a similar functionality to save the token values using the…
Deepak
  • 43
  • 4
0
votes
1 answer

Problems using Gluon Charm's Alert

I understand that JavaFX's Alert cannot be used yet with mobile apps. But what about the Gluon Charm Alert? I have defined a Gluon Mobile MultiView FXML project. I've updated the gradle project's dependencies to include charm-2.2.0.jar, so the Gluon…
G A
  • 15
  • 4
0
votes
2 answers

Gluon Mobile GridPane with percentages not working

I have a view with in the center a GridPane which fills the whole screen. The GridPane has percentages defined on all rows and all columns. On my Nexus 5X the layout works normal. When I install the app on a Zebra Scanner TC8000, which is an Android…
progonkpa
  • 3,590
  • 9
  • 31
  • 50
0
votes
2 answers

jfxmobile plugin doesn't add android.jar and javafxports jar

I work on a project from two locations and I pulled the project from Git now I work at home. At work I see android.jar and jfx.jar(don't know the exact name) inside the external libraries in IntelliJ and the classes are available. At home however,…
progonkpa
  • 3,590
  • 9
  • 31
  • 50
0
votes
1 answer

Gluon Mobile FloatingActionButton (FAB) animation

I managed to get a second FAB on the left side of the view. commentFab.setFloatingActionButtonHandler(FloatingActionButton.BOTTOM_LEFT); But it does so with an animation. How can I remove the animation?
progonkpa
  • 3,590
  • 9
  • 31
  • 50
0
votes
0 answers

Charm PopupView doing unnecessary layout pass?

I have a button which shows a choicelist as the content of a PopupView when it is pressed. The content of the PopupView calculates its maxWidth based on the scene of the button. Now I have noticed that switching Views results in a layout pass of…
jns
  • 6,017
  • 2
  • 23
  • 28
0
votes
1 answer

Using Main method in Gluon Application

My Gluon Application taking so much time to open , I've tried to use Preloader Class showing progress bar , it work for Java fx but not for the gluon , as it hasn't main method to launch the preloader , so where to place this method , or how I can…
Tony George
  • 65
  • 2
  • 10
0
votes
0 answers

Gluon mobile, how to safely store the login data on the client application?

I'm trying to create an client application with gluon mobile for android and desktop. The app asks the user to input the login credentials and stores it for future logins. The login credentials are used for logging on to the serever. But I'm…
MichaD
  • 975
  • 2
  • 7
  • 13
0
votes
1 answer

Gluon: Duplicate zip entry

I'm having this exact problem, when trying to use Jersey (Client) in a Gluon app: https://bitbucket.org/javafxports/android/issues/68/proguard-complains-about-duplicate-classes The issue is marked as resolved. Does that mean it should work (without…
Steven Van Impe
  • 1,153
  • 8
  • 15
0
votes
1 answer

Toolbar is not hidding on ParticleApplication

I have the following code: @ParticleView(isDefault=true, name="login") public class LoginView extends FXMLView { public LoginView() { super(LoginView.class.getResource("login.fxml")); } @Override public void start() { …
0
votes
1 answer

Gluon Scene Builder won't launch

I have recently installed Scene Builder, specifically the .jar. I am trying to launch it without any success. My OS is OS X El Capitan Version 10.11.4. My Java version is 8, Update 92. Firstly, I have opted for double clicking at the .jar file (the…
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
1 answer

Javafxports on Android won't load image due to "Improper call to JPEG library in state 200"

When I run the application with IntelliJ the image is visible but when ported to Android (6.0 & 4.4.2) it isn't. The Image object is instantiated with an URL (website). Logcat W/linker:…
progonkpa
  • 3,590
  • 9
  • 31
  • 50