Created
March 21, 2022 13:18
-
-
Save tokoiwesley/27a644312fe657626996f4af0b77a276 to your computer and use it in GitHub Desktop.
Generate a unique Android Device ID
This file contains hidden or 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 s = Build.BOARD.length() % 10 + | |
Build.BRAND.length() % 10 + | |
Build.DEVICE.length() % 10 + | |
Build.DISPLAY.length() % 10 + | |
Build.HOST.length() % 10 + | |
Build.ID.length() % 10 + | |
Build.MANUFACTURER.length() % 10 + | |
Build.MODEL.length() % 10 + | |
Build.PRODUCT.length() % 10 + | |
Build.TAGS.length() % 10 + | |
Build.TYPE + | |
Build.USER.length() % 10; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment