gluon

Gluon Scene Builder 8.4.0 Launch Fails

十年热恋 提交于 2019-12-13 07:31:46
问题 I was using Gluon Scene Builder 8.3.0 and i uninstalled it then after i installed new version of 8.4.0 but it gave me some errors when i want to run the program. Errors and java version properties below; Also i tried to open JavaFX SceneBuilder 2.0 and its running well. Screenshot below; 回答1: At 1st thanks to Jose Pereda for help me to solve this problem. You have to change your locale language to English as this link below if your locale is Turkish language. But don't worry, the gluon team

How can I improve/make changes to the orginal Gluon Charm Down Services and use it in my app?

被刻印的时光 ゝ 提交于 2019-12-13 02:49:16
问题 I am using Gluon Mobile so that I can use javafx to build applications to iOS and Android. I wonder how I can change/improve on the existing Charm Down library of services that are available: http://gluonhq.com/products/mobile/charm-down/ In my case specifically I need to take images that cover the whole screen on mobile. How can images taking up the whole screen be taken on Android and iPhone? And so I am looking to make edits to the VideoService and the PicturesService . By altering and

Couldn't run JavaFX Port Application on Genymotion with flash ARM Translation

a 夏天 提交于 2019-12-12 23:07:12
问题 I am having problem running my JavaFX Port Application on Genymotion. When I try to install it on the emulator. It says "Failure [INSTALL_FAILED_CPU_ABI_INCOMPATIBLE]". So I go into flashing it with ARM Trnaslation. Finally I successfully installed my application on genymotion. The problem is when I try to run the app, it says "Unfortunately Gluon has stopped". The error log below. 07-24 13:36:57.283 1508 1508 I MultiDex: install 07-24 13:36:57.283 1508 1508 I MultiDex: MultiDexExtractor.load

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

空扰寡人 提交于 2019-12-12 19:13:00
问题 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 webEngine.getLoadWorker().progressProperty().addListener((a,b,progress) -> System.out.println(": " +progress.doubleValue())); it prints out the loading from 0.0 to 1.0. Loading Page: 0.0 Loading Page: 0.22 Loading Page: 0.38 Loading Page: 0.81 Loading Page: 1.0 Whilst on iOS it always returns 0.0 and 1.0

Cant import android files in gluon mobile

浪尽此生 提交于 2019-12-12 10:24:59
问题 my problem is that import android.content.res.AssetFileDescriptor; import android.media.AudioManager; import javafx.scene.media.MediaPlayer; import javafxports.android.FXActivity; return The import android cannot be resolved. although the class containing those imports is inside the android folder in the gluon single view project and the sdk is referenced. 来源: https://stackoverflow.com/questions/47495400/cant-import-android-files-in-gluon-mobile

Embed native video view in gluon app

∥☆過路亽.° 提交于 2019-12-12 10:15:49
问题 I'm supposed to write an app for iOS and Android that sometimes shows a customized video player on a part of the screen. I have to be able to control it (seek, play, pause, set speed, choose video...). I know that such media is not yet supported in Gluon. But would it be possible to write such a thing in XCode and Android Studio and somehow embed it in a Gluon app? 回答1: Following the design patterns in the Gluon Charm Down library, this could be a basic Android implementation of a

JavaFxPorts on iOS with Gluon

守給你的承諾、 提交于 2019-12-12 06:24:47
问题 i am using a MacBook Pro with OS X El Capitan Version 10.11.3. I try to start a simple "Hello World" Project from Gluon/javaFXports with the iOS Simulator. If i simply run the project it works on my desktop but every time i run it with "launchIPhoneSimulator" this happens: 14:52:46: Executing external task 'launchIPhoneSimulator'... :compileJava UP-TO-DATE :compileRetrolambdaMain UP-TO-DATE :processResources UP-TO-DATE :classes UP-TO-DATE :createDefaultIOSLauncher UP-TO-DATE :compileIosJava

Go Native App Not Working Correctly - Gluon Mobile

放肆的年华 提交于 2019-12-12 06:14:19
问题 I'm trying to add share button implementation to my Gluon Mobile application and I have followed the GoNative application on their website. Following it step by step, I get a file structure that is different than what is specified. In addition, the Share Service is not found so any of the code in the "ifPresent" lambda doesn't work: What it looks like What it is supposed to look like You can see that the package itself is not getting created (com.gluonhq.charm.down.plugins.ios) when I run the

Deploying to an Android emulator shows error INSTALL_FAILED_NO_MATCHING_ABIS

≯℡__Kan透↙ 提交于 2019-12-12 05:22:42
问题 My app has a plugin KeyboardService for iOS. Now i want to use the same app on android. Deploying on an emulator gives me the error INSTALL_FAILED_NO_MATCHING_ABIS which says its the wrong architecture. Is the error because of my plugin which is only for iOS? 回答1: There are already some questions regarding the use of Android emulators. This one points to the issue you are facing. So far, your best option for an emulator, in case you don't have a real Android device, is using BlueStacks. 来源:

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

戏子无情 提交于 2019-12-12 05:17:57
问题 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 create the APK, I don't see the HTML being loaded. I tried two paths i.e html/index.html and index.html , but for both the APK didn't show me anything in the app, it just loads a black screen. As per the previous question I had about Gluon, I have