Private PeopleProjection() As String = Array As String("times_contacted", "last_time_contacted", _
      "display_name", "has_phone_number", "starred", "_id", "photo_id")
Private cr As ContentResolver
cr.Initialize("cr")
...
...
Sub GetAllContacts
  Dim u As Uri
  u.Parse("content://com.android.contacts/contacts")
  cr.QueryAsync(u, PeopleProjection, "", Null, "")
End Sub
Sub CR_QueryCompleted (Success As Boolean, Crsr As Cursor)
  If Success = False Then
      Log(LastException)
  Else
      For i = 0 To Crsr.RowCount - 1
        Crsr.Position = i
            Log(Crsr.GetString("photo_id"))
            '------- How to use this photo_id  :)
      Next
      Crsr.Close
  End If
End Sub