Android :: Filter Out Contacts From Contacts Pick List / Create New Contact
Aug 19, 2009
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); startActivity ForResult(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
View 2 Replies
Sep 1, 2009
My application wants a functionality of picking a contact from the phone contact, I have achieved this using the following intent
CODE:..................
How do i start pick contact activity with an option to create a new contact from the pick list, similar to the one which is available in inbuilt Launcher appliation.
View 1 Replies
View Related
Feb 17, 2009
Is there any Intent for picking multiple contacts from the Intent.ACTION_PICK?If yes whats the data that needs to be passed to the intent?
View 3 Replies
View Related
Jun 1, 2010
I want to show the user a flattened pick list of all their contacts phone numbers and it must work from versions 1.6 up. I have read the related questions on SO and the Android documentation for Eclair (http://developer.android.com/resources/articles/contacts.html#legacy).
The problem is, even splitting my code into a factory class and specific implementations does not work for me because using Contacts.CONTENT_URI only shows contacts not individual numbers. What I need is this for version 1.6
Intent intent = new Intent(Intent.ACTION_PICK, Phones.CONTENT_URI); startActivityForResult(intent, REQUEST_PICK_CONTACT);
And the equivalent for 2.0 and above.
Even if I get their example to work, by building against the 2.1 API am I not stopping my app being visible on the Market to users with earlier versions of the OS? I can't launch it against a 1.6 emulator, for example.
View 1 Replies
View Related
Sep 16, 2010
I'm developing a big application and a part of it is about contacts. I want to, first, get all the groups of contacts. And when the users selects one, show all the contacts of the group.
I've seen other applications and widgets (like LauncherPro widget or HTC Sense Widget) than can do it, but when I try, I don't get same results.
My code is:
1.- To get an example group (this is just for testing, in real application user selects):
Code:
long idGroup = 0;
String[] GROUP_PROJECTION = new String[] {
ContactsContract.Groups._ID, ContactsContract.Groups.TITLE };
Cursor c = mcp.getContext().getContentResolver().query(ContactsContract.Groups.CONTENT_URI, GROUP_PROJECTION, null, null, ContactsContract.Groups.TITLE + " ASC");
[Code]...
2.- To filter Users by group??
View 2 Replies
View Related
Nov 17, 2010
I want to show image of contacts(form contact list) in my application. How to do it?
View 1 Replies
View Related
Oct 27, 2010
I'm looking for an intent filter for when you are at the contact list and you long press a contact so a the menu comes up
View 1 Replies
View Related
Apr 26, 2013
Ok every time out of the blue I add my contacts and it asks what account i want it under (shows yahoo or gmail). No matter what I choose it will not put my contacts on my damn contact list! I have tried what people have said on another post but that **** didnt work. If this doesnt get solved im getting my money back and getting something that isnt a droid
View 1 Replies
View Related
Jan 21, 2012
My Contacts are taking up >30MB. When I view my contacts I see the people I expect to see (a couple hundred at most). But when I go to add a contact from the Call Log and I specify "add to existing contact" I get a massive list that appears to be everyone from my Google circles (probably a few thousand).
I tried clearing all data from the Google+ app, then doing same with my contacts in hopes it would rebuild without the Google+ contacts, but they are still there...and the space used is still >30MB.
How Android populates the Contacts database, and how I can limit it to JUST my actual contacts?
View 12 Replies
View Related
Jul 20, 2010
Came over to the X from a Storm 2, the verizon rep brought over my blackberry contacts to the X.The problem is, when i go to phone, these numbers show up, but if i go in thru contacts it only shows contacts i have setup since i purchased the phone.I did a search and could not find this exact problem, any other former BB users have this problem?
View 10 Replies
View Related
Sep 9, 2010
Anyone know how to do this? I know the iphone had it and I believe the evo did also. Anyone know?
View 6 Replies
View Related
Sep 9, 2010
I've just got my Wildfire and I'm pretty much satisfied, there's one thing that bothers me though. When I press the "phone" button, the list of contacts appears with a keypad. Everything's fine except for the fact, that I have all my contacts doubled - it displays those from the phone memory as well as those from the sim card. Now - this does not apply to the regular "people" list. in its menu, you can tap "view" and select the items you want to see. so I unchecked "Sim" and "Google" contacts and all I have is a neat list of phone contacts. I cannot find any such option for the phone list. Yes, I could use the "contacts" list to find people but there's another problem - it does not offer this awesome filtering by keypad that is present in the "phone" list. I can only open the keypad and type exact parts of people's names using either standard input or t9. what happens in the "phone" list, is that it seeks for contacts already on basis of the keypad button you've pressed. for example, in order to type Tom using normal input, you have to press 8 6 6 6 6. In the 'phone' list you only have to press 8 and 6. all in all, the best thing would be to have both worlds combined. but the easiest way to solve my problem would be simply to disable SIM contacts from the regular phone list. Otherwise I'll have to delete them from my simcard, which is not the best solution.
View 9 Replies
View Related
Aug 18, 2010
I have my phone set to display only numbers on the SIM (or only on the phone.. doesn't really matter) so that in the contacts app and the contacts section of the phone app I don't have duplicates of everything. However, even when this is working correctly, in the contacts section of the text messaging app, it still shows two of everything.
View 7 Replies
View Related
Sep 5, 2010
Is there a way to make it so that the facebook contacts, etc, don't show up in your default contact list? I just want to show the names and phone numbers of the people that I have actually programmed into my phone, not everyone that I have on facebook.
View 5 Replies
View Related
Oct 1, 2010
How can you text and add a contact name/number from your own list of contacts. do i need a "send business card" app.
View 1 Replies
View Related
Aug 11, 2010
1. How do I search for a contact from the people list? I don't want to have to scroll through all of them, but I don't see a search button other than the global search, and that does not seem to pull up contacts.
2. How do I get the facebook pictures on my contacts? I did the sync with Facebook, but it did not bring the pictures over, just the data.available in LauncherPro
View 7 Replies
View Related
Aug 27, 2010
I recently had my DI replaced due to a tech issue, but before I switched over I backed up everything using "My Backup Pro".
When it backed up my contacts, it backed up EVERYONE - including 550+ people I follow in Twitter. I did not have these as visible in my People (phonebook) list, just in Twitter. When I synced with my new DI, My Backup Pro installed every contact to my People list, as the app must have thought it was all part of my phonebook. I tried to make the list invisible like I had it on my original phone, but that did not work, so I deleted each Twitter contact manually from my People list. They no longer show in my People list (though are available to be made visible from Twitter).
This did not solve the problem. Any app that accesses my contact list (even Search People) displays the FULL list which includes my Twitter contacts. There is no long-press or menu options available to hide them.
I am willing to clear my contacts and upload the list again, as they are all backed up to my Google account, but I am afraid it would sync with the server and delete what is saved there.
Any advice on how to clear my contact list of my Twitter followers, or start over with my Google-saved contacts?
View 1 Replies
View Related
May 28, 2010
I'm pretty sure it's not viable to do what I'd like to based on some initial research, but I figured it couldn't hurt to ask the community of experts here in case someone knows a way.
I'd like to create a custom field for contacts that the user is able to edit from the main Contacts app; however, the user should only be allowed to select from a list of four specific values. A short list of string values would be ideal, but an int with a min/max range would suffice.
I'm interested in knowing if it's possible either way, but also wondering if it make sense to go this route performance wise. More specifically, would it be better to look up a contact (based on a phone number) each time a call or SMS message is received or better to store my own set of data (consisting of name, numbers, and the custom field) and just syncing contact info in a thread every so often? Or syncing contacts the first time the app is run and then registering for changes using ContentObserver?
View 1 Replies
View Related
Mar 23, 2009
I'm using ACTION_PICK to show a contact picker:startActivityForResult( new Intent(Intent.ACTION_PICK, Uri.parse("content://contacts/people") ) ,RESULT_PICK_CONTACT_REQUEST); I'd really like to be showing only contacts from the My Contacts group, rather than the list which includes all the auto-generated contacts. I had hoped to find an Extra to specify the group, but I can't find any sign of one. Is there any way to pick a contact from a specified group, or do I need to write my own picker?
View 3 Replies
View Related
Dec 11, 2009
I am copying my code below to do the above. The problem I have right now is after I have picked a Contact from the list, I am not able to add the name to the listview. I get a Force Close at that step. See point no. A below to understand what I am talking about.
Also, the ListView is built using 'strings' ArrayList which is empty the very first time. The Menu option 'Add' is then used to pick a Contact and add the contact Name to the ArrayList which is then:
CODE:................................
View 2 Replies
View Related
Aug 8, 2010
Can you rename shortcuts? Have tried Any cut and it doesn't pick up all my contacts.
View 5 Replies
View Related
Jun 4, 2010
Ok, so this is my first time with Android. When I first set the phone up with Facebook, it pulled EVERY friend I have and puts them in my phones contacts. After searching, I found that I can unsync them in my 'all' contacts list etc, but they are still showing up when I push 'PHONE' at the bottom of the home screen. They are behind the dialer. Is there anyway to set that screen to show recently dialed numbers or favorites or something?
View 34 Replies
View Related
Mar 5, 2012
I try to make "type-to" filter in the my dialer. When I tap a digit, there must be a list (ListView) of supposed contacts (all of them have a number containing a part from my dialer TextView). For example, if I tap 555, there must be presented contacts with such numbers:
555890856
555789734
895550123
1st attempt:
Code:
String phoneNumberPart = //this is the part of phone number. Only part!
final Uri baseUri = ContactsContract.Contacts.CONTENT_FILTER_URI;
final Uri uri = Uri.withAppendedPath(baseUri, Uri.encode(phoneNumberPart));
final String[] projection = CONTACTS_PROJECTION; //_ID, DISPLAY_NAME, LOOKUP_KEY
Cursor cursor = getContentResolver().query(uri, projection, null, null, null);
2nd attempt:
Code:
String phoneNumberPart = //this is the part of phone number. Only part!
final Uri baseUri = ContactsContract.PhoneLookup.CONTENT_FILTER_URI;
final Uri uri = Uri.withAppendedPath(baseUri, phoneNumberPart);
final String[] projection = CONTACTS_PROJECTION; //_ID, DISPLAY_NAME, LOOKUP_KEY
Cursor cursor = getContentResolver().query(uri, projection, null, null, null);
In both attempts cursor count is always 0, despite I dial the phone number of real contact.
Is it possible to filter contacts by this criteria, using Android uris? Or there is no way but "get all contacts, iterate over them and check their numbers"?
View 6 Replies
View Related
Jul 17, 2010
Still new (< 2 full days) to Vibrant and Android, so I'm not sure if this should go here or in an android forum, but here it goes:
A friend recommended I download Handcent SMS, but I've found I like the built in Messenger a little better... with one caveat. Is there a way to filter the contact list to just contacts on the phone or at least contacts with numbers? It currently includes every single person on Facebook as well as apparently every person I have ever e-mailed with gmail over the last 6 years.
View 2 Replies
View Related
Jul 2, 2010
Having had the Nexus one with glorious Stock Android I'm struggling with some of the Samsung 'improvements'. The primary issue for me right now is that I've got the nasty Sammy Contacts app (with it's non-maintained-aspect-ration contact pics, i HATE that) sync to Google Contacts, but it shows them all! On the N1 I could filter so that I could only view 'My Contacts' from Google, a nice limited Group I could readily maintain. I can see no option to do this on the SGS. Anyone found it? Can't wait for a stock android ROM for this beast, it is awesome but as of yet I can't see how Samsung added any value with their SW meddling.
View 6 Replies
View Related
Jan 16, 2010
I seem to be having a sync issue with my Droid.When I add a contact to my phone, it doesn't sync into "My contacts" in Gmail; it'll sync into "All contacts". So, a couple of questions:
1) How can I get the phone to add new contacts created on my Droid into "My contacts" in Gmail?
2) I'm trying to understand the point of "All contacts". Why does Gmail want to keep a list of anyone that I've ever sent an email to? Otherwise, it'll be simple enough to just merge the two groups and call it a day.(Note: When I bought my Droid I did NOT have the VZW sales person transfer my contacts or any data from my old Blackberry to my Droid. I used Google Sync on my BB and synced my contacts from my BB to Gmail, then when I got the Droid, it automatically pulled my contacts from Gmail.)(FWIW, yes, I did a search and found two great threads: http://androidforums.com/support-troubleshooting/15042-how-do-i-push-droid-contacts-back-gmails-my-contacts.html and http://androidforums.com/motorola-droid/15069-contacts-dont-really-synchronize.html but I have a different situation than most of those guys and I'd actually prefer to sift through and merge a couple of contacts from "All contacts" to "My contacts" every once in a while than deal with a backup and factory reset.)
View 4 Replies
View Related
May 5, 2010
This is simple enough on every other version of Android, including SenseUI 1.5.
//For Contacts
Intent pickIntent = new Intent(Intent.ACTION_PICK, People.CONTENT_URI);
this.startActivityForResult(pickIntent, RESULT);
//For Phones
Intent pickIntent = new Intent(Intent.ACTION_PICK, Phones.CONTENT_URI);
this.startActivityForResult(pickIntent, RESULT);
On SenseUI 2.1 (HTC Incredible) this shows a list of numbers (the URI number). So you get a list of 1-200 if you have 200 contacts. Selecting one of the contacts you can then gather all of the information needed. Is there any good work around known?
View 1 Replies
View Related
Feb 23, 2010
My HTC Hero lists my contacts alphabetically by first name. Short of inputting them last name first, can they be listed first name first and still come alphabetized by last name? i.e. Bill Smith before Ken Sorels and still be in a group with other people with "S" last names? Is this a procedure problem or is their an app for this?
View 6 Replies
View Related
Oct 29, 2010
So I've searched "Contacts list iphone" and what not but wasn't able to find anything. And I might get crucified for this but The one thing that the iphone did that I really liked was how you can easily scroll down to the contact you want by tapping the letter you want to scroll down to on the right hand side of the contact list. I have a Droid X and I LOATHE the way it works (I have to scroll first, then move the scrollbug down to where I want it). Is there an app that will show the contact list a la iOS where you have the letters on the righthand side and you just tap on the letter you want to scroll down to?
View 3 Replies
View Related
May 25, 2010
NOTE: Must work on Android 1.5 - Contacts Contract does not Simple enough question. I need to know the best way to get the same list of contacts that show up when a user presses the Contacts button. You would think something like this would work: //For Contacts Intent pickIntent = new Intent(Intent.ACTION_PICK, People.CONTENT_URI); this.startActivity ForResult(pickIntent, RESULT); //For Phones Intent pickIntent = new Intent(Intent.ACTION _PICK, Phones.CONTENT_URI); this.startActivityForResult(pickIntent, RESULT); The problem is that does not include secondary google accounts or Exchange contacts. By secondary accounts, in Android you can add additional gmail accounts to have the mail/contacts synced. The above intent will not list those additional contacts. I am also told that on the HTC Desire you can add contacts to the phone that do not get synced up to Google. These contacts also do not show up. So how do I get a real list of contacts so I can create my own list activity that works properly where the Google intent does not. NOTE: Must work on Android 1.5 - Contacts Contract does not
View 3 Replies
View Related