Skip to content

Commit 12ea8ea

Browse files
authored
Update README.md
1 parent f0dc7a4 commit 12ea8ea

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ Android 10 limited access to device identifiers for all apps running on the plat
77
**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.
88

99
To access to this API, you must first register your application using the AccessMgr MX's CSP.
10+
1011
You can do it using StageNow, more details here: https://github.com/darryncampbell/EMDK-DeviceIdentifiers-Sample
12+
1113
Or you can use this wrapper that will automatically register your application if it is necessary.
1214

1315
To use this helper on Zebra Android devices running Android 10 or higher, first declare a new permission in your AndroidManifest.xml
@@ -21,6 +23,7 @@ Then add the uses-library element to your application
2123
```xml
2224
<uses-library android:name="com.symbol.emdk" />
2325
```
26+
2427
Sample AdroidManifest.xml:
2528
```xml
2629
<application
@@ -63,7 +66,6 @@ Add the module DeviceIdentifierWrapper as a dependency to your application.
6366
Now you can use the following snippet codes to retrieve IMEI number and Serial Number information.
6467

6568
Snippet code to use to retrieve the Serial Number of the device:
66-
6769
```java
6870
private void getSerialNumber(Context context)
6971
{
@@ -89,7 +91,6 @@ Snippet code to use to retrieve the Serial Number of the device:
8991
```
9092

9193
Snippet code to use to retrieve the Serial Number of the device:
92-
9394
```java
9495
private void getIMEINumber(Context context)
9596
{

0 commit comments

Comments
 (0)