Skip to content

Latest commit

 

History

History
89 lines (51 loc) · 2.65 KB

README.md

File metadata and controls

89 lines (51 loc) · 2.65 KB

AtlantaFX Gluon

License Open Issues

Monkey testing AtlantaFX Themes implemented on Gluon Platform ( Desktop, Android, Ios ), using gluon attach services ( display, browser, keyboard, device, connectivity, storage ) and gluon connect library.

Use :

scene.getStylesheets().add(theme.getUserAgentStylesheet());

in order to use default Android soft keyboard with TextField, TextArea controls.

If you use AtlantaFX default approach:

Application.setUserAgentStylesheet(theme.getUserAgentStylesheet())

Android ( I only tested on Android ) default soft keyboard doesn't show up on TextFied, TextArey controls
so you will have to create custom one.


1 2 3 4 5 4


Documentation

Read how to create Gluon samples step by step here

Quick Instructions

We use GluonFX plugin to build a native image for platforms including desktop, android and iOS. Please follow the prerequisites as stated here.

Desktop

Run the application on JVM/HotSpot:

mvn gluonfx:run

Run the application and explore all scenarios to generate config files for the native image with:

mvn gluonfx:runagent

Build a native image using:

mvn gluonfx:build

Run the native image app:

mvn gluonfx:nativerun

Android

Build a native image for Android using:

mvn gluonfx:build -Pandroid

Package the native image as an 'apk' file:

mvn gluonfx:package -Pandroid

Install it on a connected android device:

mvn gluonfx:install -Pandroid

Run the installed app on a connected android device:

mvn gluonfx:nativerun -Pandroid

iOS

Build a native image for iOS using:

mvn gluonfx:build -Pios

Install and run the native image on a connected iOS device:

mvn gluonfx:nativerun -Pios

Create an IPA file (for submission to TestFlight or App Store):

mvn gluonfx:package -Pios