如题   模糊匹配!
游标包含信息:
        Contacts._ID,                       // 0
        Contacts.DISPLAY_NAME_PRIMARY,      // 1
        Contacts.DISPLAY_NAME_ALTERNATIVE,  // 2
        Contacts.SORT_KEY_PRIMARY,          // 3
        Contacts.STARRED,                   // 4
        Contacts.TIMES_CONTACTED,           // 5
        Contacts.CONTACT_PRESENCE,          // 6
        Contacts.PHOTO_ID,                  // 7
        Contacts.LOOKUP_KEY,                // 8
        Contacts.PHONETIC_NAME,             // 9
        Contacts.HAS_PHONE_NUMBER,          // 10
        SearchSnippetColumns.SNIPPET_MIMETYPE, // 11
        SearchSnippetColumns.SNIPPET_DATA1,     // 12
        SearchSnippetColumns.SNIPPET_DATA4,     // 13

解决方案 »

  1.   

    我实在不理解LZ你的问题是什么 Contacts.HAS_PHONE_NUMBER, // 10
      

  2.   

    我建立个Android群,欢迎加入。69862777
      

  3.   


    Cursor cursor = getContentResolver().query(Contacts.Phones.CONTENT_URI, null, Contacts.Phones.NUMBER+"= "+Mobile+" AND "+Contacts.Phones.TYPE+"="+Contacts.Phones.TYPE_MOBILE, null, Contacts.Phones.DEFAULT_SORT_ORDER);
            cursor.moveToFirst();
            String _id = cursor.getString(cursor.getColumnIndexOrThrow(Contacts.Phones.PERSON_ID));
            
            Cursor manCursor = getContentResolver().query(Contacts.People.CONTENT_URI, null, Contacts.People._ID+"="+_id, null, People.DEFAULT_SORT_ORDER);
            manCursor.moveToFirst();
            String phoneicName = manCursor.getString(manCursor.getColumnIndexOrThrow(Contacts.People.PHONETIC_NAME));
            ...依次类推