gluon

Gluon Mobile ScrollPane Optimization

こ雲淡風輕ζ 提交于 2019-12-22 14:39:55
问题 I'm trying to implement a JavaFX ScrollPane with a nested VBox, and I'm experience a strange issue when scrolling too fast in mobile. The issue is that if I scroll in smaller yet quick upward gestures, the scrollpane stalls for a half a second first, and then continues. It gets laggy in random swipe gestures. Is there anyway I can optimize this? This doesn't happen on the desktop version, so I'm guessing it may be a limitation of my phone and JavaFX itself. This issue is more evident when I

Gluon Scene Builder Failure with Netbeans

混江龙づ霸主 提交于 2019-12-20 06:47:22
问题 I'm using Gluon Scene Builder but it fails when i want to run any fxml files on Netbeans 8.2. It says like "Failed to launch JVM". I tried all stackoverflow replies but it didnt help my problem. Please help!!! 回答1: I solved it at last. The problem is the system user's name. It has some blank like " Java Engineer ". I uninstalled scene builder from " Program Files " folder and renamed default system user as " JavaEngineer " then installed again to default path into " AppData/Local/Scenebuilder

what is the diference over org.javafxports » jfxmobile-plugin 1.3.16 and 2.0.30

梦想与她 提交于 2019-12-20 04:46:18
问题 what is the diference over org.javafxports jfxmobile-plugin 1.3.16 and 2.0.30 I try update the version 1.3.16 to 2.0.30 but not compile project 回答1: The jfxmobile-plugin is a gradle plugin that unifies the building of Java and JavaFX applications for different target platforms: desktop android ios embedded JFXMobile plugin comes in two flavors: jfxmobile 1.3.16 See Maven central, and its repository. Samples: See Gluon Mobile samples A typical build: buildscript { repositories { jcenter() }

Sharing multiple files with Gluon ShareService (image and txt)

寵の児 提交于 2019-12-20 02:56:39
问题 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 the path and image name. Unfortunately, the PictureService saves the image with the image title consisting of date and time at the moment the picture was taken. We tried to get the image name with the loadImageFromGallery method but this returns void

How can I use a JavaFX activity in an Android project? (Kokos sample project)

匆匆过客 提交于 2019-12-18 09:08:59
问题 I'm trying to run the javafxports sample project Kokos as I want to use JavaFX components in an app built in Android Studio but can't get it to build properly, I can build all other samples but this mixed approach isn't working. When I build I just get a black screen and the error "java.lang.ClassNotFoundException: Didn't find class "org.javafxports.kokos.Main" on path: DexPathList[[zip file "/data/app/org.javafxports.kokos-2/base.apk"]" As far as I can tell, none of the kokos classes are

Poor ListView performance on Gluon

风格不统一 提交于 2019-12-17 17:09:07
问题 I have a custom ListCell implementation, shown in the picture below. The left side, which represents the date, consisting of 3 labels, put in a VBox and the "CounterContent" consisting of the counter, with a TextField for each digit, contained in a HBox , and two Hboxes containing labels for kWh, kWh/day and so on. And that seem to be just too much, to be running performantly. I've tried to load the data in a background task, showing a progress indicator, while the task is running, but unlike

javafxports 'android' gradle task requires “Android Support Library” which is retired from Android SDK Manager…what now?

时间秒杀一切 提交于 2019-12-17 07:53:37
问题 The official Gluon docs say in the prerequisites for an Android build: From the Android SDK Manager, install...from Extras the Android Support Library However, it seems that this is retired from the sdk manager in lieu of the "Android Support Repository", a gradle repository. The javafxports plugin is apparently still looking for the old support library folder in the android SDK, as indicated by the error: Cannot expand ZIP '<my AppData path>\Local\Android\sdk\extras\android\support\multidex

JavaFX Gluon execute controller from view

ぃ、小莉子 提交于 2019-12-14 02:35:20
问题 I'm develop mobile apps using javafx gluon and GCM for messaging when other device broadcast a message, I want to refresh current active view with incoming message by calling its controller. i'm using Afterburner framework. it also described in gluon getting started How to retreive view controller from getView() in class that extend MobileApplication? here are classes I have created: public class MyGCMListenerService extends GcmListenerService { private final String NOTIFICATION_TAG =

How to setup JUnit testing in Gluon Project with Gradle

廉价感情. 提交于 2019-12-13 20:03:30
问题 I am trying to setup JUnit testing in my Gluon JavaFX Application. I am using the Gluon Eclipse Plugin with Gradle and Java 8. My build.gradle file looks like this: buildscript { repositories { jcenter() } dependencies { classpath 'org.javafxports:jfxmobile-plugin:1.0.0-b10' } } apply plugin: 'org.javafxports.jfxmobile' repositories { jcenter() } dependencies { compile 'com.gluonhq:ignite-dagger:1.0.0' compile 'org.elasticsearch:elasticsearch:1.6.0' compile 'ch.qos.logback:logback-classic:1.1

How to testing Gluon app on iOS Simulator or Real Device?

孤街浪徒 提交于 2019-12-13 18:15:45
问题 The problem is related to my previous question when I try to execute the gluon application on iOS Device/simulator. It seem not working at all. It show me the following error: launchIPadSimulator : It error Unable to find a matching device [arch=x86_64, family=iPhone, name=null, sdk=null] Edited launchIOSDevice : It error No provisioning profile and signing identity found that matches bundle ID I also checking this question, but It doesn't help me. So the question is How to make it working?