Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8951181
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T13:36:15+00:00 2026-06-15T13:36:15+00:00

First time user of sending android Push messages from rails server. Using https://github.com/sghael/speedy_c2dm Have

  • 0

First time user of sending android Push messages from rails server.
Using https://github.com/sghael/speedy_c2dm
Have registered my project with Google and with the project ID getting the Registration_ID of the Android device.
Now, trying test.rb below, but nothing gets sent to phone.

require 'rubygems'
require 'bundler'
Bundler.setup(:default, :development)
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'speedy_c2dm'


TEST_EMAIL = "my_push_email@gmail.com"
TEST_PASSWORD = "MY_PASSWORD"
TEST_REGISTRATION_ID = "DEVICE_TOKEN_RECEIVED_FROM_PHONE"

speedyC2DM = SpeedyC2DM::API.new(TEST_EMAIL, TEST_PASSWORD)

options = {
  :registration_id => TEST_REGISTRATION_ID,
  :message => "Hi!",
  :extra_data => 42,
  :collapse_key => "some-collapse-key"
}


response = speedyC2DM.send_notification(options) 

Any suggestion.. if I am missing anything..?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T13:36:16+00:00Added an answer on June 15, 2026 at 1:36 pm

    speedy_c2dm 1.0.2

    AFAIK Speedy C2DM efficiently sends push notifications to Android
    devices via google c2dm.

    But as documentation says you should Use GCM Instead.

    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.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm a first time programmer, first time StackOverflow user, studying from Allen Downey's free
When a user visits www.example.com for the first time, how can I detect if
long time reader first time user. I'm putting together my first RoR application and
First time cake user and I'm having real apache problems. For some reason the
First time stackoverflow user but occasional lurker, hope you guys can help me out.
I have an app, in that app if its the first time the user
In case user refuse to allow location update when on first time launch. how
First of all it's my first time in Mongo... Concept: A user is able
I'm writing some user controls for the first time and I'm wondering if there's
Here's the scenario: if this is a user's first time logging into my web

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.