contacts

In Android, how to pick a contact and display it on my app?

Hi, I am a beginner to android, i am building a application in which when the user presses a button, the contacts which is stored in the mobile are shown. When he selects a contact from that, i have to get the selected contact name and number. I tried using the code but only the name of the selected contact is shown and not the phone n...

Contact API problem for 1.6 & 2.2

Hi All, I am looking for the solution to get contact details (Phone, Email, Zip) from the device. I have implemented code for OS 1.6 as well as for 2.2. I am building an application with API level 4 (1.6), but when I run the build in 2.2 device I am getting email and phone string null. CODE - for OS 1.6 public void ImportCustomers(C...

Get contacts photo which are synced with facebook for android

Hello stack people, I am trying to show contact pictures in my application but I am getting pictures of those who were added manually only and not those which are synced with facebook. How to work around this? Here is my code below: Uri uri = ContentUris.withAppendedId(ContactsContract.Contacts.CONTENT_URI, Long.parseLong(P...

Android contacts api

I want to query commondatakinds.photo.photo for a specific contact id .. how should I put this? ...

what's the maximum number of contacts stored in online and desktop clients

I'd like to know for gmail yahoo mail outlook thunderbird I guess another way of asking this is, what is the maximum number of contacts I would expect to need support in other apps. I"m thinking some folks have > 1000, very few have > 10000 and say no one has > 100000 ...

Export contacts from a desktop application to a BlackBerry phone via USB

I have to develop a module that exports contacts from a desktop application to a blackberry address book via USB connection. I read about the IRimDatabaseAccess interface and the other RIM interfaces but I cannot figure out how to get initial access to the contacts database on a BB device from the desktop application. ...

Import a vcard 3.0 automatically into android contacts (Android 2.1)

I'm trying to import a vcard (vers. 3.0) automatically into the android contacts. Within the contact manager there is an option to import a vcf file stored on the sd-card into the contacts. How can I trigger this function with handing over a file? ...

Android 2.1 vcard contact fields

Hi! I am trying to import a vcard into the contacts on my android phone. I have problems with some fields, e.g Family Name, Job title, Company,... With fields like phone and email it is already working. Here is a part of my code: Intent i=new Intent(Intent.ACTION_INSERT); Uri uri = Uri.parse("content://com.android.contacts/con...

Android: Clicking on ExpandableList to transfer contact number to edit text (for contact finder)

Hey, what i want to do is to do a SMS sender & receiver. All that is left is a contact finder. Basically what i can do right now (for the contact finder) : - Able to display the contacts - Able to toast text after clicking on the child But what i can't do is to transfer the contact number to an edit text , since i can't seem to find th...

Android: Manage contacts with lookup key

Following up on this question: Android: Manage contacts with lookup key (see below) I have the same problem. However, it shows with Android 2.1 Update 1, But is OK with Android 2.2. It seems that the lookup key changes with contact's name change with Android 2.1, but does not change with Android 2.2. Did anybody else experience this...

How to get the contacts list in a sony ericsson in J2Me

Hi everyone. I'm building a phone application in j2me. In it, I need to get the contacts from the phonebook. There is an API for that and the line I tried to use was contactList = (ContactList) PIM.getInstance().openPIMList(PIM.CONTACT_LIST, PIM.READ_ONLY, name); Apparently, it doesn't work in my phone (Sony Ericsson ...

Update contact notes through listview

I'd like to add a boolean property to a contact. To store this property I noticed that I can store custom notes with my own mimetype. So I created a listview which displays all contacts. The listview contains a checkbox and a text field. When the status of the checkbox changes I'd like to update the contact. public static final String ...

How to make like contacts on android?

Hi,all! Please help me. I want to make my addressbook like system's contacts. If my application can use system's contacts, it is easier to make my addressbook. I googled so much about this, but I can't find using method of system's contacts function. Please teach me about this issue or give me sample code about this. Thanks. sincerely. ...

Putting the "+" button on All Contacts

When I call -(IBAction)getContact { ABPeoplePickerNavigationController *picker = [[ABPeoplePickerNavigationController alloc] init]; picker.peoplePickerDelegate = self; // showing the picker [self presentModalViewController:picker animated:YES]; [picker release]; } All Contacts appears with the Cancel button on t...

Reload/Refresh an ABPersonViewController

In my app, users can view and edit their Address Book contacts. Right now, I'm trying to support iOS 4 backgrounding. Here's my problem. If a user is viewing a contact, say "John Appleseed" in my app, the user can then switch to the iPhone Address Book, open "John Appleseed," and change his contact info. If the user then switches back t...

Android getContentResolver().query error

Hey folks, I'm rather new to both Java programming and to Android development, so my learning curve is rather steep at the moment. I seem to be stuck on something that I can't find decent examples for how to work past it. I wrote a function that gets all my phone's contacts based on examples and docs I found here & there online. The pr...

How many queries are required to get the names and numbers of everyone in an Android contact group?

Using the Android 2.0 ContactsContract API, is it possible to build a list of objects representing contacts in a Contact Group like this: public class GroupContact { public String displayName; public List<String> phoneNumbers; } While making fewer than O(n) SQL queries? ...

Change native intent button names Android and Back button

hello everyone, I require urgent help.. I am creating a sample add contact application using android intents. heres my code: Intent addNewContactI; addNewContactI=new Intent(Contacts.Intents.Insert.ACTION,this.contactsUri); addNewContactI.putExtra(Contacts.Intents.Insert.NAME, "Sample Name"); startActivityForResult(addNewContactI,RESU...