I want to create a unique Android device identifier for my Android application to create favorites according to the udid user device.
All devices have a unique identifier.
import android.provider.Settings.Secure; private String android_id = Secure.getString(getContext().getContentResolver(), Secure.ANDROID_ID);
private String uDiD = Secure.getString(getContext().getContentResolver(), Secure.ANDROID_ID);