get 36 UUID - Android java.util

Android examples for java.util:UUID

Description

get 36 UUID

Demo Code

import android.text.TextUtils;
import java.util.Locale;
import java.util.UUID;

public class Main{

    public static String get36UUID() {
        UUID uuid = UUID.randomUUID();
        String uniqueId = uuid.toString();
        return uniqueId;
    }/*from w w  w  .j a  va  2 s .c o  m*/

}

Related Tutorials