Hi,

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.

Thanks

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to