EWS SyncItem Request Problem in Android RRS feed

  • Question

  • Hi All,

    I was trying to hit my exchange server with basic authentication in android to sync the mails in my phone. I am initially hitting SyncFolderItem Request with max count as 512, and i am repeating this till i am reaching my total message count.

    I am getting the response correctly for the first two hits,and problem araises when i hit the request for the 3rd time. For example i have 1100 mails, for the 1st hit iam gettng 512 (saving my sync state from response) and hitting my request again with max size 512, now i am having 1024 records , but the pbm araise if i hit the 3rd req for the remaining items (76 items) , response of 3rd is giving me the duplicate values i.e., 3rd response is same as the 1st response

    Plz help me to solve this

    • Edited by DeepakSudu Thursday, May 23, 2013 5:22 AM
    Wednesday, May 22, 2013 2:53 PM

All replies

  • Hello DeepakSudu,

    Are you using the SyncState returned in the 2nd response in your 3rd request?

    With regards,

    Michael | Microsoft Exchange Developer Content

    The Exchange Development Forum Guide has useful information for using the Exchange Development Forum.

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Tuesday, May 28, 2013 4:58 PM