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
精彩评论