Skip to content

Latest commit

 

History

History
 
 

cloudlink-function-mapper

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

CloudLink-Function-Mapper

Learn how you can retrieve external data in your Java Mobile application by configuring Remote Functions in Gluon CloudLink. The Java Mobile code calls a function with parameters, and this function makes a request to Gluon CloudLink. The Function Mapper in Gluon CloudLink will then call the corresponding external endpoint, providing the required parameters.

Prerequisites

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. You will need to create the remote functions used by this sample in the Dashboard's API Management view, as explained in the documentation linked below.

Instructions

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

Documentation

Read how to create this sample step by step here

Screencast

See a detailed screencast here