get 32 UUID - Android java.util

Android examples for java.util:UUID

Description

get 32 UUID

Demo Code

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

public class Main{

    public static String get32UUID() {
        return UUID.randomUUID().toString().replaceAll("-", "");
    }// w  w  w .  j a va 2  s .  c  o m

}

Related Tutorials