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 9043797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T10:48:53+00:00 2026-06-16T10:48:53+00:00

I am trying to implement push notification in my android app using c2dm sever.I

  • 0

I am trying to implement push notification in my android app using c2dm sever.I have used gmail account that is synced in my mobile which is not a Role account(not register with c2dm http://code.google.com/android/c2dm/signup.html). and i used curl command

curl --header "Authorization: GoogleLogin auth=your_authenticationid" 
"https://android.apis.google.com/c2dm/send" -d registration_id=your_registration 
-d "data.payload=payload" -d collapse_key=0

to send the message. but i got response which says Unauthorized as

  <HTML>
  <HEAD>
  <TITLE>Unauthorized</TITLE>
 </HEAD>
 <BODY BGCOLOR="#FFFFFF" TEXT="#000000">
  <H1>Unauthorized</H1>
  <H2>Error 401</H2>
  </BODY>
  </HTML>

Note i have sign up my android app with another Gmail id like somthing@gmail.com?? should i use somthing@gmail.com to request registration id?

  • 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-16T10:48:54+00:00Added an answer on June 16, 2026 at 10:48 am

    Any of gmail account can be used.It is not necessary that gmail id synced in android mobile should be used for role account.

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

Sidebar

Related Questions

I'm trying to implement push notification for an iPhone app using Urbanairship. So, when
I'm trying to develop a android app that using push notifications. While using the
I'm trying to implement a Push Notification based app on Windows Phone. I have
I've been trying to implement the C2DMReceiver to receive push notification. I have downloaded
I am trying to implement push notification in iPhone. I have already done it
I am trying to implement a push notification server. So far, I have my
I am trying to implement Parse Push Notifications. I have it all set up
Trying to implement google C2DM service. registrationIntent.putExtra(app, PendingIntent.getBroadcast(context,0,new Intent(), 0)); registrationIntent.putExtra(sender,example@gmail.com); context.startService(registrationIntent); Almost every
I am trying to implement the push notification in my application . For this
Am trying to implement a Java program which sends an Apple Push Notification to

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.