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.
|
|
|
|
-->
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
2008-10-18 12:27:43 -07:00
|
|
|
package="com.google.zxing.client.android"
|
2014-01-29 06:10:23 -08:00
|
|
|
android:versionName="4.6.0"
|
2013-12-02 10:23:20 -08:00
|
|
|
android:versionCode="95"
|
2010-06-29 14:11:27 -07:00
|
|
|
android:installLocation="auto">
|
2011-12-17 17:07:14 -08:00
|
|
|
|
|
|
|
<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"/>
|
2011-12-20 08:56:51 -08:00
|
|
|
<uses-permission android:name="android.permission.READ_CONTACTS"/>
|
|
|
|
<uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"/>
|
|
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
|
|
|
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
|
2011-12-17 17:07:14 -08:00
|
|
|
|
2013-10-31 20:27:28 -07:00
|
|
|
<uses-sdk android:minSdkVersion="15" android:targetSdkVersion="19"/>
|
2011-12-17 17:07:14 -08:00
|
|
|
|
2012-09-09 08:46:33 -07:00
|
|
|
<!-- Don't require camera, as this requires a rear camera. This allows it to work on the Nexus 7 -->
|
|
|
|
<uses-feature android:name="android.hardware.camera" android:required="false"/>
|
|
|
|
<uses-feature android:name="android.hardware.camera.front" android:required="false"/>
|
2012-11-07 09:41:49 -08:00
|
|
|
<!-- TODO replace above two with next line after Android 4.2 -->
|
|
|
|
<!-- <uses-feature android:name="android.hardware.camera.any"/> -->
|
2011-12-17 17:07:14 -08:00
|
|
|
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
|
2012-01-01 13:49:44 -08:00
|
|
|
<uses-feature android:name="android.hardware.camera.flash" android:required="false"/>
|
|
|
|
<uses-feature android:name="android.hardware.screen.landscape"/>
|
2011-12-17 17:07:14 -08:00
|
|
|
<uses-feature android:name="android.hardware.wifi" android:required="false"/>
|
2012-11-07 09:41:49 -08:00
|
|
|
<!-- This excludes Google TV, which is unfortunately included by virtue of not requiring a camera -->
|
|
|
|
<uses-feature android:name="android.hardware.touchscreen"/>
|
|
|
|
<!-- TODO make this not required again after android.hardware.camera.any is available -->
|
2011-12-17 17:07:14 -08:00
|
|
|
|
2011-06-01 13:27:03 -07:00
|
|
|
<supports-screens android:xlargeScreens="true"
|
|
|
|
android:largeScreens="true"
|
2010-01-04 12:38:41 -08:00
|
|
|
android:normalScreens="true"
|
|
|
|
android:smallScreens="true"
|
|
|
|
android:anyDensity="true"/>
|
2011-12-17 17:07:14 -08:00
|
|
|
|
2008-11-07 07:07:54 -08:00
|
|
|
<application android:icon="@drawable/launcher_icon"
|
2013-01-15 05:17:58 -08:00
|
|
|
android:logo="@drawable/launcher_icon"
|
|
|
|
android:label="@string/app_name"
|
|
|
|
android:allowBackup="true">
|
2008-11-10 12:50:34 -08:00
|
|
|
<activity android:name=".CaptureActivity"
|
2008-08-19 12:14:09 -07:00
|
|
|
android:screenOrientation="landscape"
|
2011-09-27 22:26:29 -07:00
|
|
|
android:clearTaskOnLaunch="true"
|
|
|
|
android:stateNotNeeded="true"
|
2008-10-18 09:23:24 -07:00
|
|
|
android:configChanges="orientation|keyboardHidden"
|
2013-05-14 04:27:30 -07:00
|
|
|
android:theme="@style/CaptureTheme"
|
2010-09-20 00:04:32 -07:00
|
|
|
android:windowSoftInputMode="stateAlwaysHidden">
|
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>
|
2011-12-17 02:43:57 -08:00
|
|
|
<!-- Support zxing://scan/?... like iPhone app -->
|
|
|
|
<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="zxing" android:host="scan" android:path="/"/>
|
|
|
|
</intent-filter>
|
2008-08-19 12:14:09 -07:00
|
|
|
</activity>
|
2009-09-28 09:07:20 -07:00
|
|
|
<activity android:name=".PreferencesActivity"
|
2011-09-27 22:26:29 -07:00
|
|
|
android:label="@string/preferences_name"
|
2014-01-01 05:56:34 -08:00
|
|
|
android:stateNotNeeded="true"/>
|
2011-09-27 22:26:29 -07:00
|
|
|
<activity android:name=".encode.EncodeActivity"
|
|
|
|
android:stateNotNeeded="true">
|
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>
|
2011-04-12 13:35:34 -07:00
|
|
|
<!-- 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>
|
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"
|
2011-09-27 22:26:29 -07:00
|
|
|
android:stateNotNeeded="true"
|
2008-10-18 09:23:24 -07:00
|
|
|
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>
|
2009-09-28 09:07:20 -07:00
|
|
|
<activity android:name=".share.ShareActivity"
|
2011-09-27 22:26:29 -07:00
|
|
|
android:stateNotNeeded="true"
|
2013-05-14 04:27:30 -07:00
|
|
|
android:screenOrientation="user">
|
2008-11-10 12:35:33 -08:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="com.google.zxing.client.android.SHARE"/>
|
|
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
2012-01-09 12:12:59 -08:00
|
|
|
<activity android:name=".history.HistoryActivity"
|
|
|
|
android:label="@string/history_title"
|
2014-01-01 05:56:34 -08:00
|
|
|
android:stateNotNeeded="true"/>
|
2009-09-28 09:07:20 -07:00
|
|
|
<activity android:name=".share.BookmarkPickerActivity"
|
2011-09-27 22:26:29 -07:00
|
|
|
android:label="@string/bookmark_picker_name"
|
2014-01-01 05:56:34 -08:00
|
|
|
android:stateNotNeeded="true"/>
|
2009-11-17 03:54:15 -08:00
|
|
|
<activity android:name=".share.AppPickerActivity"
|
2010-10-26 02:34:16 -07:00
|
|
|
android:label="@string/app_picker_name"
|
2014-01-01 05:56:34 -08:00
|
|
|
android:stateNotNeeded="true"/>
|
2009-09-28 09:07:20 -07:00
|
|
|
<activity android:name=".HelpActivity"
|
2014-01-01 05:56:34 -08:00
|
|
|
android:label="@string/menu_help"
|
2014-01-01 06:20:49 -08:00
|
|
|
android:screenOrientation="user"
|
|
|
|
android:stateNotNeeded="true"/>
|
2008-10-18 09:23:24 -07:00
|
|
|
</application>
|
2011-12-17 17:07:14 -08:00
|
|
|
|
2008-08-19 12:14:09 -07:00
|
|
|
</manifest>
|