开发者

How to establish a connection which will be used to sending data by server to application?

I am preparing an application for Android which will display current status of some services.

Application should get this information fro开发者_开发知识库m my server. However there is no rule in periods between changes of statuses.

I want to avoid unnecessary requests to server.

How to establish a kind of connection, which will allow server to decide when send delta to application?


Push notification technique will be good for your case

Refrences;

  • Android C2DM
  • http://tokudu.com/2010/how-to-implement-push-notifications-for-android/
  • http://blog.boxedice.com/2010/10/07/android-push-notifications-tutorial/
  • http://www.vogella.de/articles/AndroidCloudToDeviceMessaging/article.html


Use the c2dm framework. They even have a sample application for Android and AppEngine: Jumpnote

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