参考: \sl4a\doc\ContactsFacade.html
读通讯录: id,姓名,电话号码
contacts.py
import android import os,sys reload(sys) sys.setdefaultencoding(‘utf-8‘) droid = android.Android() ids = droid.contactsGetIds().result for i in ids: uri = ‘content://contacts/people/‘+str(i)+‘/phones‘ res = droid.queryContent(uri).result[0] #print res print str(i),res[‘name‘],res[‘number‘]