Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7444933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T11:41:46+00:00 2026-05-29T11:41:46+00:00

I have a task to develop the application related to address and access the

  • 0

I have a task to develop the application related to address and access the birthdate from it. And if the user has to exists in the address then i can enter it manually from my application to address book.

I have to develop the application related to address book. From address book i have to get name,phone no,email, and birthday. so i can easily get it on my application. But for get i have set all thing from address book. But i also have to give facility to add the contact detail as above given field. and i can not find easily that how to add birthday in address book i have search a lot but i cant found it,

So,please help me and provide some sample code for it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T11:41:47+00:00Added an answer on May 29, 2026 at 11:41 am
    int recordId=123 //recordId in address book for record we want to update
    //save birthday to address book
    ABAddressBookRef addressBook = ABAddressBookCreate();
    
    ABRecordRef person = ABAddressBookGetPersonWithRecordID (addressBook,recordId);
    CFErrorRef error = NULL; 
    
    NSDateFormatter* formatter = [[NSDateFormatter alloc] init];
    [formatter setDateFormat:@"dd.MM.yyyy"];
    //don't set year in address book (yyyy=1604)
    NSDate *date = [formatter dateFromString:[NSString stringWithFormat:@"%@.1604",@"29.03"]];
    [formatter release];
    
    ABRecordSetValue(person, kABPersonBirthdayProperty,(CFDateRef)date, &error); 
    ABAddressBookSave (addressBook,&error);
    CFRelease(addressBook);
    

    Don’t forget to import AddressBook/AddressBook.h file and add AddressBook.framework.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am new in blackberry development. and i have task to develop the application
I have to develop an application using C#.net that has to be run once
I have a task to develop a rails application following the model for routing.
I have a task to develop the application with map kit and web service
I am new in android development. and i have task to develop the application.
I have a task to develop the application, with the help of the SQL
I am new to iPad application development. I have task to develop an application
I have a task to develop the android application with local push notification. I
I have been given the task to design and develop a web application for
Here's a problem. Developers have some kind of a task (develop certain feature), which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.