Android Utililty Methods Contact Create

List of utility methods to do Contact Create

Description

The list of methods to do Contact Create are organized into topic(s).

Method

IntentgetCreateNewContactIntent(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;