Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have been searching for some days now how to implement Google Cloud Messaging for Android, but I'm with some serious doubts about it.

I mean, apparently Google put some good informations online, like here and here, but I'm confused about all the logic. One page talks about the client side, and another about the server side. Great, but how do I bind all of it together? How do I implement HTTP and/or XMPP protocol to communicate with the GCM connection server(s)?

I would like implement a basic HelloWorld for GCM, that would work with the following steps:

1. App send a message (say "HelloWorld") to GCM;
2. Receive that message from GCM and add it to a TextView.

What are the steps needed to achieve this basic app?

Thank you,

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
1.4k views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...