How can I create a contact group programmatically in Android?
<p>I want to create a contact group, give it a particular name and then add contacts to it.</p>

<p>I can make contacts <em>by using <code>RawContacts</code> class</em> but I do not know how to </p>

<ol>
<li>create a contact group </li>
<li>and then add contacts to that particular group. </li>
</ol>

<p>Can someone please help me out with some sample code?</p>
