Jeff Hamilton | 7949534 | 2010-10-18 13:13:10 -0500 | [diff] [blame] | 1 | <?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 Komalo | 856d92e | 2010-10-24 11:59:04 -0700 | [diff] [blame^] | 28 | <uses-permission android:name="android.permission.READ_CONTACTS"/> |
Jeff Hamilton | 7949534 | 2010-10-18 13:13:10 -0500 | [diff] [blame] | 29 | |
Jeff Hamilton | de2ed0c | 2010-10-21 15:49:35 -0500 | [diff] [blame] | 30 | <uses-feature android:name="android.hardware.nfc" required="true" /> |
| 31 | |
Jeff Hamilton | 0215c98 | 2010-10-18 17:27:21 -0500 | [diff] [blame] | 32 | <application |
| 33 | android:icon="@drawable/ic_launcher_nfc" |
| 34 | android:label="@string/app_name" |
| 35 | > |
Jeff Hamilton | 7949534 | 2010-10-18 13:13:10 -0500 | [diff] [blame] | 36 | <activity android:name="TagBrowserActivity" |
Jeff Hamilton | 7949534 | 2010-10-18 13:13:10 -0500 | [diff] [blame] | 37 | android:theme="@android:style/Theme.NoTitleBar" |
| 38 | > |
| 39 | <intent-filter> |
| 40 | <action android:name="android.intent.action.MAIN"/> |
| 41 | <category android:name="android.intent.category.LAUNCHER"/> |
| 42 | </intent-filter> |
| 43 | </activity> |
| 44 | |
| 45 | <activity android:name="TagList" /> |
| 46 | |
| 47 | <activity android:name="TagViewer" |
| 48 | android:theme="@android:style/Theme.NoTitleBar" |
| 49 | > |
| 50 | <intent-filter> |
| 51 | <action android:name="android.nfc.action.NDEF_TAG_DISCOVERED"/> |
| 52 | <category android:name="android.intent.category.DEFAULT"/> |
| 53 | </intent-filter> |
Jeff Hamilton | 0215c98 | 2010-10-18 17:27:21 -0500 | [diff] [blame] | 54 | |
| 55 | <intent-filter> |
| 56 | <action android:name="android.intent.action.VIEW"/> |
| 57 | <data android:mimeType="vnd.android.cursor.item/ndef_msg"/> |
| 58 | <category android:name="android.intent.category.DEFAULT"/> |
| 59 | </intent-filter> |
Jeff Hamilton | 7949534 | 2010-10-18 13:13:10 -0500 | [diff] [blame] | 60 | </activity> |
| 61 | |
Ben Komalo | d47bc64 | 2010-10-18 22:15:27 -0700 | [diff] [blame] | 62 | <activity android:name="MyTagActivity" /> |
| 63 | |
Jeff Hamilton | 7949534 | 2010-10-18 13:13:10 -0500 | [diff] [blame] | 64 | <service android:name="TagService" /> |
| 65 | |
Jeff Hamilton | 15ee1b9 | 2010-10-18 15:00:30 -0500 | [diff] [blame] | 66 | <provider android:name=".provider.TagProvider" |
| 67 | android:authorities="com.android.apps.tag" |
| 68 | android:syncable="false" |
| 69 | android:multiprocess="false" |
| 70 | android:exported="false" |
| 71 | /> |
| 72 | |
Jeff Hamilton | 7949534 | 2010-10-18 13:13:10 -0500 | [diff] [blame] | 73 | </application> |
| 74 | </manifest> |