A JavaFX Application that uses Gluon Mobile:
- CloudLink Client: the client-side counterpart of the Gluon CloudLink service
- Glisten: Simple application framework, custom UI controls and customized existing JavaFX UI controls
You need a valid subscription to Gluon CloudLink. You can get it here, and there is a 30-day free trial. Sign up and get a valid account on Gluon CloudLink and a link to download the Gluon CloudLink Dashboard.
Install and open the Dashboard, and sign in using the Gluon account credentials provided above. Go to the App Management view, and you will
find a pair of key/secret tokens. Save the file gluoncloudlink_config.json
under your project
src/main/resources/
folder. The content of the file is a JSON object with the key and secret that will grant access
to Gluon CloudLink:
{
"gluonCredentials": {
"applicationKey": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
"applicationSecret": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
}
}
To execute the sample, do as follows:
- Desktop
Just run it from your IDE or from command line:
./gradlew run
- Android
Connect your Android device and run
./gradlew androidInstall
- iOS
Connect your iOS device and run
./gradlew launchIOSDevice
Read how to create this sample step by step here