Skip to content

Commit 567d077

Browse files
authored
Update README.md
Fixed missing , in the snippet code to retrieve both numbers
1 parent af208e6 commit 567d077

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ Sample code if you need to get both device identifiers:
211211
// The message contains the serial number
212212
String mySerialNumber = message;
213213
// We've got the serial number, now we can ask for the IMEINumber
214-
DIHelper.getIMEINumber(contextnew IDIResultCallbacks() {
214+
DIHelper.getIMEINumber(context, new IDIResultCallbacks() {
215215
@Override
216216
public void onSuccess(String message) {
217217
// We've got an EMEI number
@@ -237,7 +237,7 @@ Sample code if you need to get both device identifiers:
237237
// Do something here with the error message
238238
// We had an error with the Serial Number, but it
239239
// doesn't prevent us from calling the getIMEINumber method
240-
DIHelper.getIMEINumber(contextnew IDIResultCallbacks() {
240+
DIHelper.getIMEINumber(context, new IDIResultCallbacks() {
241241
@Override
242242
public void onSuccess(String message) {
243243
// We've got an EMEI number

0 commit comments

Comments
 (0)