Android get C2DM registration_id

  1. Emulator doesn't support it
  2. Your device must later than Android 2.2
  3. Have log-in Android market first
  4. Eclipse use Google API 2.2, not Android SDK2.2
  5. Registration_id max_size is 4096 byte 
Important: C2DM has been officially deprecated as of June 26, 2012. This means that C2DM has stopped accepting new users and quota requests. No new features will be added to C2DM. However, apps using C2DM will continue to work. Existing C2DM developers are encouraged to migrate to the new version of C2DM, called Google Cloud Messaging for Android (GCM). See the C2DM-to-GCM Migration document for more information. Developers must use GCM for new development.


Popular posts from this blog


Drawing textured cube with Vulkan on Android

C++ unit testing & CI integration in GitHub (2/2)