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. Is automatic calling possible with android?

Hi,
This is my first message to community, may sound bit stupid but bear
with me as I am new to developer's list.

I want to make an application using android which does the following:

Starting Step:
Asks user to use audio file or text(English)

1. Picks a phone number at random(or based on certain query) from
database,I read that android uses sqlite
2. Makes a call to this number and plays the selected sound file OR
the entered message using Text to speech.
3. When call finishes Update the database
4. Repeats the process till application is open

I am new to Android Developer's Community.So Please tell me if it is
possible or not to make such an application and also tell me how much
time and effort will it take?Will it be easy or tough for a beginner?

Regards
Smarth

-- 

2. Pengen py EVO dan Incredible tp kantong pas2an? masuk deh hehehe

Sekitar berapa harganya bos?

2010/7/1 Vincent Wongso <vincew...@gmail.com>

> 

3. Mirink Yogya 3 Juli 2010 jam 20:00 di Kafe Jendela (gmaps: -7.758659,110.395795)

4. OOT: Pembantaian terstruktur Jerman......

5. open other apk from my activity

6. Mirink Yogya 3 Juli 2010 jam 20:00 di Kafe Jendela (gmaps: -7.758659,110.395795)

7. Video Render application using Native SurfaceFlinger APIs