Android :: Code To Get All Numbers (telephone) Of A Contact In Droid 2.1?
Jun 8, 2010Anybody has a code snippet where I can get all the numbers (telephone) of a contact? (in android 2.1).
View 2 RepliesAnybody has a code snippet where I can get all the numbers (telephone) of a contact? (in android 2.1).
View 2 RepliesWhen I store a contact number, does the phone or the OS automatically add spaces in numbers (like the Iphone does), to make them easier to read, or is it alternatively possible to add them manually?On Nokias it can't be done by default, but only by importing a csv file with those spaces already in.I ask because I find it very inconvenient ro read long numbers without spaces.Unlike in the US, in many other countries phone numbers do not have a fixed length: some can be very short, some very long
View 2 Replies View RelatedMy Android based (Gingerbread) smartphone has a number of contacts with several phone numbers (home, work, mobile etc.) for each. When I call a contact the call goes through the mobile operator and I'm charged for the call by him.
I also have an an Asterisk-based PBX with a FCT (Fixed Cellular Terminal, or GSM Dialer or Fixed Wireless Terminal) connected to a VOIP provider that charges much less. If I prefix a phone number in Contacts with a fixed string (containing the mobile number to the SIM card in the FCT, plus some pause, plus the password to access the PBX's dial tone plus a bit more of pause) it works fine.
What I'm looking for is a way to have this standard prefix string stored somewhere and it be automatically padded at the beginning of each number dialed. Ideally, when dialing a contact I would be asked if I wanted to call with or without the standard prefix. Is that doable?
I wonder if I can change the preferred contact telehone number from the API (nort manually, of course)
View 3 Replies View RelatedWhen I bring up the list of contacts in the Phone app (not the People app) it shows left and right arrows. However, they don't do anything.So if I want to use a different number for a contact (ie home vs cell) I have to actually hit the Rolodex icon and then select the number.I n every other phone I've had one could always select which number to call. Of course there is always the default number chosen when first setting up the contact.So how does one do this from the list in the phone app?
View 1 Replies View RelatedGot my phone today. Problem is I went to the verizon store, had them transfer contacts from my blackberry and when I go to contacts, it is empty other than the phone default numbers. If I go to "All contacts" the list is populated with my regular phone numbers +600 facebook friends i do not care about. How can I get it so I only have the numbers I want?
View 9 Replies View RelatedIs there a way in the contact list (People Icon) to designate individuals as ICE (In Case of Emergency) numbers? What I have done so far is when I entered all my contacts, who ever I wanted designated as an ICE contact, I just put a comment in the Notes field. Anyone else have another way of doing this?
View 5 Replies View RelatedMy Eris has always had issues with knowing who is who in my recent calls, texts and in google voice from time to time. I reformatted all the contacts to +1-555-555-5555 format(something that someone on a google forum suggested) but it still doesn't fix the problem. For instance- A friend named Steve called me. I see incoming call from and it knows who steve is and says "Incoming call from Steve". I called him back, clicking on the exact icon in my missed calls that says his name and it says I called 5551231234 (unknown). This happens in my messages as well, and it is starting to drive me crazy. I will get a message from 5551231234 and it will only list the number and not the name, so I have no idea who is texting me. For some reason my phone is incapable of putting it together to figure out that the number it lists as unknown is already a contact in my contacts. I have to always call people back to figure out who it is or send a text asking who they are.
View 1 Replies View RelatedIn my contact list after the listing of "favorites" is a listing of "frequently called numbers" How do I remove numbers from that list?
View 45 Replies View RelatedI am still in the process of learning and customizing this phone so there may be a famous app that takes care of this but I did a search and found nothing. I am not a big fan of how the contact list shows friends from facebook/gmail/Phone. I only want it to show contacts that I have personally added on my phone. Is there a way I can arrange this. I have it to where it remembers phone contacts only when I hit contacts but as soon as restart, it goes right back to all contacts. It also comes up when I try to text someone or in the contact section of the dialer. I just dont like this. I don't mind that they are there, persay, but I don't want it to be default all the time. Is there a way to change this?
View 8 Replies View RelatedI am not sure if this came up in one of the topics, but I may have missed it.
For the past week, I noticed some of my contact priority number was defaulting to the number I least call. This morning, while trying to figure how to make priority changes, I noticed it was due to linking it to facebook.
I linked my wife's info with her facebook and the priority number (mobile) pushed it to her home number information she has on her facebook account. So instead of me just going to click on my wife's name or say a command to call wife, I have to scroll to find the number I want to call.
I there a fix for this to let us set the priorities?
I want to add,delete,update android Contact Database using native c code. please tell me how to do if any one have done it.
View 3 Replies View RelatedI'm trying to update/change contact ringtone using this code...
I get the message: " the application has stopped unexpectedly"
what is wrong with my code and how do I do it? code...
I'm trying to adapt my application (Personalytics) for the brand new Android 2.0, however I'm facing an issue while accessing contacts' phone numbers. What I need to do is to retrieve the name associated to a stored contact based on his/her phone number. At present I'm doing this in two steps:
1) from a phone number I get the corresponding ID of the stored contact (if present)
2) I retrieve the contact's name based on that ID
I managed to use the correct CONTENT_URI for reading contacts by using reflection to be fully compatible with Android 2.0 (ContactsContract.Contacts.CONTENT_URI) and the previous versions (People.CONTENT_URI). Now I'm trying to do the same for Phones.CONTENT_URI (Android <= 1.6) and ContactsContract.PhoneLookup.CONTENT_FILTER_URI (Android = 2.0) which is needed by step 2) mentioned above. But as soon as I try to get a contentResolver by using ContactsContract.PhoneLookup.CONTENT_FILTER_URI I get the following exception:
java.lang.IllegalArgumentException: Unknown URL content://com.android.contacts/phone_lookup
This looks really strange to me, since it should be correct (it is part of the official API)! Moreover, I tried to look at the "API Demos" project, in particular to the classes:
com.example.android.apis.view.List2 com.example.android.apis.view.List3
which are still using the deprecated People.CONTENT_URI and Phones.CONTENT_URI and thus no data (i.e. contacts) is loaded (of course I have sample contacts in the emulator). Is there another approach I can use to get the name of a contact based on one of his/her numbers? (This must work on all versions of Android).
I had some fairly simple code in my app to invoke Edit Contact activity on a known good contact index that worked in Android 1.6 but is broken for me now in Android 2.1 on the Droid. I built a sample activity/app 'EdCon' to show this:
package com.jbh;
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
When I run this on my G1 running 1.6 it works as expected i.e. brings up the Edit Contact screen for the known index and then I can hit BACK to return to "Hello World, EdCon". Code...
Is there any way to display contact picker that has both number and contact name? Now I'm calling picker: startActivityForResult(new Intent Intent.ACTION_PICK,Contacts.Phones.CONTENT_URI),1);
But in a result I get only Contact names without visible numbers. To make things worse, if one contact has two numbers it occurs twice.
I'm new to the android OS and I got a Hero two days ago. Is there anyway to get all my facebook numbers into my people list? I have the facebook phonebook link on my homescreen with the my contacts with their numbers but they are not in my people list so i cant directly send a text from the facebook phonebook I can only call, so is there anyway to merge/import to my people list on the phone.
View 6 Replies View RelatedI think this is a Handcent issue because I'm not really seeing it in the default app. For some reason I get multiple numbers for a contact when sending a SMS- the same number! I have one contact that when I select to send an SMS to, I get 7 options to choose to send to, and guess what, all 7 are the same phone number. And its not a format issue, it still duplicates if the number has brackets over the area code or just dashes. Not sure what to do and when I go into the individual contact (using People) the number is only listed once.
View 3 Replies View RelatedI have made app which allows me to send message to multiple user from my device. Now i want to send message to the person which are stored in My Contact list. So i want to retrieve phone number from my contact list and then i should be able to send message to that particular number Any hints how can i go further.
View 1 Replies View RelatedI want to collect phone numbers from phone with last-name and first-name (for sorting purpose). How can I achieve that in the simplest way? Is it possible with one query? And I need both versions: for pre 2.0 SDK and later to be compatibile.
View 1 Replies View RelatedI am able to launch contact application from the following way. I am also able to show Name and only one Phone number. My problem is 1- How can I show multiple phone number [like Home, Mobile, Work etc] when I am launching contact application. How can I do that? 2- In Contact application there is one option *More*, which is an expandable list. When I click that it open with other many fields like Notes, Website, Nicknam etc. How can I fill those fields while launching the Contact application? Code...
View 8 Replies View RelatedSorry I am a bit of a newbie on phones.I kept with my Motorola 1000 till I got a Desire. On this phone on the SIM card I could store several numbers for each contact/person.I swapped the SIM card into the Desire, and all the first number for each contact is there, but I can find no way to access the other numbers e.g. landline that I had against each contact/person.Does anyone know where I am going wrong?
View 8 Replies View RelatedAs above really. How can I add custom labels for people's numbers? Home, work, Home fax etc are not enough. I need to create my own. Is it possible? Thanks!
View 28 Replies View RelatedAfter playing with my Incredible for many many many hours, just found a really sweet trick.In the favorites widget i have people with multiple numbers(cell, phone), and when you click on that person it calls the primary number, but last night i found that if you click the actual name of the contact(right under the actual pic) a detail properties pop up for that contact and from there you can callsmsemail the person via other numbers.now back to looking for more cool things
View 6 Replies View RelatedEarlier I tried to send a note from the "Notes" app to a contact. When my contact list appears I see a list of numbers, rather than the actual names of my contacts.
View 3 Replies View RelatedToday I set up a group on my desire so that I can send a group text or email to the parents of the kids football team that I help to run. It seem that it uses the primary number that's selected in the persons contact info. Some parents have given me both their mobile numbers and sometimes two email addresses so I want to include them all in the same group. Does anyone know how I can do this? On my previous blackberry curve 8900 I could select multiple numbers/email addresses from the same contact to go into the group.
View 1 Replies View RelatedAfter one of the recent handcent updates, I entered a number to send a text message. This number was not in my contacts. I entered the number, and it changed the number at the top to a persons name, who isn't in my contacts, and does not have the same number. They are my friend on facebook however. Is handcent linking with facebook? How do I turn this off? It's telling me this conversation is with the wrong person as of now, and I don't know if it's even sending to the right number.
View 1 Replies View RelatedI'm trying to learn how to make an autocomplete textview in an android app would have a dropdown list of contacts with their numbers, based on the letters that the user enters that match a part of a name of a contact.
View 1 Replies View RelatedI've seen numerous questions regarding problems merging sms messsages after being restored from databases, applications, social networks or ported from different operating systems, etc all of which seem to relate to compatibility issues.
One of my contacts recently changed telephone numbers resulting in subsequent texts being listed in a different thread. After adding the new number to the existing contact I now have two sms threads under the same person's name. I'd like to merge these and delete the old number but I can't find a way to do that. This means that if I want to keep a name for the old sms thread then I have to keep the old number in my contacts. Seems a bit daft to me.
I'm currently using a Samsung Galaxy GT-I9000 with 2.34 firmware but unless I'm missing something WM, iPhone, etc have the same issue. I don't know if apps like GO SMS and Handcent address this problem but even if they did its like taking a sledgehammer to a minor inconvenience.
I am finding that some of my contacts are dissapearing or their contact numbers dissapear. I was texting the person and then all of a sudden their name wasnt showing and just the number.
View 6 Replies View Related