电子名片的QR code导入不分离领域。它是格式?它是、领域、格式、电子名片

由网友(心高气傲、)分享简介:这文字BEGIN:VCARDN:Haven;Richard;;;ADR;DOM;PARCEL;HOME:;;9999 Mission Street ;Daly City;California;94014;U.S.A.EMAIL;INTERNET:richard@domain.comEMAIL;INTERNET...

这文字

BEGIN:VCARD
N:Haven;Richard;;;
ADR;DOM;PARCEL;HOME:;;9999 Mission Street ;Daly City;California;94014;U.S.A.
EMAIL;INTERNET:richard@domain.com
EMAIL;INTERNET:richard@domain.org
TEL;CELL:831-555-9315
TEL;CELL:831-555-0740
END:VCARD

转换成这个QR code ,然后导入到我的摩托罗拉Droid不分离的姓氏和名字,而且它不会在地址分开。

converted into this QR Code and imported into my Motorola Droid does not separate the first and last name, and it does not separate the address.

此外,电话和电子邮件被分配家庭和工作以及家庭和移动;我预计至少在手机中去,因为这两种手机。

Also, the phone and emails are assigned Home and Work and Home and Mobile; I expected at least the phones to go in as both Mobile.

难道就是这个样子的Andr​​oid解析电子名片或者我可以更改编码,允许分离和正确地指定类型的电子邮件和电话的?

Is it just the way Android parses vCards or can I change the encoding to allow separation and correctly specify the types of emails and phones?

感谢

推荐答案

我觉得这里的问题涉及律师code扫描仪,而不是Android系统。酒吧code扫描仪(我是一个开发者)分析所有这些领域。问题是,在Android 1.x的API没有让你指定所有你想在这里作为单独的字段的信息。机器人2.x的那样,以更大的程度。因为它的用户的一小部分仍然在1.5巴code扫描仪必须使用1.5兼容保留的时刻 - 小部分,但10万人,因此,我们不能仅仅把它们扔掉。

I think the question here concerns Barcode Scanner, rather than Android. Barcode Scanner (I'm a developer) parses all these fields. The issue is that the Android 1.x APIs do not let you specify all of the information you want to here as separate fields. Android 2.x does, to a much greater degree. Barcode Scanner must remain compatible with 1.5 for the moment since a small fraction of its users are still on 1.5 -- small fraction, but of 10 million people, so we can't just dump them.

这是可以想象的,虽然是很痛苦的,编写使用的一个或另一个的API,同时仍然1.5友好的一个版本。

It's conceivable, though quite painful, to write a version that uses one or the other API while still being 1.5-friendly.

相反已经有需要的Andr​​oid 2.2,并使用新的API的版本。它不会被释放一段时间(见上文),但你可以给它一个在这里拍摄:的 HTTP://$c$c.google.com/p/zxing/downloads/detail名=酒吧codeScanner-debug.apk

Instead there is already a version that requires Android 2.2 and uses newer APIs. It's not going to be released for some time (see above) but you can give it a shot here: http://code.google.com/p/zxing/downloads/detail?name=BarcodeScanner-debug.apk

阅读全文

相关推荐

最新文章