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

bad class file magic (cafebabe) or version (0034.0000)

I'm using Mac 10.11, IntelliJ, JDK 1.8. I created a default multi-view project from the Gluon selection in the IntelliJ create new project. I tried to create an apk using the Tasks -> Other -> android task. I get the following error: :compileJava…
0
votes
0 answers

Scenebuilder-8.2.0. scenebuilder-launcher.sh missing

first of all I am using a Mac, Eclipse Mars 4.5.2 and gluon's Scene builder 8.2.0. When I set the path of the executable in my preferences->JavaFX, the launcher is looking for a scenebuilder-launcher.sh file which is not in my folder. In my…
Flippy
  • 202
  • 3
  • 12
0
votes
0 answers

Compiling a Gluon project to an APK

I just started using the (new) version of Gluon, had been using an older one by mistake and on the older version you just clicked "Run as.." then went to Gradle build options then you know the rest, but now that isn't an option so I'm not sure if…
zzzzzz
  • 143
  • 7
0
votes
0 answers

Gluon-eclipse stuck at a very old version (like 1.0)

I just recently installed the gluon-eclipse plugin so I could make javafx based android apps, but whenever I tried to run the apks it generated I kept getting a black screen. I think I'm using a very old edition and don't know where to get the…
zzzzzz
  • 143
  • 7
0
votes
1 answer

Are the Gluon Mobile sample apps available to run online?

I see the sample apps listed here: http://gluonhq.com/support/samples/#mobile Are they available to run online someplace? I would like to send a link to some non-developers so they can check out the samples on their phones.
Andrew
  • 1,031
  • 10
  • 24
0
votes
1 answer

NullPointerException when I'm trying to read a resource

I have a Gluon Mobile JavafX project. I'm trying to read a resource from my apk and I'm receiving an error only in Android. private void leerConfiguracion() { logger.log(Level.INFO, "ConfiguradorGeneralService:leerConfiguracion: BEGIN ...…
FxGodino
  • 36
  • 3
0
votes
1 answer

Android Pre Dex PARSE ERROR on Scala

I am trying to build Gluon application with Akka. Building for API 22. Everytime I try to run it, I successfully compile other dependencies (I see them in bottom panel) but always get problem with Scala or Akka, however, everytime I run it, error is…
spam
  • 1,853
  • 2
  • 13
  • 33
0
votes
0 answers

How to call a POST method using gluon RESTClient

Below is the sample code . i want to call a rest api using gluon. RestClient restClient = RestClient.create() .host("https://abc.api.in") .path("v1/signup") .formParam("name",name) .formParam("email",email) …
Amit
  • 13
  • 3
0
votes
1 answer

How to handle a async API call in gluon javafx Application

How to login with a REST API server from gluon mobile application. I have tried HttpClient which does able to call .
Amit
  • 13
  • 3
0
votes
1 answer

How do I set fx:controller property in gluon's scenebulder?

It seems to be completely missing from the code properties, see screenshot below. I realise I can do this by clicking Text and putting it in manually, but given I can set fx:id in the Code properties I would have thought I could do the same with…
Manish Patel
  • 4,411
  • 4
  • 25
  • 48
0
votes
1 answer

How to access Gluon JavaDoc in Eclipse?

I'm having the same problem accessing the Gluon JavaDoc like described in this question: Gluon Mobile: Access JavaDoc from within NetBeans, but in Eclipse Neon. Eclipse plugin is added to the buildscript: repositories { jcenter() …
jns
  • 6,017
  • 2
  • 23
  • 28
0
votes
0 answers

netbeans scenebuilder integration custom components

I have a problem with the integration between NetBeans (8.1) and gluon SceneBuilder (8.2.0) using jdk 1.8.0_92-b14. create a maven project with java in src and fxml in resources create a correct custom component according to docs build the…
0
votes
0 answers

How to use Intents in Gluon project?

I would like to take or select a picture, in order to use it for an ImageView, like it is shown here: http://gluonhq.com/handling-android-native-activities-like-a-pro/. The problem that I'm facing is that when the according Intent is started, my…
jns
  • 6,017
  • 2
  • 23
  • 28
0
votes
0 answers

JavaFX Webkit on Raspberry Pi 2 / Raspbian Jessie

I installed JavaFX (OpenJFX, Gluon JavaFX Embedded SDK 8.60.7) with the help of this thread JavaFX on ARM running jdk1.8.0 onto a Java8 SDK. I can execute simple JavaFX applications now. But when i use the WebView, the following error…
Lukas Glowania
  • 498
  • 6
  • 12
0
votes
0 answers

JavaFxPorts Native Webview

Is it possible for the Android WebView to be implemented in JavaFx rather than the native Webview window that is being currently used because the native window causes lightweight vs heavyweight issues. I have a MenuButton that does not display any…