If you want to allow your app access to both, you will need to declare two different instances of the AccessManager.Ĭaller Package Name: Your package name, in the case of the sample it is _deviceidentifiers_sample. For the IMEI use content://oem_info/wan/imei.
#Zebra 2 serial number serial number#
Service Identifier: For the serial number use content://oem_info//build_serial. Service Access Action: "AllowCaller" (or 'Allow Caller to Call Service').The MX access manager settings to enable this are as follows: Then use the MX access manager to allow your application to call the service identifiers associated with the serial number and IMEI To access the serial number and IMEI file on Zebra Android devices running Android 10 or higher, first declare a new permission in your AndroidManifest.xml Zebra mobile computers running Android 10 are able to access both the serial number and IMEI however applications need to be explicitly granted the ability to do so and use a proprietary API. As explained in the docs for Android 10 privacy changes this includes the serial number, IMEI and some other identifiable information. To obtain the serial number or IMEI without using StageNow (using EMDK Profile Manager instead), please see this article instead.Īndroid 10 limited access to device identifiers for all apps running on the platform regardless of their target API level.
![zebra 2 serial number zebra 2 serial number](https://www.zebra.com/content/dam/zebra/knowledge-articles/i0000000Q8Pj.jpg)
This article was updated on 19th April to reflect the behaviour on Android 11