Filter out contacts from contacts pick list || option to create new contact from pick list

by Riyaz » Wed, 19 Aug 2009 18:54:09 GMT

Sponsored Links
 My application wants a functionality of picking a contact from the
phone contact, I have achieved this using the following intent

Intent intent = new Intent(Intent.ACTION_PICK, People.CONTENT_URI);
startActivityForResult(intent, 001);

I wanted few more functionalities

- An option to create a new contact from the pick list, similar to the
one which is available in inbuilt Launcher appliation

- Set of contacts should be filtered from display i.e already selected
contacts should not be displayed

- Filtering of contacts should be based on the phone number i.e a
contact might have two phone numbers associated with and wants to
filter out the phone number which is selected

I guess above can be achieved by implementing my own pick list using
contacts provider, is there any other way without implementing the new
pick list


Other Threads

1. how to rotate quad around its center

Translate the quad to the origin, rotate, translate back.


Hi guys! I'm a newbie in OpenGL. :D I'm trying to rotate a quad around its center. This is my scenario: I've a quad, drawn with TRIANGLE_STRIP, at specified coordinates. Now I want to rotate of 45 degrees around its center, without move it from its position, not around the origin of the aces. I hope you are able to understand my english... :) How can I do that? Thanks Paolo
-- Leigh McRae --

2. Alternatives to static variables in Android

I am using static Arrays and HashMaps to store some values in my
AppWidgetProvider class. But they are becoming null when the process
dies, so the widget does not work anymore. Are there any alternatives
to using static members to store data for an AppWidgetProvider in


3. Question on mobile software design process

4. The emulator running terrible slow in win2008r2 64bit with 4G RAM

5. Buku "Lets Android the World"

6. RelativeLayout is displaying contained TextViews overlapped

7. Strange RelativeLayout Behaviour - Layout Bug?