I'm trying to send this command to create a contact.
am start -a android.intent.action.INSERT -d 'content://contacts/people' -t 'vnd.android.cursor.dir/person' -c 'android.intent.category.DEFAULT' -e 'name' 'Abc Xyz' -e 'phone' '1112223333'
This works fine if I just use one word for name, eg 'Abc'. If I have first and last names separated by a space(like above), Intent is successfully launching the Edit Contact screen but the name field is not updated with contact name.
Could anyone let me know if I have to use some special escape character/s for blank space.