JordiCP Expert Licensed User Longtime User Jan 5, 2016 #1 Don't know if the behaviour described here is due to some kind of error or a faulty device itself....but I am spending too many hours on it and am a little bit lost. I am experiencing a strange behaviour in an app that uses contactutils In the starter service, I initialize it and find the device's contacts to process them. Everything works as it should Code: Copy Sub Process_Globals Dim cu as ContactsUtils end sub Sub FindContacts cu.Initialize Dim cll As List = cu.FindAllContacts(True) Log(cu.size) end sub However, my customer is testing it and has 1033 contacts in his agenda. Some times the app can see 835 and others the whole 1033. No other random numbers: just one or the other. And the "missing" ones are always the same. Mostly, the first time he installs a version, it gives the correct result, and sometimes the even second time. But then it gives the "bad" result (only finds 835 out of 1033 contacts) and keeps here Any clue?
Don't know if the behaviour described here is due to some kind of error or a faulty device itself....but I am spending too many hours on it and am a little bit lost. I am experiencing a strange behaviour in an app that uses contactutils In the starter service, I initialize it and find the device's contacts to process them. Everything works as it should Code: Copy Sub Process_Globals Dim cu as ContactsUtils end sub Sub FindContacts cu.Initialize Dim cll As List = cu.FindAllContacts(True) Log(cu.size) end sub However, my customer is testing it and has 1033 contacts in his agenda. Some times the app can see 835 and others the whole 1033. No other random numbers: just one or the other. And the "missing" ones are always the same. Mostly, the first time he installs a version, it gives the correct result, and sometimes the even second time. But then it gives the "bad" result (only finds 835 out of 1033 contacts) and keeps here Any clue?
Erel B4X founder Staff member Licensed User Longtime User Jan 5, 2016 #2 The data comes directly from the internal contacts provider. Try to see which contacts are missing. Upvote 0