android-contacts

vcard manager in android

Hi I want to make VCard manager in android for 1.5 and above . This application will be able to perform following functions: 1 Send and receive contact . I want that when i send a contact to any mobile it should get the save option to save the contact and if some send me a business card then i should be able to save it in my contacts. ...

ACTION_PICK usage with contact book

I was able to use ACTION_PICK with People.CONTENT_URI with the following part of code Uri myPerson = People.CONTENT_URI; Intent contactPickerIntent = new Intent(Intent.ACTION_PICK,myPerson); startActivityForResult(contactPickerIntent, CONTACT_ACTIVITY_CODE); with this i was able to launch the native contact book and on sel...

Add an option when long-pressing a number

Hi I'd like to add an option when long-pressing a number in the call list. Actually I have: Dial Send SMS Add to contact Edit before calling Remove Is it possible to add an option there? Such option should start my application through an Intent when pressed. Thanks ...

How do I add custom data and fields to the the Contacts screen in Android?

I'm trying to add a custom data field and MIME type to the Contacts screen. Is there a way to do this such that when a user views a contact with my data saved on it, my field appears there? This is something I've seen other apps do--how do the Facebook, Twitter, Last.fm, etc. apps add their status information to contacts, for example? I ...

i have an Index (ID)...how can i delete the phone book contact associated to this Index in Android?

I Have used following code to delete the contact using index... SqliteWrapper.delete(mContext, mContext.getContentResolver(), RawContacts.CONTENT_URI, RawContacts._ID + "=" + Index, null); is it correct? do i need to delete the entry from Rawcontacts table or Contacts table...? ...

Adding a number into Contacts works on emulator but not on device

Hi, I have written code to add a number in contact book when the application is used. ContentResolver cr = getContentResolver(); Uri phoneUri = null; ContentValues values = new ContentValues(); values.put(People.NAME, "stack"); Uri uri = getContentResolver().insert(People.CONTENT_URI, values); phoneUri = Uri.wi...