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
Asked
Active
Viewed 98 times
-1
-
It is done through an Intent, now that can be blocking or unblocking based on how you develop it – Aadi Droid Jun 21 '12 at 10:25
1 Answers
0
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.

osayilgan
- 5,873
- 7
- 47
- 68