xref: /aosp_15_r20/external/zxing/android/assets/html-en/scanning.html (revision 513427e33d61bc67fc40bc261642ac0b2a686b45)
1<!DOCTYPE HTML>
2<html>
3<head>
4<meta charset="UTF-8"/>
5<title>How to scan</title>
6<link rel="stylesheet" href="../style.css" type="text/css"/>
7</head>
8<body>
9<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<p class="imgcenter"><img src="../images/demo-yes.png" style="padding:5px"/><img src="../images/demo-no.png" style="padding:5px"/></p>
11<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<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<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<ul class="touchable">
15  <li><a href="about1d.html">About 1D barcodes</a></li>
16  <li><a href="about2d.html">About 2D barcodes</a></li>
17</ul>
18</body>
19</html>