I am getting android device id from this code of snippet which is for my device is "3b3472d8998af818"
protected String getDeviceId() {
return Secure.getString(this.getContentResolver(), Secure.ANDROID_ID);
}
and android device token from this code of snippet which is for my device is
APA91bGeA3xOsXocz-eNOklONNVYwHyjvzyVMPQtC54_GX5Npx5fjWjpDbw6XOGqFi-a0lz7gL4BQlZXN-opPyHwJxxo3-1jyqjc1df6y8KwdVj7tUHVObcE3sF0XSpSngUkq6UfCEUTwgmsv-sjGuK863Y4R1kmHA
GCMRegistrar.register(this.context, CommonUtilities.SENDER_ID);
I don't know what is the difference between two ids?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…