List of utility methods to do Contact Create
Intent | getCreateNewContactIntent(QRCodeContact qrc) Forms and returns an intent to create new contact. Intent i = new Intent(Intent.ACTION_INSERT); i.setType(ContactsContract.Contacts.CONTENT_TYPE); i.putExtra(ContactsContract.Intents.Insert.NAME, qrc.getContact_Name()); i.putExtra(ContactsContract.Intents.Insert.PHONE, qrc.getContact_Phone()); return i; |