@ErumHannan, I think you have to add the imageUri to a bundle object and send that, like this, for ex., Bundle bundle = new Bundle();
if (name != null && !name.isEmpty()) {
bundle.putString(ContactsContract.Intents.Insert.NAME,
massageContactData(name));
}