Android :: Retrieving Contact Information (Name - Number And Email) From The Phone Book
Jun 8, 2010
I am working on Android SDK 1.5, I need to read the person name, phone number & Email ID from the phone book. I searched on forums - net & got some guidelines to read the contacts & the phone number of a person. But could not find any way to retrieve the email-id from phone book. So, please help me for the same.
View 2 Replies
Nov 8, 2009
For android 2.0, how to get a list of all contact's phone number and email? I have an app which works fine for 1.6. Now it is broken for 2.0 Droid. If you could point me an example to get all contact info, I really appreciate it. Previously, I used People.Contect_URI. now it is deprecated and return me nothing. I went through samples but failed to find how to do it in 2.0.
View 18 Replies
View Related
Jan 19, 2010
Android:how do i retrieve the contact photo,name,number from the address book and display it using a list view
View 2 Replies
View Related
Apr 21, 2010
I have a application which will retrieve all the contact details and will display all the available Contact Names in a SimpleCursorAdapter. so once user select a particular name number will be displayed. which works fine. but now i want to display HOME and WORK numbers if available. how can i achieve this?
View 2 Replies
View Related
Mar 24, 2014
When using my sms app, I am looking for a way to display which phone number of my contact is used (mobile, work, home, ...)
The only thing showed is the contact name and his phone number.
With all the sms apps I've tried (stock, hangouts, hello sms, 8sms, evolvesms, chomp, handcent), I didn't find a way to display this information. I always have to do an extra action (clik on contact photo, or title bar) to check if the phone number concerned is 'work' or 'mobile'.
Any tip or a new app to show this info ?
View 1 Replies
View Related
Feb 15, 2014
Isn't there a way I can get contact information I find on the web into my Android phone book without having to pull out my phone and typing it in by hand?
I thought there was a way, maybe I had to add something to my computer where I could type highlight the name, address and phone number, right click up a menu and have it all added to my phone book.
View 3 Replies
View Related
Oct 16, 2009
My address book is all over the place! I am coming from a BB curve 3300, i had my contact list with numbers and emails within same field per person. When the address book was transfered over to my Hero, i received 3 to 4 different fields per person! How can i fix tihs without having to manually go in and delete 3 of the 4 fields and enter email, cell numbers to one of the contact?
View 6 Replies
View Related
Sep 16, 2010
I am trying to implement the phone book for android phone and I want to access the number of the phone book ,I can access only the name that the number save in phone book. way I can access the number .I am using the code for accessing the number is.....................
View 2 Replies
View Related
Jun 8, 2013
the play store spits this error at me constantly. It happens when i download apps from the play store. It says "Error retrieving information from the server [RPC:S-5:AEC-0]". Just to clarify, things I've already tried: wiping data of play store and play service frameworks, wiping dalvik and cache, deleting my host file and readding my Google account. I've added another account and it downloaded apps flawllessly so it must be my main google account.
View 7 Replies
View Related
Jun 19, 2010
I'm really new in Android programming, so I have a simple question getting a phone number from contacts in my application. The method I want to implement is that the user clicks a button in my app and will be forwarded to the contacts. In contacts user has to click on a phone number and this number should be returned to a textfield. Is there a simple way to do this instead to implement it by ContentResolver?
View 1 Replies
View Related
Dec 25, 2013
Got a brand new asus memo pad tablet for Christmas and i'm trying to add my credit card to Google play but every time i get an error that says 'error retrieving information from server rpc:s-7:aec-0'
Clearing caches, data and deleting google account and re-adding account DOES NOT WORK. I'm kinda ticked off. Haven't even had it a full 24 hours and i already have problems.
View 1 Replies
View Related
Oct 25, 2010
I have had the SGS for a few days.
It must be possible to add more than one number to a contact, but I can't find it.
I thought that Samsung would have a better manual on the net, but I can't find that either.
Any ideas?
View 2 Replies
View Related
Aug 2, 2010
Im trying to add a new contact to my phone book but for some reason it wont let me add the name. I select people then select groups option then select friends the press menu to add a new group member, have I done it wrong or have i got it setup wrong.
View 5 Replies
View Related
Nov 8, 2010
I have messages with the name of the contact, and when I select 'add recipient' the phonebook already contains the contact. Yet when I then go to my phonebook after exiting 'add recipient' the contact list is empty. I don't really understand what is going on with this, can anyone help?
P.s. this only happened after the new update, I restored everything using backup and restore and they seem to be on the phone but not visible.
View 1 Replies
View Related
Dec 3, 2009
I am new to ANdroid . I am not able to fetch email location and other contacts information in android2.0. Although i m able to fetch contact name and phone number.
View 3 Replies
View Related
Nov 14, 2009
Having issues with gmail contact sync. I was using the blackberry tour which I synced regularly with outlook. When I switched to the Droid i exported the vcard into gmail and the gmail synced with my droid. The problem is some of my contacts have been merged with other contacts. For example, Nick with no last name was merged with Nick H that does have a last name. They should be two different Nicks and I dont understand why the droid is combining them. I have checked the gmail account and the two Nicks are NOT merged together, but the two Nicks ARE merged on the actual phone. My phone was syncing with facebook and gmail but i disabled the auto sync and just manually synced the gmail on its own but i still have the same problem. I also have another friend with the same problem on her droid.
View 4 Replies
View Related
Oct 11, 2010
How do you edit the contact list in your phone book after you import the contacts?
View 5 Replies
View Related
Sep 16, 2010
I want to know about sony Xperia X10i. Where do I can write the notes? How can I record the birthday for each contact in phone book? How can set a contact group? Can set a other message ringtone?
View 5 Replies
View Related
May 18, 2010
Does anybody know a program or app that i can sync my contact photos from my phone address book to my gmail or even outlook address book... with blackberry i could sync it to outlook then to gmail, but with the INC i have not found a solution.
View 9 Replies
View Related
Jun 15, 2010
I'm trying to call the contact picker, get the persons name, phone and e-mail into strings and send them to another activity using an intent.
View 1 Replies
View Related
Dec 4, 2009
The semi-standard way of getting a contact name from a phone number is to use Contacts.Phones.CONTENT_FILTER_URL and append the phone number, as in the following sample code. This works fine on Android 1.6, but not on 2.0 -- is there a way to perform this function that works in all versions of the Android API? private String getContactNameFromNumber(String number) {// define the columns I want the query to return String[] projection = new String[] { Contacts.Phones.DISPLAY_NAME, // encode the phone number and build the filter URI Uri contact Uri = Uri.withAppendedPath (Contacts.Phones.CONTENT_FILTER_URL, Uri.encode(number)); // query timeCursor c = getContentResolver().query(contact Uri, projection, null,null, null);// if the query returns 1 or more results}
View 2 Replies
View Related
Jul 29, 2010
I am getting contact details for a given phone number using the following code:
Uri uri = Uri.withAppendedPath(PhoneLookup.CONTENT_FILTER_URI, Uri.encode(phoneNum));
Cursor cursor = context.getContentResolver().query(uri,null,null,null,null);
There is a case though when the cursor contains 3 records with the same phone number and display name. Can you please suggest an explanation or possible reason for that?
View 1 Replies
View Related
Feb 1, 2010
I am trying to get the sender's name from the contacts database using a content provider. The problem is I don't know how to implement it. Like now I can only pull the phone number from the smsMessage. I need to check to see if the phone number that is calling is in the users contacts first and if it is display the name if it is not then display the number.
View 1 Replies
View Related
Aug 5, 2010
I have an Android 2.1 device (HTC Incredible). My app, however, must be compatible with early (pre SDK 5) devices, so I am using the deprecated format of filter URI:
Uri contactUri = Uri.withAppendedPath(Contacts.Phones.CONTENT_FILTER_URL, Uri.encode(number));
Cursor C = context.getContentResolver().query(contactUri , null, null, null, null));
The number is of the form 15555551212. This fails to find the Contact, at least on my device. However, changing to the new (SDK 5 and later) ContactsContract format URI
Uri contactUri = Uri.withAppendedPath(ContactsContract.PhoneLookup.CONTENT_FILTER_URI, Uri.encode(number));
Cursor C = context.getContentResolver().query(contactUri , null, null, null, null));
results in success. Originally, the corresponding number in the Contact was in the format +1 555 555 5555, but I changed it to exactly match the input number 15555555555 and the old format URI still fails. In both cases, the new format URI succeeds. Does anyone have any thoughts as to why this is the case?
View 1 Replies
View Related
Jul 6, 2009
What I'm trying to do, is to get the corresponding contact to a phone number. It works perfect if the number is stored in the contacts in the following format: +<country code><area code><number> But not all numbers are stored this way. Most are without the country code or with "00" instead of "+". Do I have to parse the number by myself and set up a corresponding WHERE clause for the query, or is there anything I can't find in the internet to get this one done by the framework?
View 4 Replies
View Related
Sep 14, 2010
In my app, user writes a phone number, and I want to find the contact name with that phone number? I usually search the contacts like this:Cursor cur = getContentResolver().query (ContactsContract.Contacts.CONTENT_URI, null, null, null, null); But I do this to access all contacts. In this app I only want to get the contact name of the given phone number. How can I restrict the query? Or do I have to go trough all contacts and see if any has the given phone number? But I believe that this can be very slow this way.
View 1 Replies
View Related
Apr 25, 2010
In Android I can get phone numbers of all the contacts without any problem. Tha problem is that for most users some numbers are stored as 'local' numbers, meaning that they dont have the country code included. For example, if the user lives in US and he has 2 contacts:
1) John - 555-123-1234 (local) (starting 1 not showing)
2) Jane - 44-123456787 (england phone number)
The question is: How do I get all the numbers in an international format, when some of the numbers doesnt include the country code?
View 2 Replies
View Related
Jun 20, 2010
I would like to retrieve the name of a contact associated with an incoming telephone number. As I process the incoming number in the broascastreceiver having a String with the name of the incoming caller would help my project greatly. I would think this involves a query using the sql WHERE clause as a filter, but do I need to sort the contacts? An example or hint would be of great assistance.
View 1 Replies
View Related
Jul 30, 2010
I am trying to get the contact's phone number after I have retrieved their ID number from the built-in activity. However, whenever I query the database using the cursor in my code below -- I get zero rows returned even though there is a mobile number for the contact I have selected. Can anyone point me in a better direction or show an example of how to get the contact's phone number AFTER getting their userID?
My code:
private Runnable getSMSRunnable() {
return new Runnable() {
public void run() {
Intent i = new Intent(Intent.ACTION_PICK,
ContactsContract.CommonDataKinds.Phone.CONTENT_URI);
startActivityForResult(i, CONTACTS_REQUEST_CODE);......................
View 2 Replies
View Related
Jul 20, 2010
In my app, I get the name of the person calling from the contacts database and read it out. A user contacted me about a number in the format 123-456-7890 which doesn't work. I've tested this myself and can't see why it wouldn't work. The full code I'm using is available here, but the relevant part is below: Code...
View 2 Replies
View Related