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
2 answers

Gluon Mobile: Change project from Free tier to Indie tier

I'm confused about the licensing options. Can anyone explain to me whether I can start developing my project with the Free tier and later change to an Indie tier? The reason I'm asking is because the possibility of changing tier wouldn't make sense…
user6559261
0
votes
1 answer

SceneBuilder (by gluon) doesn't show imported fonts

im programming an app and facing some issues. After implementing a new external font like this: Font WoodStamp = null; try { WoodStamp = Font.loadFont(new FileInputStream(new…
Elunius
  • 3
  • 2
0
votes
0 answers

Gluon 'cache' plugin import

I last week i started to learn Gluon/javafx app. I am recreating the samples on this site and i am having a problem with The 50 States App when it comes to import the cache plugin. package com.fiftystates; import…
Hayden
  • 61
  • 5
0
votes
0 answers

How to generate an apk from Gluon Javafx app

I'am new, so pardon my silly question... But i would like to know how or where do i go do generate an apk in gluon for eclipse 2.40, in the previous versions it was tha "android" gridle task... But it does not exist anymore. Thanks
Hayden
  • 61
  • 5
0
votes
0 answers

Gluon Cloud/Cloudlink File Storage

Is it possible to store a file such as an audio file, or create directories with files in them using Gluon Cloud or Gluon Cloudlink?
Aniket Joshi
  • 115
  • 1
  • 8
0
votes
0 answers

View.getLayers.add() broken after upgrading past 3.0.0

I've recently upgrade Gluon from 3.0.0 to 4.0.1. This code now refuses to compile: addViewFactory(SECONDARY_VIEW, () -> { FloatingActionButton fab = new FloatingActionButton(MaterialDesignIcon.CLOSE.text, e -> { …
Eric Forte
  • 11
  • 1
0
votes
0 answers

Black screen JavaFX Gluon Application

I know this was asked before but i couldn't get over this problem... I made an app, and it runs perfectly on desktop a in builds the apk smoothly... But when i instal it on my device(Sony Xperia M2 aqua), it just shows a black screen... Any Help…
Hayden
  • 61
  • 5
0
votes
0 answers

Charm 4.0.1 possibility to disable layout adjustment when keyboard shows up

I'm facing several problems with the new function which is responsible for adjusting the view layout, when the keyboard shows up. For example when a DatePicker is shown while a TextField is focused: Is there a possibility to disable this…
jns
  • 6,017
  • 2
  • 23
  • 28
0
votes
0 answers

Charm 4.0.1 Dialog NPE when called twice

On Charm 3.0.0 it was possible to instantiate a Dialog once and call showAndWait several times. On Charm 4.0.1 calling dialog.showAndWait() twice causes a NPE. So do we have to reinitialize a Dialog each time when we want to show it? public class…
jns
  • 6,017
  • 2
  • 23
  • 28
0
votes
1 answer

Charm 4.0.0 PopupView shows up only once

I have a set of Controls which use PopupView. Since the update to Charm 4.0.0, they show some weird behaviour. When I selected a Node contained in the PopupView, the PopupView used to get closed. Now the PopupView gets closed but immediately shows…
jns
  • 6,017
  • 2
  • 23
  • 28
0
votes
1 answer

Gluon Charm 4.0.0 GlassPane not modal anymore?

I used following code to install a Layer in the GlassPane and show it: glassPane.getLayers().add(myLayer); MobileApplication.getInstance().addLayerFactory("myLayer", ()-> myLayer); MobileApplication.getInstance().showLayer("myLayer"); While on…
jns
  • 6,017
  • 2
  • 23
  • 28
0
votes
1 answer

How to instal gluon plugin for eclipse

I am having a hard time trying to instal the gluon plugin for eclipse.. I am using this link but i cant get it to work... This is the error: Unable to read repository at https://marketplace.eclipse.org/content/gluon-plugin. Unable to read…
Hayden
  • 61
  • 5
0
votes
0 answers

Can't compile example gluon project in netbeans

I tried to release android apk from example gluon project in netbeans but it didn't work. build.gradle: http://pastebin.com/un5uBh7h error: http://pastebin.com/aW6ebPPR Any ideas? Thanks in advance!
siemaeniu500
  • 115
  • 1
  • 9
0
votes
3 answers

black screen launching android

When I run my java fx on JVM (gradle run) everything works instead when I launch it on Android device (gradle AndroidInstall), I see a black screen, I don't have any error in console log. My build.gradle: buildscript { repositories { …
Denise
  • 131
  • 10
0
votes
0 answers

Using javafxports to call android native Media Player

Trying to implement this example I'm trying to implement the same solution you have provided here in this post, but I end up with a NullPointerException when I try to run my application at the point were I implement service.play(); In my project I…
zermatt
  • 33
  • 9