I have a doubt, when we try to register for C2DM, does the registration happens in backgroud thread or in normal thread. Thanks in advance
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.
It is done through an Intent, but when google changes your registration id, you need to have a broadcast receiver to handle the new registration id. When you get the new one you need to send it to your 3rd party server to make it able to send message to the phone.
As @Jay Thakkar said, Vogella’s article is quite nice tutorial for understanding the c2dm.