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="2.9"
- android:versionCode="23">
+ android:versionName="3.0 alpha1"
+ android:versionCode="24">
<uses-sdk android:minSdkVersion="3"/>
<application android:icon="@drawable/launcher_icon"
android:label="@string/app_name">
should be checked in in Version Control Systems.
-->
- <!--<property file="build.properties"/>-->
+ <property file="build.properties"/>
<!-- The default.properties file is created and updated by the 'android' tool, as well as ADT.
This file is an integral part of the build system for your application and
<echo>Uninstalling ${application-package} from the default emulator...</echo>
<exec executable="${adb}" failonerror="true">
<arg value="uninstall" />
- <arg path="${application-package}" />
+ <arg value="${application-package}" />
</exec>
</target>
private void setCameraParameters() {
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");
mCamera.setParameters(parameters);
Log.v(TAG, "Setting params for preview: width " + mScreenResolution.x + " height " +
mScreenResolution.y);
should be checked in in Version Control Systems.
-->
- <!--<property file="build.properties"/>-->
+ <property file="build.properties"/>
<!-- The default.properties file is created and updated by the 'android' tool, as well as ADT.
This file is an integral part of the build system for your application and
<echo>Uninstalling ${application-package} from the default emulator...</echo>
<exec executable="${adb}" failonerror="true">
<arg value="uninstall" />
- <arg path="${application-package}" />
+ <arg value="${application-package}" />
</exec>
</target>