Skip to content Skip to sidebar Skip to footer

How To Reach Android Device Unique Id?

I'm building an android app about something. I want that my app cannot be copied. in WINDOWS I can do like this: get cpu id from this cmd line: wmic cpu get processorid encr

Solution 1:

You should generate your own uuid.

Google's blog post says IMEI, mac address, serial number, ANDROID_ID, all of them has a problem.

Use java.util.UUID instead.


Solution 2:

String android_id = Secure.getString(this.getContentResolver(),Secure.ANDROID_ID);


Post a Comment for "How To Reach Android Device Unique Id?"