Allowed non-autofocus devices to see the app in Market, and updated the docs and...
authordswitkin <dswitkin@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Mon, 4 Jan 2010 20:38:41 +0000 (20:38 +0000)
committerdswitkin <dswitkin@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Mon, 4 Jan 2010 20:38:41 +0000 (20:38 +0000)
git-svn-id: http://zxing.googlecode.com/svn/trunk@1173 59b500cc-1b3d-0410-9834-0bbf25fbcc57

android/AndroidManifest.xml
android/assets/html/scanning.html
android/assets/html/whatsnew.html

index 9df882a..16207ce 100755 (executable)
@@ -20,17 +20,21 @@ version to be published. The next versionCode will be 7, regardless of whether t
 versionName is 2.31, 2.4, or 3.0. -->
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
           package="com.google.zxing.client.android"
-          android:versionName="3.1"
-          android:versionCode="42">
+          android:versionName="3.11 alpha 1"
+          android:versionCode="43">
   <!-- We require Cupcake (Android 1.5) or later, but are really targeting Donut. -->
   <uses-sdk android:minSdkVersion="3"
             android:targetSdkVersion="4"/>
-  <!-- Donut-specific flags which allow us to run on large and high dpi screens. -->
-  <supports-screens
-    android:largeScreens="true"
-    android:normalScreens="true"
-    android:smallScreens="true"
-    android:anyDensity="true"/>
+  <!-- Donut-specific flags which allow us to run on any dpi screens. -->
+  <supports-screens android:largeScreens="true"
+                    android:normalScreens="true"
+                    android:smallScreens="true"
+                    android:anyDensity="true"/>
+  <!-- For Donut and above we must specify that we use the camera, but intentionally omit the
+  autofocus feature in order for the app to appear in Market for non-AF devices. While it's true
+  that 1D barcodes will not be scannable, QR Codes will work. Ideally we'd show users a message
+  to this effect on first launch. -->
+  <uses-feature android:name="android.hardware.camera"/>
   <application android:icon="@drawable/launcher_icon"
                android:label="@string/app_name">
     <activity android:name=".CaptureActivity"
index 45899d9..8c86a17 100644 (file)
@@ -8,6 +8,8 @@
 <center><p>
   <img src="../images/demo-yes.png">&nbsp;&nbsp;&nbsp;<img src="../images/demo-no.png">
 </p></center>
+<p><b>IMPORTANT:</b> 1D barcodes like those found on products require a phone with autofocus.
+  Without it, only QR Codes will be scannable.</p>
 <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>
 <p>If you're having trouble scanning, make sure to hold the phone steady. If the camera is unable to
index 9c62e41..aa777c1 100644 (file)
@@ -3,6 +3,11 @@
 <body>
 <link rel="StyleSheet" href="style.css" type="text/css">
 <h3><center>What's new in this version</center></h3>
+<p>New in version 3.11:</p>
+<ul>
+  <li>Allowed devices without autofocus to see Barcode Scanner in the Market.</li>
+  <li>Minor translation and bug fixes.</li>
+</ul>
 <p>New in version 3.1:</p>
 <ul>
   <li>Added a real-time visualization of the image processing as it's looking for barcodes.</li>