8

I refered link a link to develop Push Notification but while running it show me the UI (main.xml). What should I do to create Push Notification (C2DM server) sample app?

3
  • 3
    I have absolutely no idea what you are asking, sorry Commented Feb 28, 2012 at 14:29
  • Hai ollie i have added a link(source code link) in my question right.The sample code is there i copied those source code and made sample push notification app. while running the project its running(no error in source code) but in an Emulator it displays UI(textview and button) only suppose i clicked button no reaction.what should i do to run sample push notification?I hope U will now understand! if u know sample push notication code for android please post here Commented Feb 29, 2012 at 9:12
  • you can check this tutorial <life-optimized.blogspot.com/2012/03/…> Commented Mar 9, 2012 at 10:37

4 Answers 4

12

Here's the documentation for Firebase Cloud Messaging Service that replaces C2DM and GCM: https://firebase.google.com/docs/cloud-messaging/

Sign up to request clarification or add additional context in comments.

2 Comments

Here is a good tutorial for GCM: <androidhive.info/2012/10/…>
Your link appears broken, but it is a thorough tutorial at androidhive.info/2012/10/…
11

This is the best C2dM documentation I've seen. It's in the form of a tutorial and it both explains how everything works, and provides sample code.

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

GCM is outdated. FCM comes as a replacement for GCM.

https://www.youtube.com/watch?v=uuiuVDb2bug

1 Comment

Ollie whether It's Working Properly
10

C2DM has been officially deprecated as of June 26, 2012,instead of c2dm you can use android cloud to device management service(GCM)

Comments

0

Free and easy method:

If your target user base is not large(less than a 1000) and you want a free service to start with, then Airbop is the best and most convenient.

Airbop Website It uses Google Cloud Messaging service through its API and is provides a good performance. i have used it for two of my projects and it was easy implementing it. You can easily build your sample app with it.

Services like Parse([Parse website])2 and Urbanship are excellent but paid and provide an entire deployment stack and not just the push notifications thing.

If only push service is your target, Airbop will work fine.

I haven't used Pushwoosh, but is also a great choice. It allows push to 1,000,000 devices.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.