| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2010 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| package="com.android.apps.tag" |
| android:versionCode="101" |
| android:versionName="1.1" |
| > |
| |
| <uses-permission android:name="android.permission.CALL_PHONE" /> |
| <uses-permission android:name="android.permission.NFC" /> |
| <uses-permission android:name="android.permission.READ_CONTACTS"/> |
| <uses-permission android:name="android.permission.WAKE_LOCK" /> |
| <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/> |
| |
| <uses-feature android:name="android.hardware.nfc" required="true" /> |
| |
| <application |
| android:icon="@drawable/ic_launcher_nfc" |
| android:label="@string/app_name" |
| > |
| <activity android:name="TagBrowserActivity" |
| android:theme="@android:style/Theme.NoTitleBar" |
| android:screenOrientation="portrait" |
| > |
| <intent-filter> |
| <action android:name="android.intent.action.MAIN"/> |
| <category android:name="android.intent.category.LAUNCHER"/> |
| </intent-filter> |
| </activity> |
| |
| <activity android:name="TagList" /> |
| |
| <!-- TODO: lift the portrait restriction by re-working the list in the |
| layout. --> |
| <activity android:name="MyTagList" |
| android:screenOrientation="portrait" /> |
| |
| <activity android:name="TagViewer" |
| android:theme="@android:style/Theme.NoTitleBar" |
| android:launchMode="singleTop" |
| > |
| <!-- Catch the generic intent so we can display something for unknown tags --> |
| <intent-filter> |
| <action android:name="android.nfc.action.TAG_DISCOVERED"/> |
| <category android:name="android.intent.category.DEFAULT"/> |
| </intent-filter> |
| |
| <!-- Offer to display anything with NDEF data --> |
| <intent-filter> |
| <action android:name="android.nfc.action.TECH_DISCOVERED"/> |
| <data android:scheme="vnd.android.nfc" android:host="tag" android:pathPattern=".*\/6\/.*" /> |
| <category android:name="android.intent.category.DEFAULT"/> |
| </intent-filter> |
| |
| <intent-filter> |
| <action android:name="android.intent.action.VIEW"/> |
| <data android:mimeType="vnd.android.cursor.item/ndef_msg"/> |
| <category android:name="android.intent.category.DEFAULT"/> |
| </intent-filter> |
| </activity> |
| |
| <!-- Make the activity show up as "My tag" when resolving intent --> |
| <activity android:name="EditTagActivity" android:label="@string/tab_my_tag"> |
| <intent-filter> |
| <action android:name="android.intent.action.SEND"/> |
| <category android:name="android.intent.category.DEFAULT"/> |
| <data android:mimeType="text/plain" /> |
| <data android:mimeType="text/x-vcard" /> |
| </intent-filter> |
| </activity> |
| |
| <activity android:name="AboutActivity" |
| android:label="" |
| android:theme="@style/AboutTheme" |
| android:launchMode="singleTop" |
| android:screenOrientation="portrait" |
| /> |
| |
| <activity android:name="WriteTagActivity" |
| android:launchMode="singleTop" |
| android:screenOrientation="portrait" |
| /> |
| |
| <service android:name="TagService" /> |
| |
| <provider android:name=".provider.TagProvider" |
| android:authorities="com.android.apps.tag" |
| android:syncable="false" |
| android:multiprocess="false" |
| /> |
| |
| </application> |
| </manifest> |