Generating Device-Specific Serial Number [duplicate]
问题 This question already has answers here : Is there a unique Android device ID? (48 answers) Closed 4 years ago . I would like to be able to generate unique serial numbers for each Android device for use in unlocking an application. How could I do this? EDIT: The reason is I want to revamp a paid application and provide users who have paid for the old version, which will have a different package name, a way to obtain the full version by downloading an unlockable free version of the application.