xref: /aosp_15_r20/external/zxing/android/assets/html-en/scanning.html (revision 513427e33d61bc67fc40bc261642ac0b2a686b45)
1*513427e3STreehugger Robot<!DOCTYPE HTML>
2*513427e3STreehugger Robot<html>
3*513427e3STreehugger Robot<head>
4*513427e3STreehugger Robot<meta charset="UTF-8"/>
5*513427e3STreehugger Robot<title>How to scan</title>
6*513427e3STreehugger Robot<link rel="stylesheet" href="../style.css" type="text/css"/>
7*513427e3STreehugger Robot</head>
8*513427e3STreehugger Robot<body>
9*513427e3STreehugger Robot<p>Barcode Scanner continuously scans a square region shown on your screen -- just line up the phone so the barcode is completely inside the viewfinder rectangle:</p>
10*513427e3STreehugger Robot<p class="imgcenter"><img src="../images/demo-yes.png" style="padding:5px"/><img src="../images/demo-no.png" style="padding:5px"/></p>
11*513427e3STreehugger Robot<p>1D barcodes like those found on products require a phone with autofocus. Without it, only 2D formats like QR Codes and Data Matrix codes will be scannable.</p>
12*513427e3STreehugger Robot<p>When a barcode is read, a beep sound will play and you'll see the results of the scan, a description of what the barcode contains, and options to take action on the contents.</p>
13*513427e3STreehugger Robot<p>If you're having trouble scanning, make sure to hold the phone steady. If the camera is unable to focus, try moving the phone further or closer from the barcode.</p>
14*513427e3STreehugger Robot<ul class="touchable">
15*513427e3STreehugger Robot  <li><a href="about1d.html">About 1D barcodes</a></li>
16*513427e3STreehugger Robot  <li><a href="about2d.html">About 2D barcodes</a></li>
17*513427e3STreehugger Robot</ul>
18*513427e3STreehugger Robot</body>
19*513427e3STreehugger Robot</html>