blob: 0af830968ca0aec65989ca3240534b8b0cdf1543 [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"
Jeff Hamiltoncf63c602010-10-27 13:22:25 -050019 android:versionCode="100"
20 android:versionName="1.0"
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"
37 >
38 <intent-filter>
39 <action android:name="android.intent.action.MAIN"/>
40 <category android:name="android.intent.category.LAUNCHER"/>
41 </intent-filter>
42 </activity>
43
44 <activity android:name="TagList" />
45
46 <activity android:name="TagViewer"
47 android:theme="@android:style/Theme.NoTitleBar"
Jason parks40d9a0c2010-10-26 14:42:45 -050048 android:launchMode="singleTop"
Jeff Hamilton79495342010-10-18 13:13:10 -050049 >
Jeff Hamilton80e02342010-12-03 17:34:31 -060050 <!-- Catch the generic intent so we can display something for unknown tags -->
Jeff Hamilton79495342010-10-18 13:13:10 -050051 <intent-filter>
Jeff Hamiltona29dc1b2010-10-28 17:44:37 -050052 <action android:name="android.nfc.action.TAG_DISCOVERED"/>
Jeff Hamilton79495342010-10-18 13:13:10 -050053 <category android:name="android.intent.category.DEFAULT"/>
54 </intent-filter>
Jeff Hamilton0215c982010-10-18 17:27:21 -050055
Jeff Hamilton80e02342010-12-03 17:34:31 -060056 <!-- Offer to display anything with NDEF data -->
57 <intent-filter>
58 <action android:name="android.nfc.action.TECH_DISCOVERED"/>
59 <data android:scheme="vnd.android.nfc" android:host="tag" android:pathPattern=".*\/6\/.*" />
60 <category android:name="android.intent.category.DEFAULT"/>
61 </intent-filter>
62
Jeff Hamilton0215c982010-10-18 17:27:21 -050063 <intent-filter>
64 <action android:name="android.intent.action.VIEW"/>
65 <data android:mimeType="vnd.android.cursor.item/ndef_msg"/>
66 <category android:name="android.intent.category.DEFAULT"/>
67 </intent-filter>
Jeff Hamilton79495342010-10-18 13:13:10 -050068 </activity>
69
Jeff Hamilton2d537142010-11-18 08:46:39 -060070 <activity android:name="MyTagActivity" android:label="@string/tab_my_tag">
71 <intent-filter>
72 <action android:name="android.intent.action.SEND"/>
73 <category android:name="android.intent.category.DEFAULT"/>
74 <data android:mimeType="text/plain" />
75 <data android:mimeType="text/x-vcard" />
76 </intent-filter>
77 </activity>
78
Ben Komalo8e76ce32010-11-01 10:47:30 -070079 <activity android:name="AboutActivity"
80 android:label=""
81 android:theme="@style/AboutTheme"
82 android:launchMode="singleTop"
83 android:screenOrientation="portrait"
84 />
85
Jeff Hamilton79495342010-10-18 13:13:10 -050086 <service android:name="TagService" />
87
Jeff Hamilton15ee1b92010-10-18 15:00:30 -050088 <provider android:name=".provider.TagProvider"
89 android:authorities="com.android.apps.tag"
90 android:syncable="false"
91 android:multiprocess="false"
Jeff Hamilton15ee1b92010-10-18 15:00:30 -050092 />
93
Jeff Hamilton79495342010-10-18 13:13:10 -050094 </application>
95</manifest>