Monday, March 26, 2012
Google IO: Android client send/receive data between Java server + App Engine + C2DM
Has been awhile did not come and give you a post. I'm recently looking for something that is really worth to share with all of you. I FINALLY FOUND IT.
You: What is this post about?
This is a tutorial that is using Android as client to send and receive data with Java Server. They really provide you a complete code that is working so that you can study from the code!
You: Why not HttpClient / HttpPost / HttpResponse to talk to server?
I would say if you are not really familiar with the above, it will be rather tedious to get it work. so here, Google teach you how to talk to the server using only RequestFactory. Everything done.
You: Give me a rough idea, I'm newbie, i really need to know what is going on?!
You: What is C2DM?
(someone please correct me if I'm wrong)
Cloud to Device Messaging, for me, the best example will be:
Server: "Hey dude, I got something new, come to have a look."
Client: "Okay, update now."
So Now......
Out there, is there any complete code which is working just by clicking File > New?
This is my dream.... and now comes true.
Several prerequisite that you need to get it work.
Eclipse Helios
Google Plugin
C2DM registration - I wait two days after the registration, then my account only activated.
GWT (Google Web Toolkit) plugin for Chrome. (so far no plugin available for Mozilla 11.0)
cloud-task-io - all source code that they do the demo, including all original package, snippets even icons.
Maybe even you work as they mentioned still can't get the thing run. Then stay tune on my next post, I'll share a step by step guide for you.
Labels:
Advance Tutorial
Subscribe to:
Post Comments (Atom)
Thank you very much for sharing such an important post with us. Just keep up the good work.
ReplyDeleteMobile Apps Development Companies