Hi,
I have a AutoCompleteTextView to quickly search/select a Contact.
Works so far. Now i want to implement 2 features to quickly edit/
insert a new contact on a long click (i.e. if there was already a
contact selected, it should edit it otherwise it should edit it).

Viewing works perfectly with
intent.setAction(Intent.ACTION_VIEW);
intent.setData(uri);

where Uri is a Contacts.People.CONTENT_URI with attached contact ID
segment.

But the Android Contacts app seems not to support the
Intent.ACTION_INSERT (or i'm doing sth wrong). However,
Intent.ACTION_INSERT_OR_EDIT works, but it's not exactly what i want,
as this shows all contacts available in addition to a "Create Contact"
Item which creates it.

Is there a way to directly get to the "insert" part of the Contacts
app?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to