These days are going to learn something handy for Android contacts, slightly involved before, but each time is a little bit.
Recommended domestic Two link:
http://fanfq.iteye.com/blog/779569
http://www.icodelogic.com/?p=453
Two are read contacts, but the first link using multiple queries, a better understanding, but the efficiency of the bottom. 250 Records (6s)
The second link uses the querying entities, which returns the data set, greatly reducing the number of queries. 250 Records (200MS) The reason I think it should be the latter employs transactions, saving overhead.
Google has a more detailed contacts of the textbook, also talked about to querying entities:http://developer.android.com/intl/zh-cn/guide/topics/providers /contacts-provider.html
Recommended "Android-savvy" book Introduction is also good
According to the first two link, make a demo, for everyone's reference and criticism:
Http://files.cnblogs.com/files/FightForFreedom/ContactsDataBase.zip
Android get contacts, small summary