markusfisch / BinaryEye

Yet another barcode scanner for Android
https://play.google.com/store/apps/details?id=de.markusfisch.android.binaryeye
MIT License
1.48k stars 121 forks source link

Feature Request: Support MECARD contact info #217

Closed suuppl closed 3 years ago

suuppl commented 3 years ago

Hi, great app! Thank you.

While playing around I noticed that i can't add MECARD contact info. I used this code to test.

Code Content MECARD:N:COMPUTERBILD LESERSERVICE;TEL:04034723933;URL:www.computerbild.de;EMAIL:redaktion@computerbild.de;ADR:Axel-Springer-Platz 1 20350 Hamburg;;

Possibly related to #73, although my phone (Huawei CLT-L29) runs on Android 10 (EMUI 10.0.0, Build 10.0.0.185)

I have version 1.44.1 installed, which is the latest version at the time of writing.

When scanning the code I can search the content with a search engine of my choice but I can't add it to my contacts, which I'd expect.

markusfisch commented 3 years ago

Sorry, Binary Eye doesn't support the MECARD format yet 😬

But since MECARD can (hopefully) very easily be transformed to the VCARD format, I just added such a transformation: https://github.com/markusfisch/BinaryEye/commit/3c8c0737c4091a506a67d46d486ff5fcc1d8e3d2

So the next version should support MECARD too.

suuppl commented 3 years ago

Nice! Thank you :D

markusfisch commented 3 years ago

Version 1.45.0 with support for MECARD should become available shortly.