Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How does Mail.app link up to AddressBook?



Henry Story wrote:

>Does anyone know (or know someone who knows) how Mail.app communicates with
>AddressBook to display the picture of the sender in the mail metadata pane?
>Is there anyway one can do the same from a Java application?

Searching ADC:
  <http://developer.apple.com/search/search.html>

with these keywords:
  address book api

shows this likely candidate:
  <http://developer.apple.com/documentation/UserExperience/Conceptual/AddressBook/index.html>

Further confirmation can be obtained with this command:
  otool -L /Applications/Address Book.app/Contents/MacOS/*

which shows AddressBook.framework as one of the referenced frameworks.


>I.e. what do I have to do to my Semantic Web AddressBook so that it can
>communicate with Mail? Is there anything I need to do to get the same
>integration with iChat and other apps?

I think the answer will be something like "replace the AddressBook
framework", which seems like a large amount of work, assuming it's even
possible. 

Maybe you can make the semantic book a service in the Services menu.
Here's an example that lets any shell script become a service.  Might be
adaptable to Java:
  <http://wafflesoftware.net/thisservice/>

  -- GG


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.