Search code examples
androidandroid-c2dm

C2DM - Device and third party server email accounts query


Looking entirely from the user account perspective, are the following pointers to be followed for the C2DM push system to work?

  1. Manually sign up on https://developers.google.com/android/c2dm/signup and provide package name of my android app. consider emailId given is: foo@gmail.com

  2. Programmatically Register from my android app using a email id, foo@gmail.com

  3. From the third party application server send push notifications. Generate the authentication token using foo@gmail.com and pass****word.

My question is, is it mandatory to provide the same emailId in all the above places?


Solution

  • yes Please go though the links

    https://developers.google.com/android/c2dm/

    Sender ID An email account associated with the application's developer. The sender ID is used in the registration process to identify a Android application that is permitted to send messages to the device. This ID is typically role-based rather than being a personal account—- for example, my-app@gmail.com.

    http://www.vogella.com/articles/AndroidCloudToDeviceMessaging/article.html

    http://android-developers.blogspot.in/2010/05/android-cloud-to-device-messaging.html

    http://www.abolkog.com/portal/java-programming/117-android-push-notifications