javafxports

JavaFXPorts(Gluon Plugin) Saving Files on Android

大兔子大兔子 提交于 2019-12-04 04:15:47
问题 I have a problem to save Files on Android with JavaFxPorts. I've found that link here, but it doesn't work for me. It doesn't found the Interface, and I can't use it. My goal is to save a file on Android with JavaFxports. Thanks 回答1: If you are trying to add some code in the Android folder, make sure you add correctly the GluonPlatform class in the main project. You can have a look at the GoNative sample in Gluon's sample repository, for finding out how to do it. But to save a file in the app

Javafx android mysql connect over ssh

对着背影说爱祢 提交于 2019-12-04 02:27:41
问题 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 scussfully connected to mysql database using ssh with running in my desktop pc (window). But when i run it on the android it all stuck.... Currently my codding is... .java file: public static final Integer PORT = 53009; public static final String DB_NAME = ""; public static final String DB_URL =

JavaFXPorts: Is this correct behavior for javafx.scene.control.ComboBox on Android device?

人走茶凉 提交于 2019-12-02 09:26:09
After selecting item in ComboBox, then this selected item is not displayed in ComboBox - only Android device, on desktop is it ok. Compare this two screenshots: [On desktop when item "Option 2" is selected] and [On Android device when item "Option 2" is selected] I am using JavaFXPorts 8.60.8. José Pereda Based on this question , and giving that on your bug report you mention you are using a Samsung device, there is a known issue in some Samsung devices where the touch event handling done in JavaFXPorts doesn't work as in the rest of Android devices. While this is fix on JavaFXPorts, you can

Can't set volume, volume control is not forwarded to the system

做~自己de王妃 提交于 2019-12-02 01:37:59
问题 I tried to use the Android MediaPlayer framework to play a mp3 file (see this question). After I managed to make it work, I quickly recognized, that the volume up/down events are caught by the class javafxports.android.KeyEventProcessor and never get forwarded. I tried to circumvent that, but to no avail. Are there any means to dispatch the event to the system where it not gets caught? Thanks and regards, Daniel 回答1: While I hate to constantly answer my own questions, I found a solution after

JavaFXPorts(Gluon Plugin) Saving Files on Android

和自甴很熟 提交于 2019-12-01 22:27:03
I have a problem to save Files on Android with JavaFxPorts. I've found that link here , but it doesn't work for me. It doesn't found the Interface, and I can't use it. My goal is to save a file on Android with JavaFxports. Thanks If you are trying to add some code in the Android folder, make sure you add correctly the GluonPlatform class in the main project. You can have a look at the GoNative sample in Gluon's sample repository, for finding out how to do it. But to save a file in the app's local folder on your mobile device, you can use Gluon's Charm-Down open source library. It contains

Error after running the default Gluon project (: dex FAILED)

半世苍凉 提交于 2019-12-01 19:54:09
I downloaded the Gluon plugin for Netbeans to deploy JavaFX application to Android. It ran successfully on the desktop but when I execute the android task, it throws an error: Executing: gradle :android :compileJava UP-TO-DATE :compileRetrolambdaMain UP-TO-DATE :processResources UP-TO-DATE :classes UP-TO-DATE :compileAndroidJava UP-TO-DATE :compileRetrolambdaAndroid SKIPPED :compileTestJava UP-TO-DATE :compileRetrolambdaTest SKIPPED :compileRetrolambda UP-TO-DATE :mergeClassesIntoJar :validateManifest :collectMultiDexComponents :shrinkMultiDexComponents :createMainDexList [ant:java] Java

Error after running the default Gluon project (: dex FAILED)

£可爱£侵袭症+ 提交于 2019-12-01 19:38:27
问题 I downloaded the Gluon plugin for Netbeans to deploy JavaFX application to Android. It ran successfully on the desktop but when I execute the android task, it throws an error: Executing: gradle :android :compileJava UP-TO-DATE :compileRetrolambdaMain UP-TO-DATE :processResources UP-TO-DATE :classes UP-TO-DATE :compileAndroidJava UP-TO-DATE :compileRetrolambdaAndroid SKIPPED :compileTestJava UP-TO-DATE :compileRetrolambdaTest SKIPPED :compileRetrolambda UP-TO-DATE :mergeClassesIntoJar

Javafxports and SQLite on Android Device

荒凉一梦 提交于 2019-12-01 11:07:38
i will write a sample code with sqlite, that must work both ANdroid and IOS (and Desktop) Here is my build.gradle buildscript { repositories { jcenter() mavenCentral() maven { url 'https://oss.sonatype.org/content/repositories/snapshots' } } dependencies { classpath 'org.javafxports:jfxmobile-plugin:1.0.6' } } apply plugin: 'org.javafxports.jfxmobile' repositories { jcenter() mavenCentral() maven { url 'https://oss.sonatype.org/content/repositories/snapshots' } maven { url 'https://oss.sonatype.org/content/repositories/releases' } } ext.CHARM_DOWN_VERSION = "1.0.0" dependencies { compile

Audio performance with Javafx for Android (MediaPlayer and NativeAudioService)

情到浓时终转凉″ 提交于 2019-12-01 11:02:11
I have created, with JavaFX, a game on desktop that works fine (20000 Java lines. As it is a game, the Real Time constraint is important (response time of player's actions). The final aim is to run this application with Android. I have almost finished to "transfer the Java code" from PC to Android, even if I have encountered some real time trouble. I think almost all of them are solved now. For instance, I have minimized the CPU time (consumption) of Shape or Rectangle.intersect(node1, node2) calls that are used for detecting impacts between two mobiles. Thus, the real time has been divided by

Audio performance with Javafx for Android (MediaPlayer and NativeAudioService)

主宰稳场 提交于 2019-12-01 08:07:45
问题 I have created, with JavaFX, a game on desktop that works fine (20000 Java lines. As it is a game, the Real Time constraint is important (response time of player's actions). The final aim is to run this application with Android. I have almost finished to "transfer the Java code" from PC to Android, even if I have encountered some real time trouble. I think almost all of them are solved now. For instance, I have minimized the CPU time (consumption) of Shape or Rectangle.intersect(node1, node2)