CanguroCode Active Member Licensed User Longtime User Sep 1, 2015 #1 How can use the multithreading for read all the contact list in background? Last edited: Sep 1, 2015
Erel B4X founder Staff member Licensed User Longtime User Sep 2, 2015 #2 How are you reading the contacts? You should use ContactsUtils and set VisibleOnly to true. It should be fast. Upvote 0
How are you reading the contacts? You should use ContactsUtils and set VisibleOnly to true. It should be fast.
CanguroCode Active Member Licensed User Longtime User Sep 4, 2015 #3 Yes, actually i do in that way, but i put all the contacts in a list and i need the VisibleOnly stay in false, but the wainting time for read all contacts is to long. Upvote 0
Yes, actually i do in that way, but i put all the contacts in a list and i need the VisibleOnly stay in false, but the wainting time for read all contacts is to long.
Erel B4X founder Staff member Licensed User Longtime User Sep 4, 2015 #4 ContentResolver supports async queries. So you can change ContactsUtils to asynchronously read the contacts. Upvote 0
ContentResolver supports async queries. So you can change ContactsUtils to asynchronously read the contacts.
CanguroCode Active Member Licensed User Longtime User Sep 4, 2015 #5 Ok thanks, i will try with librarys example https://www.b4x.com/android/forum/threads/library-contentresolver.30729/#content Upvote 0
Ok thanks, i will try with librarys example https://www.b4x.com/android/forum/threads/library-contentresolver.30729/#content