Address Book: Importing vcards with embedded photos

Hi folks,
This question would perhaps be more at home in the Apple Developer Connection Forums, but as I can't access those without a paid ADC account, I thought I'd try here on the off chance someone knows.
In short, I'm writing an application that does clever things with vcards, and it would be great if it could export them to Address Book.
That in itself is simple, but I'd also like to embed a photograph in each vcard. So, I'm successfully encoding the image into a base64 string (tested), and other applications like Entourage will happily open and see the image, but Address Book won't.
After much Google-ing I've learned that apparently Address Book expects very specific formatting (and possibly whitespace) in and around the base64 string, which is all well and good, except no one seems to know what that formatting is!
I've looked in the ADC Reference Library but it doesn't go into enough detail.
So, is there anyone who happens to know how to format a base64 string for Address Book?
EDIT: I am aware that Address Book doesn't require the string to be wrapped, and I have tried not wrapping my base64 string and if I do that then my vcards will successfully import with their photos (Entourage seems happy with unwrapped strings too).
However, this is not an ideal solution as other vcard applications may not be so accepting, and I don't believe vcards can have multiple photo fields.
Message was edited by: JavaScript

Thanks, but right now I can't afford the $500 I'd have to spend in order to buy the sufficient level of ADC membership to use the developer forums. I just thought I'd ask here on the off chance, as I know there are sometimes a few developers lurking around.
Having said that, after reading posts such as this: http://markmail.org/message/5dbslpeyhjcjxug4
I'm beginning to think there are only a handful of people who know the answer, so I may have to give up and use a work-around.

