Android :: Is It Possible To Pick Contacts From A Single Group ?
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
Apr 25, 2010
I'm developing an app for Android 2.1 upwards. I want to enable my users to select a profile picture within my app (I'm not using the contacts framework). The ideal solution would be to fire an intent that enables the user to select an image from the gallery, but if an appropriate image is not available then use the camera to take a picture (or vice-versa i.e. allow user to take picture but if they know they already have a suitable image already, let them drop into the gallery and pick said image). Currently I can do one or the other but not both.
If I go directly into camera mode using MediaStore.ACTION_IMAGE_CAPTURE then there is no option to drop into the gallery. If I go directly to the gallery using Intent.ACTION_PICK then I can pick an image but if I click the camera button (in top right hand corner of gallery) then a new camera intent is fired. So, any picture that is taken is not returned directly to my application. (Sure you can press the back button to drop back into the gallery and select image from there but this is an extra unnecessary step and is not at all intuitive). So is there a way to combine both or am I going to have to offer a menu to do one or the other from within my application? Seems like it would be a common use case, surely I'm missing something?
View 1 Replies
View Related
Oct 28, 2010
Can I add a group of ArrayList into a single ArrayList? The ArrayList groups are of different sizes. Then How can I recognize each ArrayList?
View 3 Replies
View Related
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
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
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
Dec 30, 2012
I want to export a group of contacts or selected contacts. Is there an app/script?
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
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
Nov 16, 2009
I'm adding a new contact using the 2.0 Contacts Contract APIs and I was just wondering if this is a safe way to get the "My Contacts" group to set the group membership for my new contact. Or is there a better more standard way to get it? I'm using the literal string "System Group: My Contacts" when I query the Groups table to get the source row for the My Contacts group. I found this constant by poking around in the debugger, but It's not documented anywhere that I could find, so I don't know if it's the right thing to use. Is there an actual constant somewhere that I should be using to find the "My Contacts" group? Code...
View 4 Replies
View Related
Jan 20, 2010
I am using android 2.0.1. I have a group id and I am trying to find all contacts in this group. I have been banging my head against the wall on this for a while. I can't seem to find a contentprovider that ties these two together.There has to be a standard answer to this question?
View 3 Replies
View Related
Apr 26, 2010
I recently purchased a HTC Desire Android phone and I'm looking for a way to keep a simple, basic contact list updated and synched with my Gmail account. The problem with the default way on my phone is that it will sync every contact on my Gmail. This is a problem as I only want to have contacts from my phone book synched to one gmail group and vice versa. There is an option to "disply only contacts with numbers" but I still don't like the idea of having every contact on the phone. There is also the problem of the extra empty groups I won't be using, can these be gotten rid of?
I basically just want one list and it to be my default list with all contacts and not have to go through an array of menus to get to that one list on the phone. I don't want that list to be populated by contacts who I may have only emailed once and will never email again. I don't want any gimmicks in between, no gtalk contacts, no facebook contacts, no default gmail contacts and I want to be able to then export this group to a CSV file to use with spreadsheets etc.
This seems to be possible on Android stock and even on HTC Hero Sense UI according to here: Tidy up your Contact List with a Custom Sync Group | Androidheadlines.com
but in the Desire Sense UI, when you go to people/groups/menu, it only gives the option to delete or add. Seems this guy is having the same issue, he has the sync group option but his friend doesn't, both using the same phone. No "Sync Groups" option
There are reports from this thread that some users have had this same problem. Some have a "Sync Groups" option when they go to People>Group Tab and click menu, most don't have this option however and I'm yet to hear from a desire user with this option. Also from this thread (Just want to sync 'My Contacts' on Android, not everything! - Google Mobile Help) one user reported that a "hard reset" gave him the "Sync Group" option. I tried this but had no luck, still the same menu as before.
View 13 Replies
View Related
Mar 16, 2010
Alright so I REALLY need to create a group contact folder. You see I have to manage about 10 guys and its convenient that they all have cellphones whats NOT convenient is I can't find a way to put them into a group and text them with one group message! I need to make sure these guys show up to where they are needed and texting all 10 of them separately is a pain in the rear end. So far the other threads don't seam of any use.
View 3 Replies
View Related
Sep 28, 2009
I have an application that updates all the contacts belonging to a group, I currently do the following : -> Get the group id -> Get all the contacts id inside this group -> For each of them I am doing an update on the contact => This is really heavy and seems to take time in real phones while I expect it to be "instantaneous". I am wondering if we can, in the ContentResolver.update() method specify a kind of join. For instance I'd like to do something like : UPDATE <people> SET <people.name>="<new name>" FROM People p, Groups Memberships gm WHERE p.person_id=gm.person_id and gm.group_id=<my_group_id> Does anyone know if it's possible or not? The update method has got a "where" attribute but can we use this attribute for complexe requests?
View 3 Replies
View Related
Feb 26, 2010
I want to define some Contact Groups. I am wondering where and how does Android store the groups. Maybe in a Sqlite database? If so, will be able to run a insert on it? Otherwise how do you add new Contacts Group via the emulator?
View 2 Replies
View Related
Feb 11, 2010
I have them filtered on the Handset so that only those marked as Friends or Family under Gmail contacts are shown. I can't help this as otherwise I'd have well over 1000 contacts to scroll through on my phone.
My issue is that should I add a contact on my phone it doesn't appear. This is obviously because when it's created it has no group membership. It still resolves against SMS etc but is not displayed in the Contacts list. I can (when near a computer) quickly jump onto gmail, manage contacts and put the person into the right group but ideally I'd like to be able to do this on the handset.
Is there any way at all of editing Google Contact Group membership on the handset? I certainly can't find the option if it exists. Alternatively is it possible to change it so when the contact is create on the handset that it automatically saves as a 'Friend'.
View 1 Replies
View Related
Jul 30, 2009
I try to query contacts in a specific group by GroupMembership. But It only works fine with system built-in group "Starred in Android".
My codes is like this:
private static String[] GRP_PROJECTION = new String[] { GroupMembership.PERSON_ID, GroupMembership.GROUP_ID };
Cursor groupCursor = context.getContentResolver(). query(GroupMembership.CONTENT_URI, GRP_PROJECTION, "group_id=" + filterGroup_id, null, null);
Log.d(TAG, "number = "+ getCount());
If filterGroup_id is system built-in group id(Starred in Android), log.d() shows the number of contacts in group. But if filterGroup_id is my self-defined group id, log.d() shows the contacts of person in my defined group is always ZERO! Even there is actually some contacts in my defined group. Is this a bug for SDK1.5 R2?
View 2 Replies
View Related
Mar 28, 2010
I have an ex that keeps calling me. I blocked his # in my address book to go to voicemail, now he calls me from random #'s and its getting really annoying. I don't want to keep my phone shut off all the time. I called tmo and a really nice tech advised me to look for group app that will help, I am looking for an app that will let me block all calls except for my contacts or certain #'s I want the calls coming in.
View 7 Replies
View Related
Jun 26, 2010
when I'm at the phone screen and hit menu/people/groups icon(multiple cards) you have the option to "add group" at the top or hit menu again and 2 options appear: Add Group or Delete Group. Either of these options are not functional. They don't work. It seems that HTC forgot to add functionality for this. Does anyone have a solution for this?
View 6 Replies
View Related
May 1, 2010
Ok somehow all my contacts are in the favorites (Group) and with that they are all on my favorites screen which i do not need, I rather have other widgets there then ALL my contacts. So my question is...Can i somehow change all of my contacts to another group to free up that screen?
View 2 Replies
View Related
May 13, 2010
When I send a message via SMS to a group I've setup some get it as an email, some as a MMS and some as SMS.
View 9 Replies
View Related
Jul 28, 2010
I would like to know how can I group my phone contacts.I have have been searching hi and low in the phone. This will enable me to send a same message to a list of contacts.
View 1 Replies
View Related
Nov 5, 2010
Is is possible to create a shortcut to or even a folder that contains only one "group" from contacts? For example a shortcut to "family" or "co-workers". Or a folder with only your "friends" group? The add to home shortcut screen does not offer this option.
View 2 Replies
View Related
Jul 7, 2010
I would like to assign a specific ring tone to family members on my HTC EVO, is there a way to do it without indivdually assigning the ring tone to each Group member.
View 3 Replies
View Related
Nov 20, 2011
How to forward a message using the native gmail app on android to a group of contacts already established on gmail? I often need to forward an email to a group of employees but have found no way to do it other than logging on to gmail on the computer which isn't very efficient. It seems hard to believe - any third party app that works with gmail to do so?
View 5 Replies
View Related
Jan 8, 2010
I was just wondering whether there was a simple way to transfer single contacts between facebook and google? I don't want to add everyone on facebook to my phone contacts list, but I'd like to be able to put some friends I have as facebook contacts into my main list and the 'add to contacts' option in the call log doesn't work the way it does for unknown numbers. The only workaround I've found is to add to favorites, but they still won't show in the main list.
View 1 Replies
View Related
Mar 1, 2010
I haven't seen anything quite like this and am unable to identify this issue on the open forums here so thought I would reach out. I do apologize if I missed it somewhere so if its out there please feel to direct me there.Picked up the HTC Eris about 2 weeks ago. I've started noticing a very strange issue as of last week. Using the stock messaging app I keep all my text strings with my various contacts. So let's say I have 7 different text strings in there now all from 7 different people. Now, for whatever reason, If I receive a new text message from a new person it will throw that new person's text into an existing text string of one of the other contacts rather than creating its own separate text string. Make sense? Just mixes it in there. So for instance, If I have a previous string from me to my wife it will throw a new text from my mom into my wife's existing text string. If I attempt to reply to that text sent from my mom that went into my wife's text string then my wife will receive the message. And its totally random. I've noticed this with 3 different contacts. So its just not one specific contact. And its literally like 6 or 7 people. Its not like I have a huge backup of text messages.
Now as I've mentioned its only about 2.5 weeks old. I don't throw alot of apps on there (I think I have 6) and I've rebooted this thing twice. I've taken it to Verizon and the guy there didn't know what to make of it. Said I might have a defective phone or possibly try a factory reset. He also mentioned waiting for the update and if its not corrected by then I can get an Eris replacement. Anyway, I wasn't ready to switch it out yet cause I love this phone and am hoping someone out there has maybe seen this issue and maybe can tell me what the heck is going on. Thanks in reading this and I look forward to any possible suggestions.
View 3 Replies
View Related
Dec 5, 2009
Am I able to create a folder that contains my group contacts?
View 5 Replies
View Related
Nov 29, 2009
How do I join my contacts? How do I create a group in my contact list?
View 15 Replies
View Related