Created
August 19, 2018 09:31
-
-
Save KhunHtetzNaing/ded82d36c70d1ab4f9cd26dcab5b09c2 to your computer and use it in GitHub Desktop.
Example Using Clone Checker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String imei = "123456789012345"; | |
CloneChecker cloneChecker = new CloneChecker(MainActivity.this, imei); | |
cloneChecker.onFinish(new CloneChecker.OnTaskCompleted() { | |
@Override | |
public void onTaskCompleted(boolean ogay) { | |
if (ogay) { | |
//This is original | |
} else { | |
//This is clone | |
} | |
} | |
@Override | |
public void onError() { | |
Toast.makeText(MainActivity.this, "Error!\nPlease try again!", Toast.LENGTH_SHORT).show(); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment