gluon-mobile

Google's Admob library integration import cannot be resolved in javafx

给你一囗甜甜゛ 提交于 2019-12-25 18:36:08
问题 I'm having some issues about Google's AdMob integration on my gluon project. I'm following the answer at this link: Gluon mobile cross-platform adsView At the step 3 i have this problems about imports: The import android cannot be resolved The import com.google cannot be resolved The import javafxports cannot be resolved I've already checked other answers about this kind of problems on other topics but noone of them solved my problem. Can anybody help me to solve the problem? Thanks in

Gluon View layout displaced after taking a picture

我们两清 提交于 2019-12-25 14:47:33
问题 When my app is resumed after taking a picture, the layout of the view is displaced: This effect only occurs when an input node, e.g. TextField was focused and the layout had to be adjusted in order to not make the keyboard cover the input node. Even more interessting, I couldn't reproduce the issue while selecting a picture. The error occurred when I updated Android 6.0 to 7.0 Edit: Every now and then, there is a similar error, when the keyboard is hidden (see link): 来源: https://stackoverflow

JAX-RS compliant implementation on mobile devices

不打扰是莪最后的温柔 提交于 2019-12-25 01:36:11
问题 I'm writing an application that should run on both desktop and mobile and it needs to communicate with a server using REST. I'm Using Gluon Mobile. The code I write on the client side is jax-rs-compliant and looks like this: import javax.ws.rs.client.Client; import javax.ws.rs.client.ClientBuilder; import javax.ws.rs.client.WebTarget; import javax.ws.rs.core.Response; Client client = ClientBuilder.newBuilder().build(); WebTarget target = client.target("http://www...").path("/login/...");

MultiView FXML Project on iOS using Gluon-mobile and Java9

穿精又带淫゛_ 提交于 2019-12-24 10:04:20
问题 Creating a completely new MultiView FXML Project and then adding the Java9 necessities in Gradle: buildscript { repositories { jcenter() google() maven{ url 'http://nexus.gluonhq.com/nexus/content/repositories/releases' } } dependencies { classpath 'org.javafxports:jfxmobile-plugin:2.0.5' } } ... sourceCompatibility = 1.8 targetCompatibility = 1.8 ... dependencies { compile 'com.gluonhq:charm:4.4.0-jdk9' androidRuntime 'com.gluonhq:charm:4.4.1' compile 'com.airhacks:afterburner.mfx:1.6.3' //

InvokeDynamic not supported when building for Android

若如初见. 提交于 2019-12-24 07:43:09
问题 I'm running Gluon/charm version 3.0.0. I added a Java8-compiled library into my JavaFX project (created via the IntelliJ plugin) and on iOS it works and builds as expected, but when executing the gradle tasks android or androidInstall I get this error back: [ant:java] Java Result: 1 :createMainDexList FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':createMainDexList'. > Exception in thread "main" com.android.dx.cf.iface.ParseException:

Gluon Charm down 3.0.0 - how to create cusom plugin

╄→尐↘猪︶ㄣ 提交于 2019-12-24 06:43:40
问题 How to create custom plugin in Gluon Charm down 3.0.0? Or something similar. I have package sk.ltorok.gluon.bluetooth.plugins and this package contains two classes BluetoothServiceFactory and BluetoothService and this is code: package sk.ltorok.gluon.bluetooth.plugins; import com.gluonhq.charm.down.DefaultServiceFactory; public class BluetoothServiceFactory extends DefaultServiceFactory<BluetoothService> { public BluetoothServiceFactory() { super(BluetoothService.class); } } ... and next

Workaround for creating Gluon projects without falling back to previous Buildships?

拜拜、爱过 提交于 2019-12-24 06:28:59
问题 I was trying to create a new (test) Gluon Single View Project to discover a compiling error with my team's iOS app. This was using the latest Buildships version 2x for Eclipse 4.7 Oxygen on Mac OS X 10.12.5. Got to the last step of creating the project and the Finish button was unresponsive. Eclipse Error Log (pictured) showed "Unhandled event loop exception." Thankfully, this SO question (Eclipse gluon new project does not finish) pointed me in the right direction, and I was able to: 1)

use Gluon plugins deploy an android apk then all of the chinese charactor is not disapear

本小妞迷上赌 提交于 2019-12-24 03:23:18
问题 I creat a gluon project use multi view project(FXML) ,then I just modify the buttons character to chinese . the project run under desktop it's no problem but using android->android to deploy an apk and when install on android phone or andorid simulator and run it all of the chinese charactor is not dispear! 回答1: By default Gluon Mobile uses Roboto font, which doesn't include Chinese characters. One easy way you can solve this issue is by setting any of the Android system fonts that do include

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

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() }