Simple implementation of Android C2DM required
Asked Answered
D

2

6

I am trying to implement Android c2dm. I have looked into documentation and seen the jump note and chrome to phone samples that are provided...

But i couldnt really figure out the process. It would be great if i could simple implementation of c2dm where in when we send a request from server, it displays simple notification... Plz help

Diffractive answered 23/9, 2010 at 5:49 Comment(0)
P
7

Please take a look at my open source project at: http://github.com/geeknam/Push-Contacts The server side is written in Python. If you are familiar with Python, the code would be very easy to digest. Good luck!

Pieplant answered 8/10, 2010 at 7:22 Comment(1)
Great example, but quite complicated for my purposes. Tomas answer was more useful for me. But when I need something more complex I'll come back here. Just imho, google's use of AppEngine just confuses things for me when trying to understand the request flows.Observation
S
2

I wrote this blog entry about writing a c2dm server in Python a little while back: http://www.tomasmalmsten.com/2010/11/c2dm-server-application/ It's pretty simple to follow and provides the most basic functionality for getting it to work.

Stutzman answered 19/2, 2011 at 7:14 Comment(1)
I'm going to give it a try now... the google examples are needlessly complex imhoObservation

© 2022 - 2024 — McMap. All rights reserved.