File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments