[android-developers] Re: How to change the e-mail address programmatically?

2010-10-10 Thread Ali Chousein
After studying more in detail ContactMethods, I realized that I was using the wrong ID. Below is the code excerpt which does the job correctly. Hope it helps someone else as well. -Ali . . private static final int PEOPLE__ID_COLUMN_INDEX = 0; private static final int PEOPLE_NAME_COLUMN_INDEX = 1;

[android-developers] Re: How to change the e-mail address programmatically?

2010-10-06 Thread Ali Chousein
Hi, Yes, I have both of the permissions below in the manifest file. If the permissions are not set correctly then the application should crash anyway. Yes, I'm sure I'm looking on the right logcat file. My application does not crash, but the statement "getContentResolver().update( uri, content

Re: [android-developers] Re: How to change the e-mail address programmatically?

2010-10-06 Thread Prakash Iyer
Have you set the required permissions in your manifest? Of course, in that case you should be seeing that error in logcat. You are seeing something in logcat right, i.e. you are sure you are seeing the right logcat? On Wed, Oct 6, 2010 at 2:58 AM, Ali Chousein wrote: > No, unfortunately I don't

[android-developers] Re: How to change the e-mail address programmatically?

2010-10-05 Thread Ali Chousein
No, unfortunately I don't see any related message in the logcat. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-

[android-developers] Re: How to change the e-mail address programmatically?

2010-10-05 Thread Bret Foreman
Are you seeing any messages in the logcat? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...