Questions tagged [gluon-mobile]

Use this tag for questions about the Gluon Mobile platform, enabling Java development on Android, iOS and desktop.

See the Tag Info on for more information.

524 questions
10
votes
2 answers

Task 'run' causes: org.joor.ReflectException: java.lang.NoSuchFieldException: javaExecHandleBuilder - Gluon Mobile Project

When I try to run my entire project in NetBeans I get the following error log: ... Task :run FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':run'. > org.joor.ReflectException:…
AtomX
  • 303
  • 12
8
votes
1 answer

How to use PositionService in Gluon Mobile on iOS?

I want to use the PositionService of Gluon Mobile on iOS. I have written a small sample app that runs on desktop, providing (as intended) fake location changes, and on Android. On the iOS simulator, however, the listener is not called. Here is the…
user5956451
5
votes
1 answer

Can't build a gluon project for mobile using gradle

I followed the instructions on http://docs.gluonhq.com/charm/4.0.1/#_getting_started. I'm using eclipse 4.5.2 and JDK 1.8.0_102. I also downloaded Android Studio with the 24/25 API level SDK from…
Mark
  • 1,787
  • 1
  • 23
  • 52
4
votes
1 answer

Gluon ScrollPane refresh issue

I have a messaging application running in Android which has the setup like in setup of the screen the order is as below
//issue is here
Sachin Hegde
  • 141
  • 8
4
votes
1 answer

Gluon Mobile nag screen

Just a quick question. I made a JavaFX application and I want to get it working on Android. So far the only way I found to get this working is to use Gluon Mobile (JavaFXPorts). However, the free version has a nag screen that pops up every time you…
Leia
  • 260
  • 6
  • 18
4
votes
2 answers

Schedule a Task in Android using ALARM_SERVICE service in Gluon-mobile

I have referred from this link and tried this code So far.But I don't know to implement this code in gluon-mobile.What I intent to do is that I want to start an Indent that does some Job in background at a specific time.My problem is that I don't…
guru_007
  • 453
  • 4
  • 16
4
votes
0 answers

Firebase Gluon Mobile

If I wanted to use a library such as firebase which has android and ios SDK's, for the iOS port, how would I approach writing the code and adding it to my Gluon Mobile project? Also, for use on android, would I just need to add the firebase…
Aniket Joshi
  • 115
  • 1
  • 8
3
votes
1 answer

How can I set Icon on Gluon Mobile based project?

Since the start() method is final (cannot be overridden), and primaryStage has a private access in Mobile Application how can I set Icon on my program?
AtomX
  • 303
  • 12
3
votes
1 answer

Gluon Mobile project does not work with gradle 6

I'm have a Gluon mobile project with a build.gradle like this: buildscript { repositories { jcenter() google() mavenCentral() maven { url 'http://nexus.gluonhq.com/nexus/content/repositories/releases' …
Mark
  • 1,787
  • 1
  • 23
  • 52
3
votes
1 answer

JavaFX WebView Progress always goes from 0.0 to 1.0. (No intermediate values)

I am currently developing an application with GluonHQ (JavaFXPorts) where I am using the WebView to load some Internet pages. I have noticed that when I am using the following code on…
javasuns
  • 905
  • 1
  • 8
  • 22
3
votes
0 answers

Wrong colours in videos on JavaFX application (Gluon JavaFX port)

I need to run JavaFX application on Raspberry Pi. Application contains MediaPlayer objects. Since Oracle's Java for ARM doesn't contain javafx package, I have installed Gluon JavaFX port for ARM. Unfortunately, all sample videos I play through…
Simonas
  • 149
  • 1
  • 8
3
votes
1 answer

Sharing multiple files with Gluon ShareService (image and txt)

We want to know how we can share multiple files (image and txt file) with the Gluon ShareService. Especially how to share an image which was previously taken and stored (in gallery) with the PictureService. But we need to create a file first with…
3
votes
1 answer

Gluon Connect returns NPE when POSTing using Charm dependencies > 4.3.3

When trying to send a POST request I use the following code: RestClient post = RestClient.create() .method("POST") .host(host) .path(path) .contentType("application/json"); Chicken chicken = new Chicken(name,…
Mark
  • 1,787
  • 1
  • 23
  • 52
3
votes
2 answers

NoSuchMethodError - no static method comparing (java/util/Comparator)

I'm sorting a List from java.util, with Gluon, on an Android Device. The application is not getting compiled for iOS (not enough ram) even with 8GB allocated, but that's another issue. classpath 'org.javafxports:jfxmobile-plugin:1.3.4' compile…
Carsten Hagemann
  • 576
  • 5
  • 20
3
votes
1 answer

How can I send Java object between client and server on Android and iOS?

I have a client and a server both written in Java and sharing Java classes that should be sent between each other. I'm not sure which libraries I can use for this on mobile because I don't know what Dalvik supports, what RoboVM supports etc. Not…
Mark
  • 1,787
  • 1
  • 23
  • 52
1
2 3
34 35