The new 0.9 SDK Android client (for real this time).
[zxing.git] / android / AndroidManifest.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright (C) 2008 Google Inc.
4
5  Licensed under the Apache License, Version 2.0 (the "License");
6  you may not use this file except in compliance with the License.
7  You may obtain a copy of the License at
8
9       http://www.apache.org/licenses/LICENSE-2.0
10
11  Unless required by applicable law or agreed to in writing, software
12  distributed under the License is distributed on an "AS IS" BASIS,
13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  See the License for the specific language governing permissions and
15  limitations under the License.
16  -->
17 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
18           package="com.android.barcodes">
19     <application android:icon="@drawable/ic_launcher_barcodes"
20               android:label="@string/app_name">
21     <activity android:name=".BarcodesCaptureActivity"
22               android:screenOrientation="landscape"
23               android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
24         <intent-filter>
25             <action android:name="android.intent.action.MAIN"/>
26             <category android:name="android.intent.category.LAUNCHER"/>
27         </intent-filter>
28         <intent-filter>
29             <action android:name="com.android.barcodes.SCAN"/>
30             <category android:name="android.intent.category.DEFAULT"/>
31         </intent-filter>
32     </activity>
33     <activity android:name="BarcodesPreferenceActivity"
34               android:label="@string/preferences_name">
35     </activity>
36     <activity android:name="BarcodesEncodeActivity"
37               android:screenOrientation="portrait">
38         <intent-filter>
39             <action android:name="com.android.barcodes.ENCODE"/>
40             <category android:name="android.intent.category.DEFAULT"/>
41         </intent-filter>
42     </activity>
43     </application>
44     <uses-permission android:name="android.permission.CAMERA"/>
45     <uses-permission android:name="android.permission.READ_CONTACTS"/>
46     <uses-permission android:name="android.permission.WRITE_CONTACTS"/>
47     <uses-permission android:name="android.permission.INTERNET"/>
48 </manifest>