UDH for MECARD if possible

UDH for MECARD if possible SearchSearch
Author Message
Lars Nielsen, MobileNation ApS - Denmark
New member
Username: Larsmservice

Post Number: 3
Registered: 10-2003
Posted on Wednesday, February 08, 2012 - 11:10 pm:   

Hi Y'all.

Is Bryce still there? If he is, give my regards. Been too long;-).

Anyway! I am not sure this is the right forum. It used to be, but that was a long time ago. I'll ask anyway.
Last time i was around we found out a lot about sending vCard, Vcal, vTodo through nowSms.
Now i am trying to send MECARD. The reason being that the Iphone supports it and the new Android: Ice Cream Sandwich also seems to like it. And it works on a qr-code level. Therefor i am trying to see if i am able to push such a message. google cannot give me an answer regarding the UDH, so i am guessing that it cannot be done. Then i thought of Bryce;-). That guy can do magic. So here i am Bryce... Can you help?

MECARD DATA:

MECARD:N:Lars Saaby Nielsen;ORG:mycompany;TEL:+4555555555;URL:http://www.mecard.dk;EMAIL:lars@wakkaduddi.com;ADR:Rønnebærvej 17 adresse 2 felt;NOTE:i am a note;;




All the best for y'all.

;)Lars
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 8012
Registered: 10-2002
Posted on Thursday, February 09, 2012 - 09:38 pm:   

Hi Lars,

Yes, I'm still around. Des answers more questions these days though, because he's a machine. I have a tendency to get more distracted by unusual topics.

So I'll bite.

I don't know much about the MECARD, so you'll have to help bring me up to speed.

Here is the way that I understand it ... so feel free to correct, clarify or offer further explanation.

The way that I understand MECARD is that while there is a text format, the text format is not the presentation format.

MECARD is a standard text format for contact information, very similar to vCard. However, I don't see applications where it is exchanged in its text format. Instead, this text is used to generate a QR code.

For example, I used http://qrcode.littleidiot.be/ to convert your MECARD data above into the QR code below:



I don't think UDH is relevant to sending the MECARD in either text or QR format.

You could send the QR code via MMS, but I'm not sure why you would.

The typical use case is to use a camera to scan the QR code so that the contact information can be read in without requiring it to be typed.

I'm not sure there's any benefit or value to sending the QR code in a message (it would have to be sent via MMS). And I'd be very surprised if the built-in MMS client for either iPhone or Android would know what to do with it.

Maybe you see some other use?

I can tell you that iPhone and Android (pre-ICS) use MMS to send/share a contact, and then use the vCard format in an MMS message.

I was playing around with Android ICS the other day, and noticed the option to send/share a contact in this way seemed to be missing, but maybe there is a configuration setting that needs to be enabled?

I'm assuming you see some other use for MECARD?

-bn
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 8014
Registered: 10-2002
Posted on Thursday, February 09, 2012 - 09:51 pm:   

I also just realised that MECARD is an NTT DoCoMo format:

http://www.nttdocomo.co.jp/english/service/developer/make/content/barcode/functi on/application/addressbook/

Of course, MECARD is just a small amount of the data that can be represented in a QR code. NTT DoCoMo has some interesting info here:

http://www.nttdocomo.co.jp/english/service/developer/make/content/barcode/

I still see it more as something to be read in by a camera though ... not something sent via SMS or MMS.

-bn
Lars Nielsen, MobileNation ApS - Denmark
New member
Username: Larsmservice

Post Number: 4
Registered: 10-2003
Posted on Thursday, February 09, 2012 - 10:02 pm:   

Great to hear from you Bryce.
I am aware that MECARD is a format that sprung out of QR. Actually i think that either invented it or used it seriously first. http://www.nttdocomo.co.jp/english/service/developer/make/content/barcode/function/application/addressbook/index.html

Anywayz. I just noticed the text-format was very much like vCard's and had my hopes up that i would be able to (finally) push vCard's to the Iphones.

The problem is:

Iphone:
Can receive vcards via MMS.
Can send vcards via MMS.
Cannot download via URL/website.
Cannot receive vCard Messages (OTA).

Android (including Ice Cream Sandwich):
Cannot receive vcards via MMS.
Cannot send vcards via MMS.
Can download via URL/website.
Can and cannot receive vcards via Messages (OTA). Some SonyE models work, but most dont.


So there is no easy way to send vcards to all kind of phones. It's pretty buggy. But i noticed that all smartphones did support the MECARD via a QR-code. But then again, that's an app and not the phone itself.

So, in my frustration one name popped up... Bryce;-)
But i am giving it up. I honestly do not think it's possible.
Instead i've made another solution.

I'll write it here, to inspire others;-)

1. Put a .VCF file on a landingpage (shortURL it).

2. Send a SMS to the receiver with a link to landingpage.

3. The receiver enters the site.

4. Programatically i get the Operator, MSISDN and UserAgent.

5. If Iphone, i send a MMS to MSISDN with the .vcf file and my landingpage says "Thankyou, i've snt you my businesscard to your phone".

6. If Android (or other) I show a download-button.

Another advantage here is that you can track it. Via google or other tracking/stats tool.
And you can spice the landingpage which all customers love;-).



Here is my testpage:
landingpage example



Hope i can inspire someone outthere. All the best to y'all and you Bryce;-)