I have an application that manages a list of third-party servers and can poll them for information. These servers should be independent of each other (and perhaps not under my control).
Now I want to implement c2dm notifications in order to avoid constant active polling. Third-party servers will be able to publish their own senderIdand allow my client to send them C2DM registrationIdafter registering with google.
Now my question is: is it possible to register from one application package for several senders of c2dm? And if so, how would I distinguish the registration processes (and especially the registration) from each other so that I could update the correct local server configuration record?
The only resource I found was this google groups thread , but it wasn’t answered for a while. Hope you can help.
Note. This applies only to registration. When sending messages, third-party servers can enter their server name, so the message handler can distinguish between them. But the registration process with google servers does not seem to give me the ability to transfer user-defined information to myBroadcastReceiver