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. App name/icon problems on Hero after reboot

> Yes, the test phone is running 1.5.

I am not seeing this with the app I used for last night's coding lab --
two Sprint Hero's handle reboots just fine.


1. Is this test phone a Sprint Hero (US), or a different Hero?

2. What firmware are you running? The build number on my devices is:

1.22.651.1 146733 CL62456 release-keys

3. Is the app that is giving you this behavior available for me to test to
see if I get the same behavior?

Mark Murphy (a Commons Guy)
Android App Developer Books:


2. BG threads with 1.6; is the AlarmManager starving?

No, the alarm manager does not run at the background priority, and when
delivering an intent broadcast to an application it is actually pulled into
the foreground scheduling class (else there would often be ANRs and such).

Dianne Hackborn
Android framework engineer

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.


3. Priced apps - is there a wa

4. Motorola Droid Virtual Device

5. BG threads with 1.6; is the AlarmManager starving?

6. How do some services(like "") start when the emulator boots?

7. How do some services(like "") start when the emulator boots?