mirror of
https://github.com/zxing/zxing.git
synced 2024-11-10 04:54:04 -08:00
dc5f292c21
git-svn-id: https://zxing.googlecode.com/svn/trunk@1943 59b500cc-1b3d-0410-9834-0bbf25fbcc57
181 lines
9.3 KiB
XML
Executable file
181 lines
9.3 KiB
XML
Executable file
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Copyright (C) 2008 ZXing authors
|
|
|
|
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.
|
|
-->
|
|
|
|
<!-- 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. -->
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="com.google.zxing.client.android"
|
|
android:versionName="3.61 beta 1"
|
|
android:versionCode="71"
|
|
android:installLocation="auto">
|
|
<!-- We require Cupcake (Android 1.5) or later, but are really targeting Donut. -->
|
|
<uses-sdk android:minSdkVersion="3"
|
|
android:targetSdkVersion="4"/>
|
|
<uses-configuration android:reqFiveWayNav="false"
|
|
android:reqHardKeyboard="false"
|
|
android:reqKeyboardType="nokeys"
|
|
android:reqNavigation="nonav"
|
|
android:reqTouchScreen="notouch"/>
|
|
<!-- Donut-specific flags which allow us to run on any dpi screens. -->
|
|
<supports-screens android:xlargeScreens="true"
|
|
android:largeScreens="true"
|
|
android:normalScreens="true"
|
|
android:smallScreens="true"
|
|
android:anyDensity="true"/>
|
|
<uses-feature android:name="android.hardware.camera"/>
|
|
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
|
|
<uses-feature android:name="android.hardware.wifi" android:required="false"/>
|
|
<uses-feature android:name="android.hardware.touchscreen" android:required="false"/>
|
|
<application android:icon="@drawable/launcher_icon"
|
|
android:label="@string/app_name">
|
|
<activity android:name=".CaptureActivity"
|
|
android:screenOrientation="landscape"
|
|
android:clearTaskOnLaunch="true"
|
|
android:stateNotNeeded="true"
|
|
android:configChanges="orientation|keyboardHidden"
|
|
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
|
|
android:windowSoftInputMode="stateAlwaysHidden">
|
|
<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>
|
|
<!-- Allow web apps to launch Barcode Scanner by linking to http://zxing.appspot.com/scan. -->
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW"/>
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
<category android:name="android.intent.category.BROWSABLE"/>
|
|
<data android:scheme="http" android:host="zxing.appspot.com" android:path="/scan"/>
|
|
</intent-filter>
|
|
<!-- We also support a Google Product Search URL. -->
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW"/>
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
<category android:name="android.intent.category.BROWSABLE"/>
|
|
<data android:scheme="http" android:host="www.google.com" android:path="/m/products/scan"/>
|
|
</intent-filter>
|
|
<!-- And the UK version. -->
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW"/>
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
<category android:name="android.intent.category.BROWSABLE"/>
|
|
<data android:scheme="http" android:host="www.google.co.uk" android:path="/m/products/scan"/>
|
|
</intent-filter>
|
|
</activity>
|
|
<activity android:name=".PreferencesActivity"
|
|
android:label="@string/preferences_name"
|
|
android:stateNotNeeded="true">
|
|
</activity>
|
|
<activity android:name=".encode.EncodeActivity"
|
|
android:label="@string/share_name"
|
|
android:stateNotNeeded="true">
|
|
<intent-filter>
|
|
<action android:name="com.google.zxing.client.android.ENCODE"/>
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
</intent-filter>
|
|
<!-- This allows us to handle the Share button in Contacts. -->
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.SEND"/>
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
<data android:mimeType="text/x-vcard"/>
|
|
</intent-filter>
|
|
<!-- This allows us to handle sharing any plain text . -->
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.SEND"/>
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
<data android:mimeType="text/plain"/>
|
|
</intent-filter>
|
|
</activity>
|
|
<activity android:name=".book.SearchBookContentsActivity"
|
|
android:label="@string/sbc_name"
|
|
android:stateNotNeeded="true"
|
|
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>
|
|
<activity android:name=".share.ShareActivity"
|
|
android:label="@string/share_name"
|
|
android:stateNotNeeded="true"
|
|
android:screenOrientation="user"
|
|
android:theme="@android:style/Theme.Light">
|
|
<intent-filter>
|
|
<action android:name="com.google.zxing.client.android.SHARE"/>
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
</intent-filter>
|
|
</activity>
|
|
<activity android:name=".share.BookmarkPickerActivity"
|
|
android:label="@string/bookmark_picker_name"
|
|
android:stateNotNeeded="true">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.PICK"/>
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
</intent-filter>
|
|
</activity>
|
|
<activity android:name=".share.AppPickerActivity"
|
|
android:label="@string/app_picker_name"
|
|
android:stateNotNeeded="true"
|
|
android:configChanges="orientation">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.PICK"/>
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
</intent-filter>
|
|
</activity>
|
|
<activity android:name=".HelpActivity"
|
|
android:screenOrientation="user">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW"/>
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
</intent-filter>
|
|
</activity>
|
|
</application>
|
|
<permission-group android:name="com.google.zxing.client.android.SHARE_PERMISSIONS"
|
|
android:label="@string/permission_share"
|
|
android:description="@string/permission_share_desc"/>
|
|
<permission-group android:name="com.google.zxing.client.android.WIFI_PERMISSIONS"
|
|
android:label="@string/permission_wifi"
|
|
android:description="@string/permission_wifi_desc"/>
|
|
<uses-permission android:name="android.permission.CAMERA"/>
|
|
<uses-permission android:name="android.permission.INTERNET"/>
|
|
<uses-permission android:name="android.permission.VIBRATE"/>
|
|
<uses-permission android:name="android.permission.FLASHLIGHT"/>
|
|
<uses-permission android:name="android.permission.READ_CONTACTS"
|
|
android:permissionGroup="com.google.zxing.client.android.SHARE_PERMISSIONS"/>
|
|
<uses-permission android:name="android.permission.WRITE_CONTACTS"
|
|
android:permissionGroup="com.google.zxing.client.android.SHARE_PERMISSIONS"/>
|
|
<uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"
|
|
android:permissionGroup="com.google.zxing.client.android.SHARE_PERMISSIONS"/>
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
|
|
android:permissionGroup="com.google.zxing.client.android.SHARE_PERMISSIONS"/>
|
|
<uses-permission android:name="android.permission.WRITE_SETTINGS"
|
|
android:permissionGroup="com.google.zxing.client.android.WIFI_PERMISSIONS"/>
|
|
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE"
|
|
android:permissionGroup="com.google.zxing.client.android.WIFI_PERMISSIONS"/>
|
|
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"
|
|
android:permissionGroup="com.google.zxing.client.android.WIFI_PERMISSIONS"/>
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"
|
|
android:permissionGroup="com.google.zxing.client.android.WIFI_PERMISSIONS"/>
|
|
<uses-permission android:name="android.permission.WAKE_LOCK"
|
|
android:permissionGroup="com.google.zxing.client.android.WIFI_PERMISSIONS"/>
|
|
</manifest>
|