On Android applications, how to get Registration Id?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here is a link to the C2DM page. http://code.google.com/android/c2dm/index.html#registering
At the bottom of the page there are links to an example app which uses C2DM.
Basically you need to declare a receiver to receive the registration_id from Google and then fire off a registration request like so: