summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordswitkin@google.com <dswitkin@google.com@59b500cc-1b3d-0410-9834-0bbf25fbcc57>2010-09-11 01:02:33 +0400
committerdswitkin@google.com <dswitkin@google.com@59b500cc-1b3d-0410-9834-0bbf25fbcc57>2010-09-11 01:02:33 +0400
commit3f4aa8a6e1712c8a43efdb71db10fb3884acf923 (patch)
tree90ea643d75065aecfecf8c50ad7d18b6a49a606e
parent734e0df59c3b1456466f09deb797527836a9662e (diff)
downloadzxing-android-embedded-3f4aa8a6e1712c8a43efdb71db10fb3884acf923.tar.xz
Fixed the Google Shopper button remaining visible after scanning a product, and bumped the version to 3.5 beta 1.
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@1583 59b500cc-1b3d-0410-9834-0bbf25fbcc57
-rwxr-xr-xAndroidManifest.xml4
-rw-r--r--assets/html/whatsnew.html14
-rw-r--r--src/com/google/zxing/client/android/result/ResultHandler.java5
3 files changed, 11 insertions, 12 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index c0f943dc..81606d4d 100755
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -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"
diff --git a/assets/html/whatsnew.html b/assets/html/whatsnew.html
index ec2d4589..d318e4dc 100644
--- a/assets/html/whatsnew.html
+++ b/assets/html/whatsnew.html
@@ -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>
diff --git a/src/com/google/zxing/client/android/result/ResultHandler.java b/src/com/google/zxing/client/android/result/ResultHandler.java
index 3020dc55..5c881652 100644
--- a/src/com/google/zxing/client/android/result/ResultHandler.java
+++ b/src/com/google/zxing/client/android/result/ResultHandler.java
@@ -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() {