Monday, July 12, 2010

[android-developers] Re: Best Approach to implementing Polling in Android

A BIG thank you, Mark and Kostya for your answers and time!

A few things...

Mark>>>Do not not to poll frequently.
I am supposed to poll the server to update the client of the changes
in (almost/near) real time. The interval suggested was five minutes.
Is this too frequent?

Mark>>>No, you have to re-create your alarm schedule on a reboot.
So I will capture the BOOT_COMPLETE broadcast and setup a new
schedule.

This application was originally written for iPhone and there it uses
their Push Notification Service to keep the data on the device up-to-
date. I am supposed to port this application on Android so I am not
sure of the approach to take.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate