I am trying to add contacts in my application, but I'm running into some snags. Here's the code I have:
case R.id.bt_add_to_contacts_btn: Intent intent1 = new Intent(Intent.ACTION_INSERT_OR_EDIT); intent1.setType(ContactsContract.Contacts.CONTENT_ITEM_TYPE); intent1.putExtra(ContactsContract.Intents.Insert.PHONE, "6363986200"); intent1.putExtra(ContactsContract.Intents.Insert.NAME, "Boone's Trail Branch (BT)"); intent1.putExtra(ContactsContract.Intents.Insert.POSTAL, "#10 Fiddlecreek Plaza"); startActivity(intent1); break; How can you add the city, state, zip and get it into the right place? Or, is there a better way to do this? -- 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