Similar Messages

  • I'm trying to import contacts from Outlook to mac address book. I've exported as a CSV but when i try to open with the Address book import tool, the file is greyed out and can't be imported

    I'm trying to import contacts from Outlook to Mac address book. I've exported as a CSV but when I try to open with the Address book import tool, the file is greyed out and can't be imported. Any ideas? 
    Thanks,
    Ian

    If you can't get the exported .csv file to work you might consider using Migration Assistant: http://support.apple.com/kb/HT2518, particular if you need to move more than just your contacts.  There is some granularity in the options on what to transfer but I'm not sure if you can choose to just your migrate contacts.

  • Address Book -- Importing CSV File created by Numbers

    I'm trying to import a csv file generated from MS outlook into address book. When I attempt to import the csv file that Outlook created, Address Book is able to recognize the file. However, I need to modify the file before importing. To do that, I opened in Numbers, deleted some columns and renamed some columns. Then, I exported from Numbers as a .CSV file. However, when I try to import the .CSV file created by numbers, I get the error that I have modified with Numbers, I get the error "Text file import failure".
    Does anybody know why address book can't import a CSV file created by Numbers?

    Many people have run into this problem, including myself. I had worked many hours on a spreadsheet in Numbers, exported to CSV, and received the error message when trying to import into Address Book. The answers to this dilemma are out there, but tidbits of the whole answer are spread around discussion boards. So I hope to consolidate those answers here.
    The main problem for me -- and it's reasonable to assume that others receive the "Text File import error" for the same reason -- is that 1) I had commas in my spreadsheet, and 2) I had hidden RETURNs in the spreadsheet. Once I got rid of those two things, I had no problem importing into Address Book.
    Deleting Commas>
    The problem with commas in your spreadsheet is that the CSV format uses commas to distinguish when a new cell is formed. So having other commas will inevitably confuse Address Book during the attempted import. I didn't have too many commas in my spreadsheet, so I was able to quickly remove them. Yet, if you have dozens or hundreds of cells with commas in them, you'll need an easier solution. I imagine opening Number's Inspector>Cell Inspector>Format will have the solution of removing commas from, say, currency amounts or something else. Yet, how many commas arise in contact information? Perhaps the easiest way is to use the same method of removing those hidden RETURNs. Read on...
    Deleting Hidden RETURNs>
    You can't see them, and I couldn't find a "show invisibles" option in Numbers. So you need to search and find them. Yet, how do you search for something hidden? Do the Command-F thing to bring up the search field. The search bar should automatically be ready to search what you type. Hitting the Return key will do nothing for you, but hitting Shift-Option-Return will (you'll likely need to hit Return again to actually perform the search). Numbers will point out how many times these hidden returns are in your spreadsheet, which cells contain them, and give you the option to automatically replace them with something else (a space is a safe option). You can do the same search and replace with commas too.
    Save your spreadsheet, export it as CSV, and -- as long as the only errors stemmed from commas and hidden RETURNs -- you shouldn't have a problem having Address Book import it. Good luck!
    PS- After importing my spreadsheet, I noticed that some of my Smart Groups in Address Book were not showing some people who should have automatically been in there. The problem was that the Smart Group search had straight apostrophes in it, but the imported contact had curved apostrophes. The computer saw these as two unrelated characters. After some copying and pasting, the problem was solved.

  • How can I forward email with embedded photos?

    How can I forward email with embedded photos so that the recipient gets them that way instead of all the text followed by all the photos?

    Hello,
    Thanks (or merci beaucoup).  I am using Mail version 5.2 (1278) that came with the iMac (Mac OS X 10.7.4).  When I forward the email to myself at my "me.com" email address from my "cox.net" email address, the photos come out as attachments even though they were embedded when I received the email on my cox.net email.   What setting(s) can I make to have it get to me.com the way it was in cox.net, i.e. embedded instead of as attachments?
    Lou Edwards

  • How to sync Address Book and iCal with Samsung GT-S5670 (Galaxy Fit) with Android 2.2 running?

    How to sync Address Book and iCal with Samsung GT-S5670 (Galaxy Fit) with Android 2.2 running?
    Couldn't find any iSync Plug-in nor software for Samsung phones fitting ...
    Thanx for any help!

    Hello,
    if you need to sync your media files as well, you might want to have a look at FoneSync for Android. It features an iTunes like interface and syncs contacts, calendars, music and photos.
    Kind regards
    Jan Fuellemann
    Disclaimer: I work for nova media, but get no benefit or compansation from posting here

  • How do I sync Google contacts.I've tried opening Address Book, clicking "sync with Google"  and clicking onSync icon. But no luck

    How do I sync Google contacts.I've tried opening Address Book, clicking "sync with Google"  and clicking Sync icon. But no luck

    just enable iCloud sync and then configure, setup and then disable it. Re-setup Google and it will work

  • Address book import

    I have a file of comma delimited email addresses that I have attempted to import. Import.text file. I keep getting a message 'The file you selected does not appear to be a valid comma separated values (csv) file nor a valid tab delimited file, please choose another file.'
    Is there a way to import just a list of email addresses?

    Hi cpatmath, and a warm welcome to the forums!
    Try Address Book Importer...
    http://homepage.mac.com/sroy/addressbookimporter/
    Great APP free for single use.

  • How can i synchronize the data from PDA (address book and calendar) with AP

    I�m yang J2ME programmer. I�m just programming an API. I need to synchronize the data from PDA or mobile phone (address book and calendar) with PCs .
    Is the JSR 75 s right way? or JSR 230?
    Where can i download JSR 230 ? not PDF

    Can somebody help me?
    I mean, i want to read address book from cell phone to PC.
    Message was edited by:
    cash_ye

  • Solved: SYNC address book on mac with my blackberry 9800 Torch

    ok the issue is that brand new out of the box the 9800 will (at least did not with me) not work with my mac at home for sync to address book.
    Issue #1, the CD that comes witht he phone is the small one, so don't bother trying to use that cd in your mac, it will get stuck and you'll have to find a mechanical way to remove that cd out of your mac. 
    Solution to this issue is to download the BB Desktop Manager from the BB website.
    ok so now you are running the BB desktop manager. looks simple and cool... Ical syncs up fine but the address book doesn't
    A work around is to sync up with GMAIL and then add the GMAIL contacts to your BB phone. its a bandaid fix. not the solution.
    Ok so on to solving this :
    Step 1, if you are like me you enabled the WiFi on your BB phone. don't get me wrong WiFi works good, not great but good. Temporarily turn it off... yes RIM you have a bug with your WiFi tool on your BB phone that causes apps from your BB apps store to not download correctly. (COD Timeouts) ok so now that you turned off the WiFi, go to your browser on your BB phone and head on over to : www.blackberry.com/messenger
    download that app update. with WiFi, it times out after a few minutes. when WiFi is turned off, it downloads rather fast.  Once it downloads your phone will reboot, wait a few seconds/minutes then connect your phone back to the BB Desktop Manager. In my case it SYNC'd up fine on my Calendar and Address Book.
    Please post your BB model and issue you had/ if this solution helped you.  Thanks.

    quick question before i give this a shot - 
    when you say that your address book is synced with your Torch, does that include more than 2 phone numbers per contact, all addresses and email addresses?
    my boss can sync with address book, but only two phone numbers. some contacts have up to 7 numbers saved on her mac's address book.
    thanks!

  • Why is my address book not syncing with my icloud contacts

    Why is my address book not syncing with my icloud contacts?
    I have my desk top and I have an iphone. I seem to have 2 different contacts list, 1 from my mac and the other icloud. If i add adress on my iphone to contact it does not sync to "my mac"

    thank you very much that worked.first i thought if i restored then I would lose everything but of course I could re-sync so everything good now!!

  • I cannot get my address book to merge with iCloud?

    I cannot get my address book to merge with iCloud?

    Yes, the settings all appear to be correct on the Info page in Itunes.  I have contacts checked to synch, calendars and mail accounts but only the contacts are not moving to the Iphone. 

  • Address book/Contacts sync with Windows Mobile

    Hi.
    Curious if anyone has tried getting a Windows Mobile to wirelessly sync with Address Book Server and with iCal Server?
    IMAP mail works great, but I have a client with mostly Windows Mobile phones and was wondering if there was a way to do this.
    Thanks.

    For a Windows Phone 7 you can use this http://itunes.apple.com/us/app/windows-phone-7-connector/id415571499?mt=12
    For an 'older' Windows phone 6 this http://www.markspace.com/products/windowsmobile/mac/windows-mobile-sync-software .html
    Stefan

  • Address book not syncing with Exchange contacts

    Address book not syncing with Exchange contacts
    After update to Mountain Lion contacts/address book is not syncing from Exchange Account.
    Calendar sync is OK.
    What to do?
    Some information:
    MacBook Pro late 2011
    OS: Mountain Lion (10.8)
    Mail version: 6.0
    Address book version: 7.0

    Waiting was the key solution here!
    After waiting aprox 2/3 hours it worked. Changed nothing...

  • Address Book and using with Motorola v600

    I'm having trouble using the "Dial with cell phone" and "SMS Message" functions in Address Book with my Motorola v600. I click on the Bluetooth button in Address Book to pair it with my phone, and the pairing is successful. However, the functions are still grayed-out.
    I'm able to sync my Address Book and Calendar with my v600 phone using iSync. And I'm also able to navigate through the audio/video filles on my phone using Bluetooth File Exchange. So I don't think there's a problem with the connection.
    Does anyone have any suggestions on how to get the SMS and Dial with Cell Phone functions in Address Book to work with the Motorola v600? Thanks.
    Powerbook G4   Mac OS X (10.4.3)  

    wait, i meant contacts. for some reason the ipod touch will sync with windows contacts but won't sync with windows calendar.
    he will need microsoft outlook to sync his calendar.
    for contacts he doesn't need extra software:
    in the overview screen when the ipod is connected to itunes there is an info tab, in the contacts section, set it to sync with windows contacts.
    Message was edited by: Anna Sandham

  • Suddenly ICal & Address Book stopped syncing with Outlook for Mac

    2 days ago, ICal and Address Book stopped syncing with Outlook for Mac 2011.  I still have full functionality of Email in Outlook.
    What is wrong and how can I fix it?

    Any solution here yet? I have the same issue. After upgrading to Yosemite Outlook for mac kept requiring me to "rebuild identity database"
    I did this many times so there were many new identities.
    Finally I researched and found out that after the Yosemite update outlook would rebuild identity and once you do that there is a mismatch of your email account in outlook which just needs to be deleted and re-added to fix.
    Now since then my outlook contacts and apple address book do not speak to each other.
    If I make a new contact on my iphone and sync with my mac it will appear in apple address book.
    If I make a new contact in outlook it will not appear on the iPhone.
    So the phone is communicating and syncing with apple address book but wherever the apple address book goes to find the outlook contacts it must be using one of the older "identities"
    Also now when I am in outlook and go from email to contacts it takes about 20 seconds to open the 5,300 contacts and it used to be instant.
    Is there a way to view where outlook is getting the data? When I go into Outlook Preferences, Sync Services, "On My Computer:" is the one that is chosen so that should be good.
    Any help?

Maybe you are looking for