Click here to Skip to main content
16,018,264 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi ,
I need to implement QRCode encoding and decoding for contact information in my Windows application(C#).
For this I started using zxing library.
It has one function for encoding which takes first parameter as data in string.
How to pass contact information for encoding ?

Could you please share some solution where in I can able to encode and decode contact information ?

Any help would be greatful.
Thanks in advance

-Vivek Deshmukh
Posted

 
Share this answer
 
Comments
Vivek Deshmukh 17-Aug-12 0:56am    
Hi ,
I am searching for Contact information encoding.How to give Contact in formation as input for encoding.
Kenneth Haugland 17-Aug-12 0:58am    
I think the link to the open source could explain it, I cant :)
Sergey Alexandrovich Kryukov 17-Aug-12 1:05am    
Aha, if you will need to encode/decode a price list, you will need an article about price list encoding, right? And about salary encoding? And about concentration of methylmercury in the ocean? No go without an article?
--SA
Vivek Deshmukh 17-Aug-12 1:18am    
No dear,
I just wanted to confirm is their any standard format for contact information.
and got my answer.
Thanks
-Vivek Deshmukh
Sergey Alexandrovich Kryukov 17-Aug-12 1:30am    
(Sigh...)
http://zxing.appspot.com/generator/[^]

Check this

In this contact information the data format is just like this

VB
BEGIN:VCARD
N:Test Name
ORG:Test Company
TITLE:Test Title
TEL:123456789
URL:www.test.com
EMAIL:test@mail.com
ADR:test1 test2
NOTE:test
END:VCARD


You can encode the data like this format.
 
Share this answer
 
Comments
Vivek Deshmukh 17-Aug-12 1:14am    
Hey dude,
Thanks dear. Its working ......
Vinod, Do u have any idea for encode and decode in various languages.
Ex default its takin US-En, what if I want to encode and decode in Japanies or Chinese ?
Because I have one image which is encoded in japanies and its giving me error while decoding.
Vivek Deshmukh 17-Aug-12 2:15am    
Hello Vinod,
Can u please guide me for this
http://www.codeproject.com/Questions/441955/zXing-QRCode-Encode-and-Decode-with-Globalization
Renju Vinod 17-Aug-12 2:19am    
Hi Vivek,
Please send the error you have got while decoding
Vivek Deshmukh 17-Aug-12 2:27am    
Hi vinod,
Not error. I have updated my question.
http://www.codeproject.com/Questions/441955/zXing-QRCode-Encode-and-Decode-with-Globalization
Please check now
Vivek Deshmukh 17-Aug-12 2:54am    
Hi vinod,
Any idea ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900