2008-08-19 12:14:09 -07:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
2008-10-18 09:23:24 -07:00
|
|
|
Copyright (C) 2008 ZXing authors
|
2008-08-19 12:14:09 -07:00
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
2008-10-18 12:27:43 -07:00
|
|
|
|
|
|
|
<!-- versionCode is a monotonically increasing integer. I'm starting it at 6 because v2.3 is the 6th
|
|
|
|
version to be published. The next versionCode will be 7, regardless of whether the user-visible
|
|
|
|
versionName is 2.31, 2.4, or 3.0. -->
|
2008-08-19 12:14:09 -07:00
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
2008-10-18 12:27:43 -07:00
|
|
|
package="com.google.zxing.client.android"
|
2010-07-09 14:36:59 -07:00
|
|
|
android:versionName="3.4 beta 2"
|
|
|
|
android:versionCode="56"
|
2010-06-29 14:11:27 -07:00
|
|
|
android:installLocation="auto">
|
2009-12-13 17:40:21 -08:00
|
|
|
<!-- We require Cupcake (Android 1.5) or later, but are really targeting Donut. -->
|
|
|
|
<uses-sdk android:minSdkVersion="3"
|
|
|
|
android:targetSdkVersion="4"/>
|
2010-01-04 12:38:41 -08:00
|
|
|
<!-- Donut-specific flags which allow us to run on any dpi screens. -->
|
|
|
|
<supports-screens android:largeScreens="true"
|
|
|
|
android:normalScreens="true"
|
|
|
|
android:smallScreens="true"
|
|
|
|
android:anyDensity="true"/>
|
|
|
|
<!-- For Donut and above we must specify that we use the camera, but intentionally omit the
|
|
|
|
autofocus feature in order for the app to appear in Market for non-AF devices. While it's true
|
|
|
|
that 1D barcodes will not be scannable, QR Codes will work. Ideally we'd show users a message
|
|
|
|
to this effect on first launch. -->
|
|
|
|
<uses-feature android:name="android.hardware.camera"/>
|
2008-11-07 07:07:54 -08:00
|
|
|
<application android:icon="@drawable/launcher_icon"
|
2008-10-18 09:23:24 -07:00
|
|
|
android:label="@string/app_name">
|
2008-11-10 12:50:34 -08:00
|
|
|
<activity android:name=".CaptureActivity"
|
2008-08-19 12:14:09 -07:00
|
|
|
android:screenOrientation="landscape"
|
2008-10-18 09:23:24 -07:00
|
|
|
android:configChanges="orientation|keyboardHidden"
|
2008-08-19 12:14:09 -07:00
|
|
|
android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
|
2008-10-18 09:23:24 -07:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.MAIN"/>
|
|
|
|
<category android:name="android.intent.category.LAUNCHER"/>
|
|
|
|
</intent-filter>
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="com.google.zxing.client.android.SCAN"/>
|
|
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
|
|
</intent-filter>
|
2009-03-11 12:35:23 -07:00
|
|
|
<!-- Allow web apps to launch Barcode Scanner by linking to http://zxing.appspot.com/scan. -->
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.VIEW"/>
|
2009-10-19 11:04:57 -07:00
|
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
2009-03-11 12:35:23 -07:00
|
|
|
<category android:name="android.intent.category.BROWSABLE"/>
|
2009-10-19 11:04:57 -07:00
|
|
|
<data android:scheme="http" android:host="zxing.appspot.com" android:path="/scan"/>
|
2009-03-11 12:35:23 -07:00
|
|
|
</intent-filter>
|
2009-05-01 07:36:57 -07:00
|
|
|
<!-- We also support a Google Product Search URL. -->
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.VIEW"/>
|
2009-10-19 11:04:57 -07:00
|
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
2009-05-01 07:36:57 -07:00
|
|
|
<category android:name="android.intent.category.BROWSABLE"/>
|
2009-10-19 11:04:57 -07:00
|
|
|
<data android:scheme="http" android:host="www.google.com" android:path="/m/products/scan"/>
|
2009-05-01 07:36:57 -07:00
|
|
|
</intent-filter>
|
|
|
|
<!-- And the UK version. -->
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.VIEW"/>
|
2009-10-19 11:04:57 -07:00
|
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
2009-05-01 07:36:57 -07:00
|
|
|
<category android:name="android.intent.category.BROWSABLE"/>
|
2009-10-19 11:04:57 -07:00
|
|
|
<data android:scheme="http" android:host="www.google.co.uk" android:path="/m/products/scan"/>
|
2009-05-01 07:36:57 -07:00
|
|
|
</intent-filter>
|
2008-08-19 12:14:09 -07:00
|
|
|
</activity>
|
2009-09-28 09:07:20 -07:00
|
|
|
<activity android:name=".PreferencesActivity"
|
2008-08-19 12:14:09 -07:00
|
|
|
android:label="@string/preferences_name">
|
|
|
|
</activity>
|
2009-09-28 09:07:20 -07:00
|
|
|
<activity android:name=".encode.EncodeActivity">
|
2008-10-18 09:23:24 -07:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="com.google.zxing.client.android.ENCODE"/>
|
|
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
|
|
</intent-filter>
|
2009-10-19 11:04:57 -07:00
|
|
|
<!-- This allows us to handle the Share button in Contacts. -->
|
2008-10-18 09:23:24 -07:00
|
|
|
<intent-filter>
|
2009-10-19 11:04:57 -07:00
|
|
|
<action android:name="android.intent.action.SEND"/>
|
2008-10-18 09:23:24 -07:00
|
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
2009-10-19 11:04:57 -07:00
|
|
|
<data android:mimeType="text/x-vcard"/>
|
2008-10-18 09:23:24 -07:00
|
|
|
</intent-filter>
|
2008-08-19 12:14:09 -07:00
|
|
|
</activity>
|
2009-09-28 09:07:20 -07:00
|
|
|
<activity android:name=".book.SearchBookContentsActivity"
|
2008-10-18 09:23:24 -07:00
|
|
|
android:label="@string/sbc_name"
|
|
|
|
android:screenOrientation="landscape"
|
|
|
|
android:configChanges="orientation|keyboardHidden">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="com.google.zxing.client.android.SEARCH_BOOK_CONTENTS"/>
|
|
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
2010-06-14 20:49:49 -07:00
|
|
|
<activity android:name=".wifi.WifiActivity"
|
|
|
|
android:label="@string/wa_name"
|
|
|
|
android:screenOrientation="landscape"
|
|
|
|
android:configChanges="orientation|keyboardHidden">
|
|
|
|
</activity>
|
2009-09-28 09:07:20 -07:00
|
|
|
<activity android:name=".share.ShareActivity"
|
2008-11-10 12:35:33 -08:00
|
|
|
android:label="@string/share_name"
|
|
|
|
android:screenOrientation="user">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="com.google.zxing.client.android.SHARE"/>
|
|
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
2009-09-28 09:07:20 -07:00
|
|
|
<activity android:name=".share.BookmarkPickerActivity"
|
2008-11-12 07:42:44 -08:00
|
|
|
android:label="@string/bookmark_picker_name">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.PICK"/>
|
|
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
2009-11-17 03:54:15 -08:00
|
|
|
<activity android:name=".share.AppPickerActivity"
|
|
|
|
android:label="@string/app_picker_name">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.PICK"/>
|
|
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
2009-09-28 09:07:20 -07:00
|
|
|
<activity android:name=".HelpActivity"
|
2008-11-25 14:12:02 -08:00
|
|
|
android:screenOrientation="user">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.VIEW"/>
|
|
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
2008-10-18 09:23:24 -07:00
|
|
|
</application>
|
|
|
|
<uses-permission android:name="android.permission.CAMERA"/>
|
|
|
|
<uses-permission android:name="android.permission.READ_CONTACTS"/>
|
|
|
|
<uses-permission android:name="android.permission.WRITE_CONTACTS"/>
|
|
|
|
<uses-permission android:name="android.permission.INTERNET"/>
|
2008-12-05 08:09:36 -08:00
|
|
|
<uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"/>
|
2008-12-11 09:09:12 -08:00
|
|
|
<uses-permission android:name="android.permission.VIBRATE"/>
|
2010-03-05 14:41:02 -08:00
|
|
|
<uses-permission android:name="android.permission.FLASHLIGHT"/>
|
2010-04-28 12:52:17 -07:00
|
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
2010-06-14 20:49:49 -07:00
|
|
|
|
|
|
|
<!-- Wifi related -->
|
2010-07-07 22:12:51 -07:00
|
|
|
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
|
|
|
|
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
2010-06-14 20:49:49 -07:00
|
|
|
|
2008-08-19 12:14:09 -07:00
|
|
|
</manifest>
|