Skip to content

Android Client

BugsLord edited this page Aug 26, 2016 · 1 revision

To install Android Client

  • 1. When manage user APP, the create new dialog or update dialog will display a download QR code. Use the Android phone to scan that QR code to get the link to download the APP
  • 2. When the user APP is first created at server side, it is in "not connected" state. To connect the APP, click the Connect APP button, a dialog will displaying another QR code.
  • 3. Use installed APP to scan that QR code, the QR code will contains the configuration (in JSON format) as defined in previous Configuration section
  • 4. The installed APP will save the configuration information
  • 5. The installed APP shall use saved configuration to contact server by post to https://hostname/rest/connect/:key
Payload of the HTTP post made in step 5:

{

    code: "code used to connect",
    info: <an opaque JSON object represents the important mobile information>

}

Clone this wiki locally