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.0 beta2"
- android:versionCode="36">
- <!-- We require Donut (Android 1.6) or later. -->
- <uses-sdk android:minSdkVersion="4"/>
- <!-- Donut-specific flags which allow us to run on large and high dpi screens. -->
- <supports-screens
- android:largeScreens="true"
- android:normalScreens="true"
- android:smallScreens="true"
- android:anyDensity="true"/>
+ android:versionName="3.22"
+ android:versionCode="48">
+ <!-- We require Cupcake (Android 1.5) or later, but are really targeting Donut. -->
+ <uses-sdk android:minSdkVersion="3"
+ android:targetSdkVersion="4"/>
+ <!-- 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"/>
<application android:icon="@drawable/launcher_icon"
android:label="@string/app_name">
<activity android:name=".CaptureActivity"
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
+ <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>
<activity android:name=".HelpActivity"
android:screenOrientation="user">
<intent-filter>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"/>
<uses-permission android:name="android.permission.VIBRATE"/>
+ <uses-permission android:name="android.permission.FLASHLIGHT"/>
</manifest>