Skip to content

Files

Latest commit

 

History

History

gluon-connect-file-provider

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Gluon Connect - File Provider

A JavaFX application that uses Gluon Connect, a mobile application framework to bind your data to your JavaFX UI controls. This application demonstrates how to retrieve data from a file on the local file system.

Documentation

Read more about this particular sample in the File provider section on the Gluon Connect documentation website.

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