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 | |
Jeff Hamilton | 7949534 | 2010-10-18 13:13:10 -0500 | [diff] [blame] | 17 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 | package="com.android.apps.tag" |
Ben Komalo | 1a6913e | 2011-01-18 14:45:37 -0800 | [diff] [blame] | 19 | android:versionCode="101" |
| 20 | android:versionName="1.1" |
Jeff Hamilton | 7949534 | 2010-10-18 13:13:10 -0500 | [diff] [blame] | 21 | > |
| 22 | |
| 23 | <uses-permission android:name="android.permission.CALL_PHONE" /> |
| 24 | <uses-permission android:name="android.permission.NFC" /> |
Ben Komalo | 856d92e | 2010-10-24 11:59:04 -0700 | [diff] [blame] | 25 | <uses-permission android:name="android.permission.READ_CONTACTS"/> |
Jeff Hamilton | 383e6d1 | 2010-10-29 16:21:55 -0500 | [diff] [blame] | 26 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
Jeff Hamilton | 9334501 | 2010-10-26 13:02:04 -0500 | [diff] [blame] | 27 | <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/> |
Jeff Hamilton | 7949534 | 2010-10-18 13:13:10 -0500 | [diff] [blame] | 28 | |
Jeff Hamilton | de2ed0c | 2010-10-21 15:49:35 -0500 | [diff] [blame] | 29 | <uses-feature android:name="android.hardware.nfc" required="true" /> |
| 30 | |
Jeff Hamilton | 0215c98 | 2010-10-18 17:27:21 -0500 | [diff] [blame] | 31 | <application |
| 32 | android:icon="@drawable/ic_launcher_nfc" |
| 33 | android:label="@string/app_name" |
| 34 | > |
Jeff Hamilton | 7949534 | 2010-10-18 13:13:10 -0500 | [diff] [blame] | 35 | <activity android:name="TagViewer" |
Jeff Hamilton | 5939535 | 2011-07-27 17:14:01 -0500 | [diff] [blame] | 36 | android:label="@string/title_scanned_tag" |
Jason parks | 40d9a0c | 2010-10-26 14:42:45 -0500 | [diff] [blame] | 37 | android:launchMode="singleTop" |
Jeff Hamilton | ca03474 | 2011-06-30 17:35:48 -0500 | [diff] [blame] | 38 | android:priority="-10" |
Jeff Hamilton | 7949534 | 2010-10-18 13:13:10 -0500 | [diff] [blame] | 39 | > |
Jeff Hamilton | 80e0234 | 2010-12-03 17:34:31 -0600 | [diff] [blame] | 40 | <!-- Offer to display anything with NDEF data --> |
| 41 | <intent-filter> |
| 42 | <action android:name="android.nfc.action.TECH_DISCOVERED"/> |
Jeff Hamilton | 80e0234 | 2010-12-03 17:34:31 -0600 | [diff] [blame] | 43 | </intent-filter> |
| 44 | |
Jeff Hamilton | 516ca5b | 2011-01-25 00:42:06 -0600 | [diff] [blame] | 45 | <meta-data android:name="android.nfc.action.TECH_DISCOVERED" |
| 46 | android:resource="@xml/filter_nfc" |
| 47 | /> |
| 48 | |
Jeff Hamilton | 0215c98 | 2010-10-18 17:27:21 -0500 | [diff] [blame] | 49 | <intent-filter> |
| 50 | <action android:name="android.intent.action.VIEW"/> |
| 51 | <data android:mimeType="vnd.android.cursor.item/ndef_msg"/> |
| 52 | <category android:name="android.intent.category.DEFAULT"/> |
| 53 | </intent-filter> |
Jeff Hamilton | 7949534 | 2010-10-18 13:13:10 -0500 | [diff] [blame] | 54 | </activity> |
Jeff Hamilton | 7949534 | 2010-10-18 13:13:10 -0500 | [diff] [blame] | 55 | </application> |
| 56 | </manifest> |