Fixed the Google Shopper button remaining visible after scanning a product, and bumpe...
authordswitkin@google.com <dswitkin@google.com@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Fri, 10 Sep 2010 21:02:33 +0000 (21:02 +0000)
committerdswitkin@google.com <dswitkin@google.com@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Fri, 10 Sep 2010 21:02:33 +0000 (21:02 +0000)
git-svn-id: http://zxing.googlecode.com/svn/trunk@1583 59b500cc-1b3d-0410-9834-0bbf25fbcc57

android/AndroidManifest.xml
android/assets/html/whatsnew.html
android/src/com/google/zxing/client/android/result/ResultHandler.java

index c0f943d..81606d4 100755 (executable)
@@ -20,8 +20,8 @@ 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.41 beta 1"
-          android:versionCode="59"
+          android:versionName="3.5 beta 1"
+          android:versionCode="60"
           android:installLocation="auto">
   <!-- We require Cupcake (Android 1.5) or later, but are really targeting Donut. -->
   <uses-sdk android:minSdkVersion="3"
index ec2d458..d318e4d 100644 (file)
@@ -4,17 +4,11 @@
 <link rel="stylesheet" href="style.css" type="text/css"/>
 </head>
 <body>
-<p><b>New in version 3.4:</b></p>
+<p><b>New in version 3.5:</b></p>
 <ul>
-  <li>Added support for WiFi base station credentials in QR Codes. Use the
-  <a href="http://zxing.appspot.com/generator/">ZXing QR Code Generator</a> to make one.</li>
-  <li>Added Code 93 support.</li>
-  <li>Added bulk scan mode to the preferences.</li>
-  <li>Allowed the app to be moved to the SD card on Froyo devices.</li>
-  <li>Fixed scanning not working when resuming the app.</li>
-  <li>Made Calendar event parsing more lenient.</li>
-  <li>Fixed crashes in the QR Encoder with missing data.</li>
-  <li>Updated the UI appearance a bit.</li>
+  <li>Added DataMatrix barcode reading.</li>
+  <li>Added Turkish translation.</li>
+  <li>Many bug fixes.</li>
 </ul>
 </body>
 </html>
index 3020dc5..5c88165 100644 (file)
@@ -94,6 +94,11 @@ public abstract class ResultHandler {
     this.activity = activity;
     this.rawResult = rawResult;
     this.customProductSearch = parseCustomSearchURL();
+
+    // Make sure the Shopper button is hidden by default. Without this, scanning a product followed
+    // by a QR Code would leave the button on screen among the QR Code actions.
+    Button shopperButton = (Button) activity.findViewById(R.id.shopper_button);
+    shopperButton.setVisibility(View.GONE);
   }
 
   ParsedResult getResult() {