could you send me a copy of your project  about how to use
AutoCompleteTextView  and  Implicit Intents invocation ?



On 1月12日, 上午1时48分, "[email protected]"
<[email protected]> wrote:
> 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 
> withintent.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 theIntent.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 [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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to