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.32 beta 1"
- android:versionCode="54">
+ android:versionName="3.4 beta 1"
+ android:versionCode="55"
+ android:installLocation="auto">
<!-- We require Cupcake (Android 1.5) or later, but are really targeting Donut. -->
<uses-sdk android:minSdkVersion="3"
android:targetSdkVersion="4"/>
<link rel="stylesheet" href="style.css" type="text/css"/>
</head>
<body>
-<p><b>New in version 3.31:</b></p>
+<p><b>New in version 3.4:</b></p>
<ul>
- <li>Fixed a bug which caused some devices not to scan from time to time.</li>
- <li>Added Arabic translation.</li>
- <li>Improved scanning speed.</li>
- <li>Added RSS Expanded support.</li>
- <li>Fixed a crash in the QR Code reader.</li>
- <li>Improved Chinese character support in QR Codes.</li>
-</ul>
-<p><b>New in version 3.3:</b></p>
-<ul>
- <li>Added support for RSS-14 barcodes.</li>
- <li>Diabled the flash on the Behold II.</li>
- <li>Added the ability to send a QR Code generated with the Share feature.</li>
- <li>Forced the beep sound off if the phone is in silent mode.</li>
- <li>Allowed web sites to start Barcode Scanner and choose the URL the result is sent to.</li>
- <li>Added Portuguese and Danish translations.</li>
- <li>New Eclair-style icon.</li>
+ <li>Added suppport for WiFi base station creditials in QR Codes.</li>
+ <li>Added Code 93 support.</li>
+ <li>Added recognition of 5 digit UPC/EAN extensions.</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 a problem where scanning would not work 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>
</ul>
</body>
</html>
to find the SDK location, I've removed it and pointed us at the global ZXing build.properties. -->
<property file="../build.properties"/>
<!-- Parts of the Android build system insist on the name 'sdk-location', so alias it. -->
- <property name="sdk-location" value="${android-home}"/>
+ <property name="sdk.dir" value="${android-home}"/>
<!-- The build.properties file can be created by you and is never touched
by the 'android' tool. This is the place to change some of the default property values
<!-- Custom Android task to deal with the project target, and import the proper rules.
This requires ant 1.6.0 or above. -->
<path id="android.antlibs">
- <pathelement path="${sdk-location}/tools/lib/anttasks.jar" />
- <pathelement path="${sdk-location}/tools/lib/sdklib.jar" />
- <pathelement path="${sdk-location}/tools/lib/androidprefs.jar" />
- <pathelement path="${sdk-location}/tools/lib/apkbuilder.jar" />
- <pathelement path="${sdk-location}/tools/lib/jarutils.jar" />
+ <pathelement path="${sdk.dir}/tools/lib/anttasks.jar" />
+ <pathelement path="${sdk.dir}/tools/lib/sdklib.jar" />
+ <pathelement path="${sdk.dir}/tools/lib/androidprefs.jar" />
+ <pathelement path="${sdk.dir}/tools/lib/apkbuilder.jar" />
+ <pathelement path="${sdk.dir}/tools/lib/jarutils.jar" />
</path>
<taskdef name="setup"
<!-- Properties -->
- <property name="android-tools" value="${sdk-location}/tools" />
+ <property name="android-tools" value="${sdk.dir}/tools" />
<!-- Input directories -->
<property name="source-folder" value="src" />
<arg value="-S" />
<arg path="${resource-folder}" />
<arg value="-I" />
- <arg path="${android-jar}" />
+ <arg path="${android.jar}" />
</exec>
</target>
manifest="AndroidManifest.xml"
resources="${resource-folder}"
assets="${asset-folder}"
- androidjar="${android-jar}"
+ androidjar="${android.jar}"
outfolder="${out-folder}"
basename="${ant.project.name}" />
</target>
<arg value="-f"/>
<arg value="-v"/>
<arg value="4"/>
- <arg value="${out-folder}/temp.apk"/>
+ <arg value="${out-folder}/temp.apk"/>
<arg value="${out-folder}/BarcodeScanner-debug.apk"/>
</exec>
</target>
# project structure.
# Project target.
-target=android-4
+target=android-8
android:layout_gravity="center_vertical"
android:gravity="center"
android:textColor="@color/contents_text"
- android:textSize="22sp"
+ android:textSize="18sp"
android:paddingRight="8dip"
android:paddingTop="8dip"
android:paddingBottom="8dip"/>
android:layout_height="0dip"
android:layout_weight="1"
android:textColor="@color/share_text"
- android:textSize="22sp"
+ android:textSize="18sp"
android:text="@string/msg_share_explanation"/>
<LinearLayout
android:gravity="right">
<ImageView android:id="@+id/barcode_image_view"
- android:layout_width="160dip"
+ android:layout_width="150dip"
android:layout_height="wrap_content"
- android:maxWidth="160dip"
- android:maxHeight="160dip"
+ android:maxWidth="150dip"
+ android:maxHeight="150dip"
android:layout_marginBottom="4dip"
android:adjustViewBounds="true"
android:scaleType="fitEnd"/>
</LinearLayout>
+ <LinearLayout
+ android:orientation="horizontal"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content">
+
+ <TextView android:id="@+id/meta_text_view_label"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/msg_default_meta"
+ android:textColor="@color/result_minor_text"
+ android:textStyle="bold"
+ android:textSize="14sp"
+ android:paddingRight="4dip"/>
+
+ <TextView android:id="@+id/meta_text_view"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textColor="@color/result_minor_text"
+ android:textSize="14sp"/>
+
+ </LinearLayout>
+
</LinearLayout>
<ScrollView
</LinearLayout>
- <LinearLayout
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:background="@color/transparent">
-
- <FrameLayout
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:layout_weight="1"
- android:background="@color/transparent"/>
-
- <LinearLayout android:id="@+id/status_view"
- android:orientation="horizontal"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_weight="0"
- android:background="@color/status_view"
- android:baselineAligned="false"
- android:padding="4dip">
-
- <TextView android:id="@+id/status_text_view"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="left|center_vertical"
- android:layout_weight="1"
- android:text="@string/msg_default_status"
- android:textColor="@color/status_text"
- android.textSize="14sp"/>
-
- </LinearLayout>
-
- </LinearLayout>
+ <TextView android:id="@+id/status_view"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom|center_horizontal"
+ android:background="@color/transparent"
+ android:text="@string/msg_default_status"
+ android:textColor="@color/status_text"
+ android:textSize="14sp"/>
</FrameLayout>
android:layout_height="fill_parent"
android:fillViewport="true"
android:background="@color/encode_view">
-
+
<LinearLayout android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@color/encode_view"
android:layout_gravity="center_horizontal"
android:gravity="center"
android:textColor="@color/contents_text"
- android:textSize="22sp"
+ android:textSize="18sp"
android:paddingBottom="8dip"
android:paddingLeft="8dip"
android:paddingRight="8dip"/>
android:layout_height="wrap_content"
android:layout_weight="1"
android:textColor="@color/share_text"
- android:textSize="22sp"
+ android:textSize="18sp"
android:text="@string/msg_share_explanation"/>
<ImageView
PRODUCT_FORMATS.add(BarcodeFormat.EAN_13);
PRODUCT_FORMATS.add(BarcodeFormat.EAN_8);
PRODUCT_FORMATS.add(BarcodeFormat.RSS14);
- ONE_D_FORMATS = new Vector<BarcodeFormat>(PRODUCT_FORMATS.size() + 3);
+ ONE_D_FORMATS = new Vector<BarcodeFormat>(PRODUCT_FORMATS.size() + 4);
ONE_D_FORMATS.addAll(PRODUCT_FORMATS);
ONE_D_FORMATS.add(BarcodeFormat.CODE_39);
ONE_D_FORMATS.add(BarcodeFormat.CODE_93);