display contact with given display name android -
so,how do it? have tried following
intent intent = new intent(contactscontract.intents.show_or_create_contact); intent.setdata(uri.fromparts("mailto","example@email.com", null)); context.startactivity(intent);
the above works mailto or tel, name?
you can send person name using intents.insert.name
intent as:
intent intent = new intent(contactscontract.intents.show_or_create_contact); intent.setdata(uri.fromparts("mailto","example@email.com", null)); // add name here intent.putextra(intents.insert.name, sender_name_here); context.startactivity(intent);
Comments
Post a Comment