123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- <?xml version="1.0" encoding="utf-8"?>
- <manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.libs.zxing"
- android:installLocation="auto"
- android:versionCode="1"
- android:versionName="1.0" >
- <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" />
- <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" />
- <!-- 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" />
- <uses-feature
- android:name="android.hardware.camera.autofocus"
- android:required="false" />
- <uses-feature
- android:name="android.hardware.camera.flash"
- android:required="false" />
- <uses-feature android:name="android.hardware.screen.landscape" />
- <uses-feature
- android:name="android.hardware.wifi"
- android:required="false" />
- <uses-feature
- android:name="android.hardware.touchscreen"
- android:required="false" />
- <!-- Donut-specific flags which allow us to run on any dpi screens. -->
- <supports-screens
- android:anyDensity="true"
- android:largeScreens="true"
- android:normalScreens="true"
- android:smallScreens="true"
- android:xlargeScreens="true" />
- <uses-sdk
- android:minSdkVersion="9"
- android:targetSdkVersion="17" />
- <application
- android:allowBackup="true"
- android:icon="@drawable/logo"
- android:label="@string/app_name"
- android:theme="@style/AppTheme" >
- <activity
- android:name="com.libs.zxing.CaptureActivity"
- android:clearTaskOnLaunch="true"
- android:configChanges="orientation|keyboardHidden"
- android:screenOrientation="portrait"
- android:stateNotNeeded="true"
- android:theme="@android:style/Theme.NoTitleBar"
- 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:host="zxing.appspot.com"
- android:path="/scan"
- android:scheme="http" />
- </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:host="www.google.com"
- android:path="/m/products/scan"
- android:scheme="http" />
- </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:host="www.google.co.uk"
- android:path="/m/products/scan"
- android:scheme="http" />
- </intent-filter>
- <!-- 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:host="scan"
- android:path="/"
- android:scheme="zxing" />
- </intent-filter>
- </activity>
- <activity android:name="me.yoqi.qrcode.ResultActivity"/>
- </application>
- </manifest>
|