title: Create Invisible Contacts Group in Android
body: <p>What I want is to hide contacts from the contact list. 
  So to achieve this I tried a lot and searched a lot. Finally I've come to know that we can generate an invisible group and we can assign contacts to that group so that contacts will be invisible.</p>
  
  <p>I tried that, but had no success. Even when I set the <code>GROUP_VISIBLE</code> field of <code>ContactsContact.Group</code>s, I am not able to make my group invisible.</p>
  
  <p>This is what I have tried to create a invisible group:</p>
  
  <pre><code>ArrayList&lt;ContentProviderOperation&gt; ops = new ArrayList&lt;ContentProviderOperation&gt;();
  
      ops.add(ContentProviderOperation
              .newInsert(ContactsContract.Groups.CONTENT_URI)
              .withValue(ContactsContract.Groups.GROUP_VISIBLE, 0)
              .withValue(ContactsContract.Groups.TITLE, "InViGroup").build());
      try {
  
          getContentResolver().applyBatch(ContactsContract.AUTHORITY, ops);
  
      } catch (Exception e) {
          Log.e("Error", e.toString());
      }
  </code></pre>
  
  <p>I am able to add contacts to this group but the contacts are visible in the phone book or the contact list.</p>
  
  <p>My main goal is to hide the contact from contact list. Any ideas?  How can I make my  selected contacts invisible?</p>