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.

594 questions
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
  • 2,167
  • 4
  • 32
  • 64
3
votes
1 answer

How can I install "Android Support Library" to deploy a Gluon Mobile application to Android?

I would like to develop an Android app using the Gluon Mobile framework. I installed the Gluon plugin in my Netbeans IDE, created a sample project and built it successfully. Now I would like to deploy the app to an Android device. I'm referring to…
vhlng
  • 33
  • 1
  • 3
3
votes
1 answer

Touchscreen calibration for Raspberry Pi in JavaFX is not working

I am using: Raspberry Pi Model B (Rev 1.0, 256Mb); cat /proc/cpuinfo returns for Revision 0002, Raspbian Jessie with PIXEL (Version: November 2016, Release date: 2016-11-25, Kernel version: 4.4), Java is preinstalled with Raspbian Jessie (java…
3
votes
1 answer

TextField in a Container - Keyboard hides Text

I have a TextField in a container (VBox) in the bottom. When i select the TextField to enter some text it gets hidden behind the keyboard (iPhone). I put the VBox in ScrollPane but still the same. Can i get the keyboard somehow to get its height?…
tonimaroni
  • 1,062
  • 10
  • 19
3
votes
1 answer

JavaFXPorts: Selected item in ListView is not selected

Here is sample code: package com.javafxportslistviewdemo; import com.gluonhq.charm.down.Platform; import com.gluonhq.charm.down.Services; import com.gluonhq.charm.down.plugins.LifecycleEvent; import…
3
votes
3 answers

Example project doesn't work

I use a mac with OS X El Capitan with Eclipse IDE When I create a project "Gluon Mobile - Single View Project" I can not compile for Android because I have a problem with multidex. I use this command : ./gradlew androidInstall Execution failed for…
alexdess
  • 115
  • 1
  • 11
3
votes
1 answer

Gluon Mobile 2.2.0 : How to change ProgressBar/ProgressIndicator color?

Default color of the com.gluonhq.charm.glisten.control.ProgressIndicator/ProgressBar is material design blue. How to change the color? I tried different JavaFX CSS properties, but it doesn't work.
3
votes
0 answers

JavaFXPorts 8.60.7 app crash when traying type into TextField

I have an issue with latest JavaFXPorts 8.60.7 when I type any char from keyboard to TextField, app will crash. I'm using android 5.0.1. Earlier my app was developed on JavaFXPorts 8.60.6 and there my app was working, I could in 8.60.6, type a…
Allgooth
  • 31
  • 2
3
votes
0 answers

OrientationListener for Gluon

Some Questions to Orientations with Gluon: Can you detect an Orientation switch with Gluon? My current way of detecting is a size listener on the GlassPane, which is not ideal. Can have two different FXML/Views per Orientation? Normal switching when…
LucaZ
  • 87
  • 8
2
votes
0 answers

How to prevent an app from going to sleep using Gluon Mobile?

We are writing something similar to a navigation app, which can be either visual-based or sound-based. We are hitting a problem where the phone will enter sleep mode (might not be the correct technical term) after a while during the runtime of the…
user1803551
  • 12,965
  • 5
  • 47
  • 74
2
votes
1 answer

How to increase the PasswordField text when seen on a mobile device?

This JavaFX control doesn't seem to have a GluonFX equivalent for the mobile device environment. On the desktop, the circle char that masks user input looks fine. But on the Android the same char is as small as tapping paper with the tip of an ink…
Javateer
  • 65
  • 6
2
votes
1 answer

gluon mobile android application default locale is en_US but phone is in spanish

i test i18n in gluon with its default project : gluon mobile single view . i add a print line to get : Locale.getdefault() . but is in english en_US and the device is in spanish . i have another large project with bundles and i had the same issue .…
Giovanni Contreras
  • 2,345
  • 1
  • 13
  • 22
2
votes
1 answer

SQLite in Gluon Client Plugin Project

I need to use SQLite in my Gluon Mobile Project on all platforms (iOS, Android, Desktop). I’ve found following question SQLite on Android via JavaFX and Gluons client-maven-plugin but unfortunately it didn’t help me. It would be really helpful to…
2
votes
1 answer

how to add own native service in Gluon app

I would like to add sms and email native services (similar to Dialer service) to a Gluon application. I have seen some information regarding the previous version "gluon charms down", but nothing for the later version "gluon attach" ... Is it still…
brunesto
  • 430
  • 3
  • 11
2
votes
0 answers

JavaFX Modular project issues

I have Gluon Mobile sample project and decided to make it modular by adding module-info.java class, anyway since then I'm receiving many package errors like: error: package com.gluonhq.attach.util.impl is not visible package…
AtomX
  • 364
  • 2
  • 13
1
2
3
39 40