gluon-mobile

How to generate qr code with Image overlay in Gluon?

旧街凉风 提交于 2021-02-10 22:17:16
问题 I want to generate QR CODE which have to put logo in the center. I have check the zxing library and I did it with a Java application by reading this code (How to generate QR code with logo inside it?). But as I know we can't use swing in android/ios. So how to deal with this ? 回答1: Based on the link you are referring, the accepted answer pointed to this post, where you can see that the trick to generate a QR that allows hiding its center part without affecting its readability by a QR scanner,

How to generate qr code with Image overlay in Gluon?

╄→尐↘猪︶ㄣ 提交于 2021-02-10 22:06:14
问题 I want to generate QR CODE which have to put logo in the center. I have check the zxing library and I did it with a Java application by reading this code (How to generate QR code with logo inside it?). But as I know we can't use swing in android/ios. So how to deal with this ? 回答1: Based on the link you are referring, the accepted answer pointed to this post, where you can see that the trick to generate a QR that allows hiding its center part without affecting its readability by a QR scanner,

textfield & combobox problem in javafx android

三世轮回 提交于 2021-02-05 07:01:08
问题 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 android the textfield and combobox causes problem in android mobile . The problem is that when i typed from keyboard in android nothing changes in text-field until i press space button, or choose suggestion in keyboard upper area. Also when i type some text in text-field and switch another then the

Exception when using Gluon-mobile ShareService to open PDF from application on android

风格不统一 提交于 2021-01-29 21:35:43
问题 In my application I'd like to show a help file (PDF) to the user. The help file is published with the resources and on first request copied to the public storage. This works! I can see the file and open it with Adobe Acrobat on the device. But on invoking the Gluon-mobile ShareService I get exception: Attempt to invoke virtual method 'android.content.res.XmlResourceParser android.content.pm.ProviderInfo.loadXmlMetaData(android.content.pm.PackageManager, java.lang.String)' on a null object

Exception when using Gluon-mobile ShareService to open PDF from application on android

限于喜欢 提交于 2021-01-29 19:58:57
问题 In my application I'd like to show a help file (PDF) to the user. The help file is published with the resources and on first request copied to the public storage. This works! I can see the file and open it with Adobe Acrobat on the device. But on invoking the Gluon-mobile ShareService I get exception: Attempt to invoke virtual method 'android.content.res.XmlResourceParser android.content.pm.ProviderInfo.loadXmlMetaData(android.content.pm.PackageManager, java.lang.String)' on a null object

SQLite on Android via JavaFX and Gluons client-maven-plugin

可紊 提交于 2021-01-29 14:10:48
问题 I am trying to get a JavaFX application, which uses SQLite, running on Android via Gluons client-maven-plugin but for the library with the native part of SQLite I only get an UnsatisfiedLinkError. The app as such runs fine on Android and even works perfectly with SQLite on any desktop platform, so I think my general setup is ok. In this context I wonder whether linking with shared libraries contained in a JAR file is supported at all for Android? which architecture is the right one for

Start specific view of Gluon App from a notification

て烟熏妆下的殇ゞ 提交于 2021-01-29 01:49:42
问题 I set up an alarm to show a corresponding Notification . The PendingIntent of the Notification is used to start the Gluon App main class. To show a View other than the homeView, I call switchView(otherView) in the postInit method. OtherView is shown, but without AppBar . While it's possible to make the AppBar appear, I wonder if this is the right approach. @Override public void postInit(Scene scene) { // additional setUp logic boolean showReadingView = (boolean) PlatformProvider.getPlatform()

Start specific view of Gluon App from a notification

有些话、适合烂在心里 提交于 2021-01-29 01:41:11
问题 I set up an alarm to show a corresponding Notification . The PendingIntent of the Notification is used to start the Gluon App main class. To show a View other than the homeView, I call switchView(otherView) in the postInit method. OtherView is shown, but without AppBar . While it's possible to make the AppBar appear, I wonder if this is the right approach. @Override public void postInit(Scene scene) { // additional setUp logic boolean showReadingView = (boolean) PlatformProvider.getPlatform()

Start specific view of Gluon App from a notification

[亡魂溺海] 提交于 2021-01-29 01:40:14
问题 I set up an alarm to show a corresponding Notification . The PendingIntent of the Notification is used to start the Gluon App main class. To show a View other than the homeView, I call switchView(otherView) in the postInit method. OtherView is shown, but without AppBar . While it's possible to make the AppBar appear, I wonder if this is the right approach. @Override public void postInit(Scene scene) { // additional setUp logic boolean showReadingView = (boolean) PlatformProvider.getPlatform()

Animation “ghosting” on xxhdpi Android javafxports application

江枫思渺然 提交于 2021-01-28 22:15:36
问题 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 leaves behind a trail of edges on the return trip. This does not happen on on my Nexus 7 2013 (xhdpi) or on my desktop. Tried both the gluon plugin and also the gluon-vm plugin. Seems related to screen pixel density . . . how do you prevent the ghosting artifacts on dense screens? Image and code below