The QR code enrollment method sets up and configures Google Glass smart glasses by scanning a QR code. The QR code contains a payload of JSON values with all the information needed for the device to be enrolled.

Note:

 Various word-processing applications use special characters for editing. Using copy/paste uses these characters, invalidating your JSON. Consider validating your JSON using any free online tool.

You can use any online QR Code generator, such as Web Toolkit Online, to create your QR code before beginning enrollment. The QR code includes the Server URL and Group ID information. You can also include the user name and password or the user has to enter their credentials. Here is the format of the text to paste into the QR Code generator:

{

“COMPONENT”: “com.airwatch.androidagent/com.airwatch.agent.DeviceAdministratorReceiver”,

“LOCATION”: “https://awagent.com/mobileenrollment/airwatchagent.apk“,

“NFC_MIME”: “application/com.airwatch.agent.enroll”,

“EXTRAS”: “serverurl" \ngid=EnrollmentOG\nun=EnrollmentUserName\npw=EnrollmentUserPassword”

}

Note:

QR Code enrollment is only applicable to Google Glass.

To enroll smart glasses with QR code enrollment:

  1. Follow the steps to create an enrollment user. See Create an Enrollment User (Smart Glasses).
  2. Create QR code using a QR code generator.
  3. From your Google glasses, go to Settings > Device Options > Provisioning which runs the QR code reader.
  4. Scan your QR code and follow the prompts.
  5. Use the RunIntent File/Action and enable commands such as Setting OTA server, Lock ADB access. Set an application into kiosk mode, and enable/disable camera. For more information, see RunIntent Action.

    Important:

    To manage applications, the intent "install_non_market_apps" needs to be run on the device first. See EE14 and EE15 documentation from Google for all the intents that are now supported on Google Glass.