How to give Glink access to the Wi-Fi mac address and/or Serial number on Zebra devices
Zebra Technologies has implemented an OEMinfo Content Provider Framework that allows Glink and other Android applications to request information about the device they are running on. Before an app can retrieve data from OEMinfo, it must first retrieve information to do so. This step must only be performed once for each app, but it is required before an app can attempt any OEMinfo read operation.
​
Authorization to access OEMinfo can be granted using StageNow and Access Manager, OEMconfig and the Service Access Configuration, or a company's own Enterprise Mobility Management (EMM) system.
​
The steps are as follows:
-
Use the Access Manager in the StageNow application on a PC to create StageNow barcodes to be scanned by the StageNow app on the Zebra device or an XML file to be distributed by an MDM/EMM system. Remember to select a minimum Compatible MX version that matches your Zebra devices.
-
Scan the barcodes in the StageNow app on the Zebra device or distribute the XML file to the device from the MDM/EMM system.
When you start StageNow on your PC and click +Create new Profile, you get this dialog box:
​​​

Select MX version on your device and click Xpert Mode then Create. Enter a Profile name and click Start.
You get this dialog box:

Click AccessMgr and Add/Update. You now get this dialog box:

Configure the following actions.
​
-
Service Access Action: “Allow Caller to Call Service”
-
Service Identifier: content://oem_info/oem.zebra.secure/wifi_mac (for Wi-Fi mac address)
or content://oem_info/oem.zebra.secure/build_serial (for Serial number) -
Caller Package Name: no.gar.glink, no.gar.glinkvt, no.gar.glink5250 or no.gar.glink3270
-
Caller Signature: Full path to the Glink App certificate on your PC
You can extract the Caller signature file from your Glink APK file or send an e-mail to support@gar.no and ask us to send it to you.
The Java SigTools.jar program can be used to extract the certificate:
java -jar SigTools.jar getcert -INform APK -OUTForm der -IN Glink_255.apk -outfile GLINK_CERT.CRT
Then click Continue. Select Encrypted or Unencrypted Barcode, NFC Data and click Complete Profile.

Select JS PDF417 (Recommended for 2D Scan Engines) Staging client and click Publish.
Write some instructions for the Staging Operator and click Publish Now. Then click Stage to create Barcodes for the StageNow app or Export for MDM to create xml file.