vcard

How do I parse a VCard to a Python dictionary?

I'm trying to figure out how to parse a VCard to a Python dictionary using VObject. vobj=vobject.readOne(string) print vobj.behavior.knownChildren This is all I get: {'CATEGORIES': (0, None, None), 'ADR': (0, None, None), 'UID': (0, None, None), 'PHOTO': (0, None, None), 'LABEL': (0, None, None), 'VERSION': (1, 1, None), 'FN': (1, 1,...

Debugging ASP.NET Strings Downloaded to Browser (Montréal instead of Montréal)

I'm downloading a vCard to the browser using Response.Write to output .NET strings with special accented characters. Mime type is text/x-vcard and French characters are appearing wrong in Outlook, for example Montréal;Québec .NET string shows as Montréal Québec in browser. Apparently vCard default format is ASCII. .NET strings are U...

vCard PHOTO export showing on Windows, but not on Mac or iPhone

I've written code that exports vCards and have the problem that the PHOTO data exported will show on a couple Windows programs, but when the vCard is viewed in the Mac or iPhone addrs books, the photo doesnt show. I wonder if anyone knows whether there is something different with the formatting needed on these platforms? ...

How to import multiple vCard VCF contact files into Outlook 2007 using VBA

How to import multiple vCard VCF contact files into Outlook 2007 using VBA ...

Creating vCard file in .NET Compact Framework (C#)

Hi, Is there a built-in way to create vCard files in the .NET Compact Framework? If not, what is a good library for this? I have found this one which after some adaptations would seems to be able to do the job on the Compact Framework: http://thoughtproject.com/Libraries/vCard/index.htm But I'm not sure if there is not a build-in or m...

How can I upload and parse a vcard using ruby on rails?

I would like to be able to upload a vcard and have it parsed into my application's Model. I am thinking that Paperclip would be a way to upload, but I have no idea how to do the parse. I did a search on google, the only library that seems related is vpim, with mixed commentary. Wanted to see what brilliant ideas might be out there to ...

Storing Arbitrary Contact Information in Ruby on Rails

Hi, I am currently working on a Ruby on Rails app which will function in some ways like a site-specific social networking site. As part of this, each user on the site will have a profile where they can fill in their contact information (phone numbers, addresses, email addresses, employer, etc.). A simple solution to modeling this woul...

vCard Microformat on a web page

Hi. I'm trying to use the vCard Microformat standard to provide a VCF export option on a web page, but when I try to export to Outlook 2003, it doesn't show the phone numbers at all. Here's the vCard code in the page; is this normal for Outlook to not pull in the phone numbers? <div id="" class="vcard" style="float:left; display:inline-...

how to open vCard bydefault in outlook 2007/03 ?

Hi, I have generated the the vCard from asp.net + c# application. While ending up. browsers pops up for "open with /Save as" box. I don't want to appear this box. rather than that , I want to directly set the generated .vcf file to open with outlook 2007 or 03. what hae to do ? My code is: System.Web.UI.HtmlTextWriter htmlWrite = new H...

[WinForms] ToolTips style

Im looking for a library that can help me design ToolTips within WinForms. it does not have to be tooltips but an on hover / single click is ok. I need to show client information on the hover event and show a gui that can hold image and other information This image will describe exactly what im looking for! ...

How can I use custom fields in a vCard?

I'm writing an application which generates vCards from an internal customer database and would like to include additional information in the card, e.g. internal customer number. Reading the RFC, I've see "vendor-specific" extensions, which are to be registered at IANA etc. Are these extensions the way to go? What should I keep in mind wh...

Vpim::Vcard - Parsing vcard 2.1

Hello. My code must parse Vcard 2.1 format. I am using vpim(there are no other libs) When I run Vpim::Vcard.decode(data) I get error: undefined method `each' for #<String:0x0000000928e778> StackTrace: NoMethodError (undefined method `each' for #<String:0x0000000928e778>): vpim (0.695) lib/vpim/rfc2425.rb:82:in `unfold' vpi...

How to import contacts into Outlook from a CSV file (including UID)

I have an external database which stores my reference contact addresses (first name, last name, e-mail, phone number, etc.) and I would like to periodically import the data into Outlook (standalone, not via Exchange server). There are numerous ways to import data (e.g. through CSV or vCard files), but before trying to implement this, I ...

Which 'contact information' format has the broadest support for mobile phone QR code scanners?

vCard? mecard? hCard? Is there a de facto standard at this point? I've never personally owned a 'smartphone' -- is there a format that's supported 'out-of-the-box' for either iphone, android or blackberry? edit: found this discussion from last year. Any thoughts? this reader appears to be multiplatform and uses mecard mecard sp...

Import a vcard 3.0 automatically into android contacts (Android 2.1)

I'm trying to import a vcard (vers. 3.0) automatically into the android contacts. Within the contact manager there is an option to import a vcf file stored on the sd-card into the contacts. How can I trigger this function with handing over a file? ...

Android 2.1 vcard contact fields

Hi! I am trying to import a vcard into the contacts on my android phone. I have problems with some fields, e.g Family Name, Job title, Company,... With fields like phone and email it is already working. Here is a part of my code: Intent i=new Intent(Intent.ACTION_INSERT); Uri uri = Uri.parse("content://com.android.contacts/con...

Insert vCard in Android

I'm trying to import and export contact on an Android phone as vCards. Export works fine and i get the vCard string. But how can i insert a contact from a vCard string? I wasn't able to find any sample code :( Greets, Goddchen ...