0% found this document useful (0 votes)
44 views9 pages

Android QR Code Reader Made Easy - Varvet

This document discusses how to create an Android application to read QR codes. It explains that the ZXing library can be used to add QR code scanning functionality and provides sample code. The code demonstrates initializing the scanner, scanning a QR code, and retrieving data fields from the scanned code, such as the display value. It also mentions other data like email, phone, URL that can be extracted from a QR code.

Uploaded by

tri murdani
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views9 pages

Android QR Code Reader Made Easy - Varvet

This document discusses how to create an Android application to read QR codes. It explains that the ZXing library can be used to add QR code scanning functionality and provides sample code. The code demonstrates initializing the scanner, scanning a QR code, and retrieving data fields from the scanned code, such as the display value. It also mentions other data like email, phone, URL that can be extracted from a QR code.

Uploaded by

tri murdani
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Android QR Code Reader Made Easy — Varvet https://www.varvet.

com/blog/android-qr-code-reader-made-easy/

1 of 9 02/07/2018, 2:52 PM
Android QR Code Reader Made Easy — Varvet https://www.varvet.com/blog/android-qr-code-reader-made-easy/

2 of 9 02/07/2018, 2:52 PM
Android QR Code Reader Made Easy — Varvet https://www.varvet.com/blog/android-qr-code-reader-made-easy/

3 of 9 02/07/2018, 2:52 PM
Android QR Code Reader Made Easy — Varvet https://www.varvet.com/blog/android-qr-code-reader-made-easy/

4 of 9 02/07/2018, 2:52 PM
Android QR Code Reader Made Easy — Varvet https://www.varvet.com/blog/android-qr-code-reader-made-easy/

5 of 9 02/07/2018, 2:52 PM
Android QR Code Reader Made Easy — Varvet https://www.varvet.com/blog/android-qr-code-reader-made-easy/

6 of 9 02/07/2018, 2:52 PM
Android QR Code Reader Made Easy — Varvet https://www.varvet.com/blog/android-qr-code-reader-made-easy/

7 of 9 02/07/2018, 2:52 PM
Android QR Code Reader Made Easy — Varvet https://www.varvet.com/blog/android-qr-code-reader-made-easy/

Comments Community Avatar

Recommend Share Sort by Best

Join the discussion…

Fox star •
I want to split text of qr code as
name,address,ect..
please help me for that
1 • •

Algar •
A barcode-object contains all of that
already (given that the QR-code has
encoded it in given field). In the code
above I'm always extracting

barcode.displayValue

, but choose what ever you want.


Available data is

format
rawValue
displayValue
valueFormat
cornerPoints
email
phone
sms
wifi
url
geoPoint
calendarEvent
contactInfo
driverLicense

• •

Fox star

how can get it as string
• •

Algar

I don't understand
what you mean. Stack
overflow is a better
place for technical
questions.

8 of 9 02/07/2018, 2:52 PM
Android QR Code Reader Made Easy — Varvet https://www.varvet.com/blog/android-qr-code-reader-made-easy/

9 of 9 02/07/2018, 2:52 PM

You might also like