blob: 33a9e8c9646e48d895f46a24736831cacf4e7cf9 [file] [log] [blame]
Jeff Hamilton79495342010-10-18 13:13:10 -05001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2010 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
Jeff Hamilton79495342010-10-18 13:13:10 -050017<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18 package="com.android.apps.tag"
Ben Komalo1a6913e2011-01-18 14:45:37 -080019 android:versionCode="101"
20 android:versionName="1.1"
Jeff Hamilton79495342010-10-18 13:13:10 -050021>
22
23 <uses-permission android:name="android.permission.CALL_PHONE" />
24 <uses-permission android:name="android.permission.NFC" />
Ben Komalo856d92e2010-10-24 11:59:04 -070025 <uses-permission android:name="android.permission.READ_CONTACTS"/>
Jeff Hamilton383e6d12010-10-29 16:21:55 -050026 <uses-permission android:name="android.permission.WAKE_LOCK" />
Jeff Hamilton93345012010-10-26 13:02:04 -050027 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>
Jeff Hamilton79495342010-10-18 13:13:10 -050028
Jeff Hamiltonde2ed0c2010-10-21 15:49:35 -050029 <uses-feature android:name="android.hardware.nfc" required="true" />
30
Jeff Hamilton0215c982010-10-18 17:27:21 -050031 <application
32 android:icon="@drawable/ic_launcher_nfc"
33 android:label="@string/app_name"
34 >
Jeff Hamilton79495342010-10-18 13:13:10 -050035 <activity android:name="TagBrowserActivity"
Jeff Hamilton79495342010-10-18 13:13:10 -050036 android:theme="@android:style/Theme.NoTitleBar"
Ben Komaloaf4f4cb2011-01-20 18:15:37 -080037 android:screenOrientation="portrait"
Jeff Hamiltonca034742011-06-30 17:35:48 -050038 />
Jeff Hamilton79495342010-10-18 13:13:10 -050039
40 <activity android:name="TagList" />
41
Ben Komaloaf4f4cb2011-01-20 18:15:37 -080042 <!-- TODO: lift the portrait restriction by re-working the list in the
43 layout. -->
44 <activity android:name="MyTagList"
45 android:screenOrientation="portrait" />
Ben Komalo8974f892010-12-09 13:37:32 -080046
Jeff Hamilton79495342010-10-18 13:13:10 -050047 <activity android:name="TagViewer"
48 android:theme="@android:style/Theme.NoTitleBar"
Jason parks40d9a0c2010-10-26 14:42:45 -050049 android:launchMode="singleTop"
Jeff Hamiltonca034742011-06-30 17:35:48 -050050 android:priority="-10"
Jeff Hamilton79495342010-10-18 13:13:10 -050051 >
Jeff Hamilton80e02342010-12-03 17:34:31 -060052 <!-- Offer to display anything with NDEF data -->
53 <intent-filter>
54 <action android:name="android.nfc.action.TECH_DISCOVERED"/>
Jeff Hamilton80e02342010-12-03 17:34:31 -060055 </intent-filter>
56
Jeff Hamilton516ca5b2011-01-25 00:42:06 -060057 <meta-data android:name="android.nfc.action.TECH_DISCOVERED"
58 android:resource="@xml/filter_nfc"
59 />
60
Jeff Hamilton0215c982010-10-18 17:27:21 -050061 <intent-filter>
62 <action android:name="android.intent.action.VIEW"/>
63 <data android:mimeType="vnd.android.cursor.item/ndef_msg"/>
64 <category android:name="android.intent.category.DEFAULT"/>
65 </intent-filter>
Jeff Hamilton79495342010-10-18 13:13:10 -050066 </activity>
67
Ben Komalocb41da22011-01-13 18:14:21 -080068 <!-- Make the activity show up as "My tag" when resolving intent -->
Ben Komalo8974f892010-12-09 13:37:32 -080069 <activity android:name="EditTagActivity" android:label="@string/tab_my_tag">
Jeff Hamilton2d537142010-11-18 08:46:39 -060070 <intent-filter>
71 <action android:name="android.intent.action.SEND"/>
72 <category android:name="android.intent.category.DEFAULT"/>
73 <data android:mimeType="text/plain" />
74 <data android:mimeType="text/x-vcard" />
75 </intent-filter>
76 </activity>
77
Ben Komalo8e76ce32010-11-01 10:47:30 -070078 <activity android:name="AboutActivity"
79 android:label=""
80 android:theme="@style/AboutTheme"
81 android:launchMode="singleTop"
82 android:screenOrientation="portrait"
83 />
84
Jeff Hamilton5f8ccf92011-01-23 16:57:33 -060085 <activity android:name="WriteTagActivity"
86 android:launchMode="singleTop"
87 android:screenOrientation="portrait"
88 />
89
Jeff Hamilton79495342010-10-18 13:13:10 -050090 <service android:name="TagService" />
91
Jeff Hamilton15ee1b92010-10-18 15:00:30 -050092 <provider android:name=".provider.TagProvider"
93 android:authorities="com.android.apps.tag"
94 android:syncable="false"
95 android:multiprocess="false"
Jeff Hamilton15ee1b92010-10-18 15:00:30 -050096 />
97
Jeff Hamilton79495342010-10-18 13:13:10 -050098 </application>
99</manifest>