locked
vcard in Mobile web site RRS feed

  • Question

  • User1399102720 posted

    Hello All,

    I have a web site built with the Microsoft mobile controls (.NET v2.0 framework) and I'm tasked with providing a robust "Add to Contacts" feature. Currently I am using the wtai AddPBEntry method. However that only allows for a contact name and phone number.

    Does anyone have any experience with other ways to perform this type of feature. Is vcard functionality possible with mobile web applications.

    I am searching the web currently but I wanted to create this post early on as my Product Manager will no doubt ask if I have checked/posted with the forums.

    Just hoping someone can simply point me in the right direction.

    Thanks to all in advance.
     

    Thursday, October 25, 2007 10:57 AM

Answers

  • User-2076991548 posted

    I have absolutely no ground for this but the vCard format is

    with MIME type "text/x-vcard"


    begin:vcard
    n:Doe;John
    tel;work:123456
    x-mozilla-html:FALSE
    url:
    org:FBI CIA
    adr:;;Somewhere not in Portland
    version:2.1
    email;internet:
    title:Chairman
    end:vcard

    if u can stream this to the browser maybe they can grab it. I donno, I guess it will depend on the client

     regards,
    Mauro

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, October 25, 2007 6:47 PM

All replies

  • User-2076991548 posted

    I have absolutely no ground for this but the vCard format is

    with MIME type "text/x-vcard"


    begin:vcard
    n:Doe;John
    tel;work:123456
    x-mozilla-html:FALSE
    url:
    org:FBI CIA
    adr:;;Somewhere not in Portland
    version:2.1
    email;internet:
    title:Chairman
    end:vcard

    if u can stream this to the browser maybe they can grab it. I donno, I guess it will depend on the client

     regards,
    Mauro

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, October 25, 2007 6:47 PM
  • User1399102720 posted

     Thanks Mauro. That helped. I did find out that I have problems with the Blackberry phones if the file doesn't contain tags that are all upper case. Thanks again for your help.

    Tuesday, October 30, 2007 3:50 PM
  • User1665574779 posted

     Hello,

    Have you been able to expose vCard through mobile web site (blackberry browser).

    I'm rendering vCard through MDS to blackberry browser ( Content-Type: text/x-vcard), but getting "a problem occured while trying to render the page.

    Any suggestions?

    Thank you

    Alexander

    Tuesday, March 11, 2008 12:48 PM
  • User1399102720 posted

     We are doing this a little different. We are creating/storing the .vcf file on the server and simply give the user a link to the file.

    Tuesday, March 25, 2008 1:51 PM