I’m just curious if the string generated from intent.getStringExtra(EXTRA_REGISTRATION_ID) from GCM class GCMBaseIntentService are all unique for each android device?
And how is it been generated?
I’m just curious if the string generated from intent.getStringExtra(EXTRA_REGISTRATION_ID) from GCM class GCMBaseIntentService are
Share
The registration ID is created by the GCM server and is unique to a specific app running on a specific device.
You can read more here: http://developer.android.com/guide/google/gcm/gs.html#android-app
And here: http://developer.android.com/guide/google/gcm/gcm.html#arch
Registration ID
Also that string is not generated by the code your referenced, instead it is generated on the GCM servers and read from the intent by that code.