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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T01:30:59+00:00 2026-05-27T01:30:59+00:00

This is an edit of a question I asked about a week ago. I’m

  • 0

This is an edit of a question I asked about a week ago.

I’m working on an Android app which communicates with the users’ home PCs to control some 3rd-party PVR software running on the PCs. The model is as follows…

Android app < – wifi/3g -> Windows Service <- localhost -> 3rd-party PVR software

The Windows Service is written by me (C# .NET) and acts as a proxy between the Android app and the PVR software.

What I’d like to do is use C2DM to notify users of various things – one example is if one family member sets a TV show to record, a C2DM message is sent to other family members’ devices so everybody is up to date.

I now seem to have 3 possible options for how to proceed. The Windows Service is a key player in the system so plays a part in them all but I don’t know what the best approach is.

  1. Use the Windows Service as the C2DM 3rd-party app server. Downside – I need to embed my C2DM credentials into the software and there will be potentially 100s of servers around the world requesting authentication tokens (not sure if Google would allow that).

  2. I have a hosted web server I could use which allows PHP/MySQL. The Windows Server would simply act as a relay but my PHP experience is minimal and I can’t find any comprehensive PHP examples for C2DM.

  3. Use Google App Engine (again with the Windows Service as a relay). The problem is I don’t know if Google are happy with GAE being used as a C2DM app server although I’ve seen a few mentions of it.

I’ve basically Google’d until my head hurts and keep coming back to the same tutorials and partial code examples. I know how C2DM works and actually have option 1 working in my dev environment but it doesn’t seem like a good option to go public with.

So (trying to keep my question as objective as possible)…working on the principle that option 1 is not a good idea, are there any reasonably comprehensive PHP examples out there for a C2DM app server or, alternatively, does anyone know definitively if GAE is an acceptable approach?

  • 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-05-27T01:31:00+00:00Added an answer on May 27, 2026 at 1:31 am

    With C2DM you can target the device that the message goes. So in you example the one that sets the TV show sends a message to the Windows Service to notify each one of the other users.
    You can do that with 1 C2DM server

    UPDATE

    I whould go with the 3rd server.But of what i can tell you are not sure about the structure. Shared now GAE later maybe finally ec2. What can you actualy do is to create a CNAME that points to the server of choice.(less hard coded). I don’t think that GAE cannot be used for C2DM. It’s a simple server with http requests.

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

Sidebar

Related Questions

I asked this question last week about how to manually serialize objects, and I
Edit : This question has already been asked and answered, and I apparently am
Edit (2012-04-12): Since this question was asked it is now possible (as of jQuery
EDIT: This question is about finding definitive reference to MySQL syntax on SELECT modifying
I've asked about this very example in another question: Fill in a form with
A couple of days ago I asked a question about how to replace and
edit 2015 This question and its answers are no longer relevant. It was asked
edit This question is solved! Having something weird. I'm using html { font-size: 100%
Edit: this question is outdated. The jsonlite package flattens automatically. I am dealing with
Edit This question has gone through a few iterations by now, so feel free

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.