Hello I post a code by which i can call any one from contact list . protected void onListItemClick(ListView l, View v, int position, long id){ super.onListItemClick(l, v, position, id);
Intent i = new Intent(Intent.ACTION_CALL); Cursor c = (Cursor) myAdapter.getItem(position); long phoneID = c.getLong(c.getColumnIndex(People.PRIMARY_PHONE_ID)); i.setData(ContentUris.withAppendedId( android.provider.Contacts.Phones.CONTENT_URI, phoneID)); this.startActivity(i); } I have added <uses-permission android:name="android.permission.READ_CONTACTS" /> <uses-permission android:name="android.permission.WRITE_CONTACTS" /> in mainfest. *Now my question is how can i delete and edit a contact? What changes will be needed here? Please response me as soon as possible? Thanks in advance. Suman Ganguly. * -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en