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

JavaFX, Gluon : HTML file not loaded from Java code in APK

I have a Gluon JavafX project on Intellij Idea after installing Gluon plugin, in which I am loading some static HTML files in JavaFX's Webkit browser. Now, when I start the JavaFX application directly, I can see the HTML being loaded, but when I…
We are Borg
  • 5,117
  • 17
  • 102
  • 225
0
votes
0 answers

Gluon Basic Project not working

I followed Gluon Tutorial to deploy JavaFX on Android. From the start i have troubles, when i create a new gluon basic project i already have an error. On desktop work fine, on tasks -> :android, don't work. I search and find, need to update the…
0
votes
1 answer

Gluon default application android unfortunately has stopped

I dont know why gluon project not working,I am able to compile gluonapplication apk sucessfully but when I start the application that is installed it closes and says unfortunately,GluonApplication has stopped How to fix this issue,some one please…
Shersha Fn
  • 1,511
  • 3
  • 26
  • 34
0
votes
1 answer

Mouse Listeners in Gluon

I've been trying to use listeners on gluon CharmListView for a while. It didn't work in my project so i decided to try it on the FIFTY STATES app. I added the code below: charmListView.onMouseClickedProperty().set((MouseEvent event) ->{ …
theking
  • 87
  • 13
0
votes
0 answers

Debugging charm projects in Netbeans

I'm trying to debug a charm project. I've set break points in the code, but each time execution reaches a break point, Netbeans freezes and I'm obliged to forcefully close it. For what it's worth, I'm using Ubuntu 15.04 [Edit 1] Here's an image of a…
theking
  • 87
  • 13
-1
votes
1 answer

Trying to use BottomNavigation but it's position does not account for the AppBar height, so it's not visible

I've added a BottomNavigation with a couple of Buttons to my view. However, when I run my application, only the very top part of the navigation bar shows. When I make my window longer I can see the whole bar. When I set the AppBar visibility to…
K. Rupert
  • 1
  • 3
-1
votes
1 answer

Trouble with "How to Create Bottom Navigation" Gluon (createButton)

I am trying to add a Bottom Navigation to my Gluon Mobile app, so I was looking around and found this: How to create Bottom Navigation. I tried to implement this into my code, but it didn't work, so I transferred it to an empty, single-view project.…
user14923709
-1
votes
1 answer

Running videos on JavaFX in Raspberry Pi Zero

I am trying to run a program which shows a simple video through mediaView and then shows a QR code that is associated with a string that the program generates on javaFX in a Raspberry Pi Zero. I have tried to follow this answer Play a video using…
Rodrigo Fernandes
  • 117
  • 1
  • 2
  • 10
-1
votes
1 answer

Gluon switch scene on custom event

I try to switch the scene of a Gluon application when a custom event is fired. When I call MobileApplication.getInstance().switchView(SECONDARY_VIEW);" I get the error Exception in thread "Thread-6" java.lang.IllegalStateException: This operation…
Giwrgos Gkogkas
  • 460
  • 1
  • 9
  • 23
-1
votes
1 answer

AttributeError: 'NDArray' object has no attribute 'ravel' or 'tolist'

I am working with a massive NDArray and am trying to recurse over each individual integer within this nested array. The NDArray, called box_ids, looks like this: [[[-1.] [-1.] [-1.] ... [-1.] [-1.] [-1.]]] and when I write for ids in…
cbnnbc
  • 35
  • 3
-1
votes
1 answer

How come BorderPane does not display any content

I created a mobile application and now I am going forth to make the code easier and more precise. I want to switch one of the pages from a lot of cluster to a borderpane since it will make my code cleaner. For some reason when I comment the working…
mike
  • 1
  • 5
-1
votes
1 answer

Force fix gaps in a GridPane?

I use JavaFX with FXML and I want to show some tiles in 1:1 size (squares). In my initialize method (gluon javafx mobile app) I use the code below to make my tiles quadratic. The GridPane has vgap and hgap set. So if the code below ran, the tiles…
-1
votes
1 answer

Using iOS Swift & Android Libraries that rely on Bluetooth Low Energy with Gluon-Mobile

Can Gluon-Mobile use libraries written for iOS in Swift that have iOS Bluetooth Low Energy function calls? Library in question: https://github.com/NordicSemiconductor/IOS-Pods-DFU-Library And Android Java libraries that have Android Bluetooth Low…
RMDS
  • 109
  • 1
  • 9
-1
votes
1 answer

Gluon Application don't work

I'm new to Gluon APP developpement, when i try to run my first App in netbeans windows platform i got an Error like this. Issue 1 Requested project: C:\Users\Medika\Documents\NetBeansProjects\TestGluon Stack…
-1
votes
1 answer

Browser Service don't work on android device

I have uses the Browser Service for Gluon charm down. But It not work. Someone can help me please? I don't have any Error . That is my Build.gradle buildscript { repositories { jcenter() } dependencies { classpath…
1 2 3
47
48