follow these steps:
- Run the application
- check if the identifier is registered
- if the register identifier is an empty string, then check for error messages in ddms
- if there are no error messages, then
a) Verify that the senderid is correct.
b) Check manifest permissions - If there are error messages, can you insert them here?
genereally, what happens when the application is launched for the first time, it takes some time to generate the register identifier, and the register identifier can be caught in the onRegister () method in the GCMIntentService class.
dd619 source share