blob: d12185b497af852435ff0744cd94396076a8807c [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
17<!-- Declare the contents of this Android application. The namespace
18 attribute brings in the Android platform namespace, and the package
19 supplies a unique name for the application. When writing your
20 own application, the package name must be changed from "com.example.*"
21 to come from a domain that you own or have control over. -->
22<manifest xmlns:android="http://schemas.android.com/apk/res/android"
23 package="com.android.apps.tag"
24>
25
26 <uses-permission android:name="android.permission.CALL_PHONE" />
27 <uses-permission android:name="android.permission.NFC" />
Ben Komalo856d92e2010-10-24 11:59:04 -070028 <uses-permission android:name="android.permission.READ_CONTACTS"/>
Jeff Hamilton93345012010-10-26 13:02:04 -050029 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>
Jeff Hamilton79495342010-10-18 13:13:10 -050030
Jeff Hamiltonde2ed0c2010-10-21 15:49:35 -050031 <uses-feature android:name="android.hardware.nfc" required="true" />
32
Jeff Hamilton0215c982010-10-18 17:27:21 -050033 <application
34 android:icon="@drawable/ic_launcher_nfc"
35 android:label="@string/app_name"
36 >
Jeff Hamilton79495342010-10-18 13:13:10 -050037 <activity android:name="TagBrowserActivity"
Jeff Hamilton79495342010-10-18 13:13:10 -050038 android:theme="@android:style/Theme.NoTitleBar"
39 >
40 <intent-filter>
41 <action android:name="android.intent.action.MAIN"/>
42 <category android:name="android.intent.category.LAUNCHER"/>
43 </intent-filter>
44 </activity>
45
46 <activity android:name="TagList" />
47
48 <activity android:name="TagViewer"
49 android:theme="@android:style/Theme.NoTitleBar"
Jason parks40d9a0c2010-10-26 14:42:45 -050050 android:launchMode="singleTop"
Jeff Hamilton79495342010-10-18 13:13:10 -050051 >
52 <intent-filter>
53 <action android:name="android.nfc.action.NDEF_TAG_DISCOVERED"/>
54 <category android:name="android.intent.category.DEFAULT"/>
55 </intent-filter>
Jeff Hamilton0215c982010-10-18 17:27:21 -050056
57 <intent-filter>
58 <action android:name="android.intent.action.VIEW"/>
59 <data android:mimeType="vnd.android.cursor.item/ndef_msg"/>
60 <category android:name="android.intent.category.DEFAULT"/>
61 </intent-filter>
Jeff Hamilton79495342010-10-18 13:13:10 -050062 </activity>
63
Ben Komalod47bc642010-10-18 22:15:27 -070064 <activity android:name="MyTagActivity" />
65
Jeff Hamilton79495342010-10-18 13:13:10 -050066 <service android:name="TagService" />
67
Jeff Hamilton15ee1b92010-10-18 15:00:30 -050068 <provider android:name=".provider.TagProvider"
69 android:authorities="com.android.apps.tag"
70 android:syncable="false"
71 android:multiprocess="false"
Jeff Hamilton15ee1b92010-10-18 15:00:30 -050072 />
73
Jeff Hamilton79495342010-10-18 13:13:10 -050074 </application>
75</manifest>