Android C2DM Registration Id

I am creating an application that uses c2dm.

I think I should ask for a registration identifier when my “main intention” of my application starts. I do this, but it seems that every request leads to a new line, so I end up accumulating numerous registration identifiers in my database for the same device. I believe that only one of them will work. However, I don’t want to just delete the old ones, because I want my user to be able to receive notifications on several devices if they own more than one.

How should I do it?

+3
source share
5 answers

ID ,

C2DM. , .

google, ( ), . , .

, , . , . R_ID. R_ID ,

+1

, , , (, C2DM). , , , , . , , -.

0

register_id device_id . , . reg reg , ...

, - , reg id, , .

? ?

0

, , ( , ). Google , , , .

, , 200 " = NotRegistered". .

http://code.google.com/android/c2dm/#server

0

C2DM , ( , ).

, C2DM . , , .

. , C2DM [ , ). , , .

, .

0
source

All Articles