intent
intent copied to clipboard
adding contact with paramters like name,title etc..
hi its possible to add contact with extra data and how its being done any exmaple
Hello @kw2019ltd , you can check this usage example for putting new contact into contact database on Android.
You can add more extras ( using putExtra() method ).
not working only tel is populated.
pls add complete example how to add contact with extra param like firstname last name etc
below not wokring
inal intent = intentImpl.Intent()
..setAction('com.android.contacts.action.SHOW_OR_CREATE_CONTACT')
..setData(
Uri(
scheme: 'tel',
path: qrCodeDetails['number'],
),
)
..putExtra('firstname', 'watted')
..putExtra('title', 'mr');
hi any update