Change type of email from WORK to HOME and vice versa
<p>I want to change the type of email that is coming from Email.CONTENT_URI from WORK to HOME and vice versa. Below is the code but I am getting exception as below.</p>

<p><em><strong>Caused by: java.lang.UnsupportedOperationException: URI: content://com.android.contacts/data/emails</em></strong></p>

<p>The code is as below</p>

<pre><code> Uri emailuri = Email.CONTENT_URI;;
             ContentValues values=new ContentValues();
             values.put("data2", Email.TYPE_WORK);
             String where="display_name=some_email@gmail.com";
             int out=getApplicationContext().getContentResolver().update(emailuri, values, where, null);
</code></pre>
