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