Hello,

how can i open the contact view with a query?
I try this:

Intent intent = new Intent(Intent.ACTION_SEARCH, People.CONTENT_URI);
intent.putExtra(SearchManager.QUERY, "Heiko");
startActivity(intent);

I get this error:
android.content.ActivityNotFoundException: No Activity found to handle
Intent { action=android.intent.action.SEARCH data=content://contacts/
people (has extras) }


Second Question:
Is it possible to search also for address and telephone numbers?
I have no problems in my own activity, it works fine. But i will start
the device contact list search.



Thank you for your help.

Heiko

--~--~---------~--~----~------------~-------~--~----~
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