Questions tagged [javafxports]

javafxports is an initiative from the Java Community for providing SDK's for JavaFX on Mobile (iOS/Android) and Embedded platforms.

Filter by
Sorted by
Tagged with
0 votes
0 answers
58 views

How to add javafx classes in an android project with Android Native classes in Android Studio?(Android Native Feature/views + some javafx class/views)

Hey guys I have read almost all of the questions & answers on how to use jfxmobile, or Gluon to wrap a javafx project with gradle and to run them also on an android device. Also I know that one ...
1 vote
0 answers
87 views

Error building JavaFXPorts project with Gradle 6.6.1

Error Log: FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'Mobile'. > Could not create task ':debug'. > Unnecessarily ...
  • 372
0 votes
0 answers
656 views

The package java.util is accessible from more than one module: <unnamed>, java.base while adding 'android.jar' in classpath

I am working on a JavaFX mobile project which uses AdoptOpenJDK 11.0.4-hotspot. When I run the app on Mobile, the TextField doesn't draw android soft keyboard if it is clicked for the second time. It ...
0 votes
1 answer
81 views

Automatic horizontal scroll on javafx TableView

If I scroll on my table to the right it will automatically scroll back to the left. I have no own implementation for scrolling, all is done by the TableView. Has anyone seen this before? If I test it ...
0 votes
1 answer
108 views

Javafx more reusable to click and change text of 30 labels on one page

So I am building an app where i have Arabic text all over the page added as an image through a pdf document in the fxml file, and i am adding labels so that once i swipe to the right i see the English ...
  • 135
1 vote
1 answer
132 views

Animation "ghosting" on xxhdpi Android javafxports application

I've written a small javafx app that animates a square moving from the top-left corner to bottom-right. It then reverses the animation and runs it continuously. On my pixel 4 (xxhdpi) the square ...
  • 130
1 vote
0 answers
88 views

Anybody using Gluon Client Plugin in windows with GraalVM 20?

I want to know whether any body succeded in compiling Javafx app into native into native with Gluon Client Plugin with GraalVM 20.
0 votes
0 answers
170 views

Performing an action when a push notification is clicked in Gluon based application

I am working in a javafx gluon mobile application. Currently I am trying to implement push notificaiton feature. I can send message to a specific device. It shows in notification tray. But when it is ...
0 votes
0 answers
162 views

Opening a PDF file in Acrobat Reader

In my application I'd like to show a help file (PDF) to the user. The help file is published as asset and on first request copied to the external storage. Adobe Acrobat Reader starts but does not show ...
0 votes
0 answers
53 views

'Push Client' plugin in Gluon Cloud link is not working

I am working on a javafx mobile project. I am trying to implement push notification using Gluon cloud link's Push Client. I took a sample application called Push notes from gluon samples github repo ...
0 votes
1 answer
409 views

JavaFxPorts - javafx.platform is not defined

I am trying to run the sample project of the gluon plugin created in Netbeans 8.2. But I am handling with some errors I can't fix. Maybe you can help me with my problems? When I execute the Gluon ...
  • 51
0 votes
0 answers
202 views

How to solve error "java.lang.NoClassDefFoundError: android/app/Activity" while running gradle command "android" (javafxports)?

Today I started looking at JavaFXPorts. I read this Gluon Documentation. But... when I run the Step 2.4.3 ("Deploying the project") by clicking on application→run at gradle panel, the first error ...
user avatar
1 vote
1 answer
259 views

Gluon Mobile app suddenly crashes without code changes being done (iOS 13.3.1)

Our App got rejected during AppStore review. It worked fine on the physical test device running iOS 13.1.2 however. So, I upgraded to iOS 13.3.1 and now it crashes with the exact same error report ...
19 votes
1 answer
361 views

Kotlin compatibility with JavaFXPorts

I would like to build a JavaFX Android app with JavaFXPorts and Kotlin code. Is it possible to use Kotlin in a JavaFXPorts project? Here's my example Gradle (version 5.6.4) project: Note: Problem ...
  • 598
0 votes
0 answers
52 views

FXML Crashes When Compiled to APK

I am trying to make an app with javaFX using javaFXPorts, and this is the last obstacle I have to overcome. My ./gradlew run runs fine - all of the functionality is there as I would expect it to be. ...
  • 307
0 votes
0 answers
124 views

A new Runnable causes a gluon application crash

