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 | 9334501 | 2010-10-26 13:02:04 -0500 | [diff] [blame] | 29 | <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/> |
Jeff Hamilton | 7949534 | 2010-10-18 13:13:10 -0500 | [diff] [blame] | 30 | |
Jeff Hamilton | de2ed0c | 2010-10-21 15:49:35 -0500 | [diff] [blame] | 31 | <uses-feature android:name="android.hardware.nfc" required="true" /> |
| 32 | |
Jeff Hamilton | 0215c98 | 2010-10-18 17:27:21 -0500 | [diff] [blame] | 33 | <application |
| 34 | android:icon="@drawable/ic_launcher_nfc" |
| 35 | android:label="@string/app_name" |
| 36 | > |
Jeff Hamilton | 7949534 | 2010-10-18 13:13:10 -0500 | [diff] [blame] | 37 | <activity android:name="TagBrowserActivity" |
Jeff Hamilton | 7949534 | 2010-10-18 13:13:10 -0500 | [diff] [blame] | 38 | 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 parks | 40d9a0c | 2010-10-26 14:42:45 -0500 | [diff] [blame] | 50 | android:launchMode="singleTop" |
Jeff Hamilton | 7949534 | 2010-10-18 13:13:10 -0500 | [diff] [blame] | 51 | > |
| 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 Hamilton | 0215c98 | 2010-10-18 17:27:21 -0500 | [diff] [blame] | 56 | |
| 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 Hamilton | 7949534 | 2010-10-18 13:13:10 -0500 | [diff] [blame] | 62 | </activity> |
| 63 | |
Ben Komalo | 4997888 | 2010-10-27 14:46:25 -0700 | [diff] [blame^] | 64 | <activity android:name="MyTagActivity" android:label="@string/tab_my_tag"> |
| 65 | <intent-filter> |
| 66 | <action android:name="android.intent.action.SEND"/> |
| 67 | <category android:name="android.intent.category.DEFAULT"/> |
| 68 | <data android:mimeType="text/plain" /> |
| 69 | </intent-filter> |
| 70 | </activity> |
Ben Komalo | d47bc64 | 2010-10-18 22:15:27 -0700 | [diff] [blame] | 71 | |
Jeff Hamilton | 7949534 | 2010-10-18 13:13:10 -0500 | [diff] [blame] | 72 | <service android:name="TagService" /> |
| 73 | |
Jeff Hamilton | 15ee1b9 | 2010-10-18 15:00:30 -0500 | [diff] [blame] | 74 | <provider android:name=".provider.TagProvider" |
| 75 | android:authorities="com.android.apps.tag" |
| 76 | android:syncable="false" |
| 77 | android:multiprocess="false" |
Jeff Hamilton | 15ee1b9 | 2010-10-18 15:00:30 -0500 | [diff] [blame] | 78 | /> |
| 79 | |
Jeff Hamilton | 7949534 | 2010-10-18 13:13:10 -0500 | [diff] [blame] | 80 | </application> |
| 81 | </manifest> |