code: public static Intent pickContact(String scope) {
          Intent intent;
          if (Build.VERSION.SDK_INT < Build.VERSION_CODES.ECLAIR) {
              intent = new Intent(Intent.ACTION_PICK, Contacts.People.CONTENT_URI);
          } else {
              intent = new Intent(Intent.ACTION_PICK, Uri.parse("content://com.android.contacts/contacts"));
          }
  
          if (!TextUtils.isEmpty(scope)) {
              intent.setType(scope);
          }
          return intent;
      }
docs: Pick contact from phone book
  
  @param scope You can restrict selection by passing required content type.