• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Opening arbitrary address books with AddressBook.framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Opening arbitrary address books with AddressBook.framework


  • Subject: Re: Opening arbitrary address books with AddressBook.framework
  • From: Brad Peterson <email@hidden>
  • Date: Thu, 18 May 2006 16:10:59 -0700 (PDT)

Hi,

Why not just make a copy of your Address Book data,
then copy over the data to examine, and when done,
replace your Address Book. (All of the Address Book
data is stored off ~/Library/Application Support,
IIRC.)

HTH

--- Aaron Burghardt <email@hidden> wrote:

> I am working on a forensics app and want to open
> Address Book data
> files other than that of the current user.  Using
> class-dump on
> AddressBook.framework, I found two methods that let
> me do what I need:
>
> + [ABAddressBook setAddressBookDirectory:]
> - [ABAddressBook databaseChangedExternally:]
>
> With these, I can set the path to the address book
> data file, then
> trigger an update on the sharedAddressBook.  This
> appears to work
> fine in Tiger.
>
> My problem/question is that my app needs to run on
> Panther and
> setAddressBookDirectory: doesn't exist in Pather's
> AddressBook.framework.  I have tried creating a new
> instance of
> ABAddressBook, but since it creates a singleton, it
> won't create
> another instance.
>
> Does anyone know of another way to change the
> database used by
> Panther's AddressBook.framework?
>
> (Also, evidently the database used by Address Book
> is http://
> www.metakit.com, but I would prefer to use the Cocoa
> APIs, if possible).
>
> Thanks,
>
> Aaron
>
>  _______________________________________________
> Do not post admin requests to the list. They will be
> ignored.
> Cocoa-dev mailing list
> (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
>
> This email sent to email@hidden
>


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Opening arbitrary address books with AddressBook.framework
      • From: Aaron Burghardt <email@hidden>
References: 
 >Opening arbitrary address books with AddressBook.framework (From: Aaron Burghardt <email@hidden>)

  • Prev by Date: Re: How can I create a PDF document from a string in a non-GUI application?
  • Next by Date: Re: Re: Should I retain/release IBOutlet?
  • Previous by thread: Opening arbitrary address books with AddressBook.framework
  • Next by thread: Re: Opening arbitrary address books with AddressBook.framework
  • Index(es):
    • Date
    • Thread