blob: 67225c57374f2f6ad7ee0c7016997e464d6f2c10 [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
Jeff Hamilton79495342010-10-18 13:13:10 -050017<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18 package="com.android.apps.tag"
Ben Komalo1a6913e2011-01-18 14:45:37 -080019 android:versionCode="101"
20 android:versionName="1.1"
Jeff Hamilton79495342010-10-18 13:13:10 -050021>
22
23 <uses-permission android:name="android.permission.CALL_PHONE" />
24 <uses-permission android:name="android.permission.NFC" />
Ben Komalo856d92e2010-10-24 11:59:04 -070025 <uses-permission android:name="android.permission.READ_CONTACTS"/>
Jeff Hamilton383e6d12010-10-29 16:21:55 -050026 <uses-permission android:name="android.permission.WAKE_LOCK" />
Ruchi Kandoi36493ba2018-03-15 15:31:07 -070027 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
Jeff Hamilton79495342010-10-18 13:13:10 -050028
Jeff Hamiltonde2ed0c2010-10-21 15:49:35 -050029 <uses-feature android:name="android.hardware.nfc" required="true" />
30
Jeff Hamilton0215c982010-10-18 17:27:21 -050031 <application
32 android:icon="@drawable/ic_launcher_nfc"
33 android:label="@string/app_name"
34 >
Jeff Hamilton79495342010-10-18 13:13:10 -050035 <activity android:name="TagViewer"
Jeff Hamilton59395352011-07-27 17:14:01 -050036 android:label="@string/title_scanned_tag"
Jason parks40d9a0c2010-10-26 14:42:45 -050037 android:launchMode="singleTop"
Jeff Hamiltonca034742011-06-30 17:35:48 -050038 android:priority="-10"
Jeff Hamilton79495342010-10-18 13:13:10 -050039 >
Jeff Hamilton80e02342010-12-03 17:34:31 -060040 <!-- Offer to display anything with NDEF data -->
41 <intent-filter>
42 <action android:name="android.nfc.action.TECH_DISCOVERED"/>
Jeff Hamilton80e02342010-12-03 17:34:31 -060043 </intent-filter>
44
Jeff Hamilton516ca5b2011-01-25 00:42:06 -060045 <meta-data android:name="android.nfc.action.TECH_DISCOVERED"
46 android:resource="@xml/filter_nfc"
47 />
48
Jeff Hamilton0215c982010-10-18 17:27:21 -050049 <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 Hamilton79495342010-10-18 13:13:10 -050054 </activity>
Ruchi Kandoi36493ba2018-03-15 15:31:07 -070055 <!-- Declare file provider to convert file:/// to content:// for file preview -->
56 <provider
57 android:name="android.support.v4.content.FileProvider"
58 android:authorities="com.android.apps.tag.provider"
59 android:exported="false"
60 android:grantUriPermissions="true">
61 <meta-data
62 android:name="android.support.FILE_PROVIDER_PATHS"
63 android:resource="@xml/provider_paths"/>
64 </provider>
Jeff Hamilton79495342010-10-18 13:13:10 -050065 </application>
66</manifest>