09-03-2010 10:43 AM
On startup of my Widget, I retrieve data from a web service call, then store this data on the device.
The data stored on the device may become out of date, and need to be refresh in "real time".
To do this, I tried to send push request from other application that modify the data, and having my Widget listen for push. On reception of a push, this trigger web service call to retrieve new data.
This work fine, except that the push reception is 100% guaranteed in the Widget. When my Widget navigate to another page, during the time the page load (and the PushListener isn't yet active), push request get lost.
Is there a way for push request to be held in somekind of queue, giving the time for the listener to catch them ?
09-06-2010 12:55 PM
The push request should not be lost. It has be designed to queue up any incoming data until you re-assign a call back handler on the subsequent page load.
When you re-subscribe to the push event listener there isn't any data there?
09-07-2010 02:07 PM - edited 09-07-2010 02:11 PM