everybody, I developed a simple java application which then evolved with the gluon-mobile framework. The application is about the game Forza 4 ( Connect 4 ) ; no problem for the desktop part, but I ...
0 votes
0 answers
166 views

File Chooser In Gluon Mobile

I m using Gluon 5.0.2 I am trying to make an app that takes an file url and download it to user specified location But I cannot make the user to select a directory where to save file Also all the ...
0 votes
1 answer
155 views

GluonVM launching on iOS Device [issues]

I am giving a try of GluonVM on iOS with Oracle JDK 10.2. I have noticed that although I have "com.javasuns.test" in src/ios/Default-Info.plist, when I run the "./gradlew launchIOSDevice" command, the ...
  • 1,053
0 votes
0 answers
199 views

Disable default overscroll behaviour on ScrollView

The JavaFX ScrollView has no default overscroll behaviour. But when you compile your app to Android (and iOS for what it's worth) using the javafxport project, the overscroll is suddenly possible. I ...
  • 1,131
1 vote
0 answers
133 views

How to display data from three different entities or classes in JFXTreeTableView

I have three classes, Countries, Cities and Communities. The Countries class relates one to many to Cities, and in Countries I have a List attribute where I store the cities. The Cities class relates ...
0 votes
0 answers
106 views

How to include external jar in javafxports Project?

I am trying javafxports using gluon plugin on netbeans. JavaFx works on android but if i include a jar like jsoup, i get only black screen on android.However, all is working fine on Desktop. I have ...
0 votes
1 answer
204 views

Is there any file navigation in Gluon JavaFX?

Let's say that you are going to open a picture or a file with an application you have made with Gluon JavaFX. Is there any file navigation window to use for selecting that file or picture? Assume ...
  • 2,198
0 votes
1 answer
273 views

JavaFX Application Thread - When using Gluon Ignite Dependency Injection

I'm using Gluon's Ignite dependency injection library and when I run this code I get this following error. public void initialize() { Platform.runLater(() -> { ...
  • 2,198
0 votes
1 answer
72 views

StorageService gives an error on GluonHQ framework - How do I solve this?

Normally I have been using FileChooser in JavaFX. Super easy to do that. Just call it and it will open a new window where you can select your file. Done! But FileChooser does not work on Android and ...
  • 2,198
1 vote
1 answer
210 views

install gluom App ADT via ADB and I get error"INSTALL_FAILED_NO_MATCHING_ABIS"

I try to install my app that build usin javafxports via ADB, or copy apk and install. bat i got error. adb -s emulator-5554 install MyApp.apk adb: failed to install MyApp.apk: Failure [...
0 votes
1 answer
284 views

Using the Numeric keyboard from a Gluon mobile application

In Android, to have the keyboard be numeric only, you only need to set the inputType as number. In Javafx, you must make sure you have the correct properties set, in this case, System.setProperty("...
  • 1,182
0 votes
0 answers
70 views

JavaFX support for 64bit requirement on Android

With the 1st of August, new apps and updates are required to include 64 Bit native code, if the app ships with them. Since there is a native JavaFX renderer bundled within each of this kind of apps, ...
  • 1,131
0 votes
0 answers
150 views

how to open file chooser in android using gluon moblie?

how to open file chooser in android using gluon mobile? how to save an image usng gluon mobile? I reffer many web sites but there was no answer.
0 votes
1 answer
215 views

Which properties file encoding to use for javafxports project?

My project has properties files for language dependent texts which are encoded (per default derived from content type) in ISO-8859-1. They are read using ResourceBundle. When I run the application on ...
0 votes
1 answer
238 views

Android error testing picture service and location service with Gluon Mobile

I'm testing the barcodescanservice, the locationservice and the pictureservice in a simple BasicView with 3 buttons. The barcodescanservice is ok, but the pictureservice produces a nullpointer error ...
  • 1
0 votes
1 answer
87 views

Exception when running JavaFX app using Hibernate on Android

I have a JavaFX desktop application. It accesses a remote MySQL database via Hibernate and LAN/WiFi. I now try to port it with an as small as possible effort to Android 8.1 using Gluon mobile/...
0 votes
0 answers
55 views

javaFxPorts When I Going back from google map to my app. it start from the beginning. WHY?

In javaFxPorts When I run anther app from my gluon app and go back to my app it start from the beginning and I lose all data that I got it from SQLite :( what is the problem?
0 votes
1 answer
332 views

JavaFX line chart freeze after it got an error - Bug?

I'm using JavaFX with Gluon Mobile. Very good framework for creating mobile applications. But I have a JavaFX line chart that freeze after it got an error. Exception in thread "JavaFX Application ...
  • 2,198
0 votes
1 answer
72 views

GluonMobile: mergeAndroidAssets task fails (missing @Inject)

I'm working on a project with GluonMobile. Recently I added some android-assets to the android-module. After that I was not able to run an android build (apkDebug, ...), because the following error ...
  • 195
1 vote
1 answer
171 views

How to specify Entitlements.plist attributes in JavaFXPorts (GluonHQ)

I would like to add some associated-domains in Entitlements.plist in my JavaFXPorts project. It seems that Entitlements.plist is created automatically each time i run the gradle build under ./build/...
  • 1,053
0 votes
0 answers
55 views

how make Android apps fullscreeen using javafxports?

I have a video streaming application build using JavaFX and successfully ported to Android 7 using Javafxport. Currently, my App is being overlayed by on-screen Android navigation buttons and top ...
  • 11
0 votes
0 answers
263 views

Gluon JavaFx for IOS is throwing NullPointerException

I was so excited to hear that I can build applications for android as well as IOS with JavaFx (Thanks to Gluon). But I'm facing too many problems, first i tried all java versions, starting with Java ...
  • 21
0 votes
0 answers
258 views

The Arabic typing on my app is showing like binary code

My app javafx ports after debugger on mobile android the Arabic text is coming like if I choices from combo box or write the text on text field But when I run it on my desktop is working very well ...
0 votes
1 answer
178 views

why when i debugger my app gluon with mysql database not open in my phone?

When I run my own app on desktop Gluon, it is working fine, but when I use the debugger to my phone Sony experia the login UI is showing, but when I wrote username and password I can't access the main ...
0 votes
0 answers
72 views

Communication threads are blocked on Android 6.0.1 lenovo tablet 10" using javafxports

I have built a video streaming application using Javafxports. App works on my mobile device huwaei p-smart Android 8 but fails to connect and load on Android 6 (Lenovo tab 10"). The application needs ...
  • 11
0 votes
0 answers
355 views

Display image data in android with javafx

I am using JavaFX code based to develop an Android application using openSource JavaFxPorts.I have a working snippet for displaying the image data from the sockets in JavaFX. ...
  • 11
3 votes
1 answer
109 views

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 Desktop ...
  • 1,053
0 votes
0 answers
120 views

image chooser javafx android mobile

How to choose image from android directory/gallery in javafxmobile-plugin. I am unable to choose files like images in android device. when i open directory app hangs and suddenly close. Any help??? I ...
0 votes
1 answer
53 views

How to build android apk using javafxports,opencv3.4, gradle and eclipse

I use OpenSource javafxports plugins to build a desktop and android application using gradle buildtool with eclipse. For android I can generate APK and upon unzip in /lib folder there are no native ...
  • 11
0 votes
2 answers
317 views

How to connect godaddy mysql in javafx application

I am having a problem in connecting my GoDaddy MySQL connection in a javafx desktop/android application. I want to connect directly to MySQL located at GoDaddy, without using ssh technique. This is ...
0 votes
0 answers
304 views

Javafx android mysql connect over ssh

I want to connect mysql database located at hosting server (e.g. godaddy) using ssh technique (because it does not allow direct connection) in android javafx (using javafxmobile-plugin) project. I ...
2 votes
1 answer
255 views

textfield & combobox problem in javafx android

I am having problem in simple javafx android app. The problem is that i build very simple app with some text-fields and combobox in netbeans ide using gradle javafxmobile-plugin. I run the app in ...
0 votes
0 answers
283 views

Could not find /javafx.platform.properties on classpath

Last month i build many gluon apps for android mobile. They were working. But now when i build apk using same way they are not working, and generating this error on android mobile Unfortunately ...
3 votes
2 answers
2k views

Running Clojure on Android: "can't load this type of class file"

I'm trying to get Clojure and JavaFXPorts running on Android. But it crashes at startup with the following stacktrace. I know too little about the JVM internals, so I'm at a loss about why this ...
0 votes
0 answers
83 views

Adding separately-compiled classfiles to JavaFXPorts apk

I'm having a build.gradle file with both the gradle-clojure and the javafxports plugins. It compiles fine, but I do have one problem: The compiled Clojure class files get placed under build/clojure/...

1
2 3 4 5
8