How to create UUID from string in android May 21, 2023 by Tarik Using the class UUID An example like this: UUID.randomUUID().toString()