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.0 alpha1"
- android:versionCode="24">
+ android:versionName="2.91"
+ android:versionCode="26">
<uses-sdk android:minSdkVersion="3"/>
<application android:icon="@drawable/launcher_icon"
android:label="@string/app_name">
<body>
<link rel="StyleSheet" href="style.css" type="text/css">
<h3><center>What's new in this version</center></h3>
+<p>New in version 2.91:</p>
+<ul>
+ <li>Forced the Samsung Galaxy flash off, which was interfering with scanning.</li>
+ <li>A few other minor fixes.</li>
+</ul>
<p>New in version 2.9:</p>
<ul>
<li>Added a new custom search function for advanced users.</li>
Camera.Parameters parameters = mCamera.getParameters();
parameters.setPreviewSize(mScreenResolution.x, mScreenResolution.y);
- // Disables the built-in flash if present. Hopefully devices will honor this setting.
- parameters.set("flash-mode", "off");
+ // FIXME: This is a hack to turn the flash off on the Samsung Galaxy. In the future there
+ // will hopefully be a standard setting like "off" that all devices will honor.
+ parameters.set("flash-mode", "2");
mCamera.setParameters(parameters);
Log.v(TAG, "Setting params for preview: width " + mScreenResolution.x + " height " +
mScreenResolution.y);