When our "Registration ID" (given by the C2DM) refreshed, do we get a notification from the C2DM by asking us to register the device (which runs the C2DM enable application) again? OR Do we have to code in the app to check it continuously from the C2DM server.
IF we are getting a new Registration ID from the C2DM server, will it come the same way when we first register the App? That means;
- to the java class where I have extends the BroadcastReceiver
- add uses-permission="com.google.android.c2dm.permission.SEND"
I visited this link also. According to that, what will happen if our app is shutdown and the process is killed. life cycle Still they fire up the Intent we need to get new Registration ID or we are not getting any notification till we start the Activity again?
I have completed the app successfully. Only need to handle the "Registration ID" refreshed situation.