AndroidManifest.xml 3.52 KB
Newer Older
Jeff Hamilton's avatar
Jeff Hamilton committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
<?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"
19 20
    android:versionCode="101"
    android:versionName="1.1"
Jeff Hamilton's avatar
Jeff Hamilton committed
21 22 23 24
>

    <uses-permission android:name="android.permission.CALL_PHONE" />
    <uses-permission android:name="android.permission.NFC" />
25
    <uses-permission android:name="android.permission.READ_CONTACTS"/>
26
    <uses-permission android:name="android.permission.WAKE_LOCK" />
27
    <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>
Jeff Hamilton's avatar
Jeff Hamilton committed
28

29 30
    <uses-feature android:name="android.hardware.nfc" required="true" />

31 32 33 34
    <application
        android:icon="@drawable/ic_launcher_nfc"
        android:label="@string/app_name"
    >
35
<!--
Jeff Hamilton's avatar
Jeff Hamilton committed
36 37
        <activity android:name="TagBrowserActivity"
            android:theme="@android:style/Theme.NoTitleBar"
Ben Komalo's avatar
Ben Komalo committed
38
            android:screenOrientation="portrait"
39
        />
Jeff Hamilton's avatar
Jeff Hamilton committed
40 41 42

        <activity android:name="TagList" />

Ben Komalo's avatar
Ben Komalo committed
43 44
        <activity android:name="MyTagList"
            android:screenOrientation="portrait" />
45
-->
Jeff Hamilton's avatar
Jeff Hamilton committed
46 47
        <activity android:name="TagViewer"
            android:theme="@android:style/Theme.NoTitleBar"
48
            android:launchMode="singleTop"
49
            android:priority="-10"
Jeff Hamilton's avatar
Jeff Hamilton committed
50
        >
51 52 53 54 55
            <!-- Offer to display anything with NDEF data -->
            <intent-filter>
                <action android:name="android.nfc.action.TECH_DISCOVERED"/>
            </intent-filter>

56 57 58 59
            <meta-data android:name="android.nfc.action.TECH_DISCOVERED"
                android:resource="@xml/filter_nfc"
            />

60 61 62 63 64
            <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>
Jeff Hamilton's avatar
Jeff Hamilton committed
65 66
        </activity>

67
<!--
Ben Komalo's avatar
Ben Komalo committed
68
        <activity android:name="EditTagActivity" android:label="@string/tab_my_tag">
69 70 71 72 73 74 75 76
            <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>

77 78 79 80 81 82 83
        <activity android:name="AboutActivity"
            android:label=""
            android:theme="@style/AboutTheme"
            android:launchMode="singleTop"
            android:screenOrientation="portrait"
        />

Jeff Hamilton's avatar
Jeff Hamilton committed
84 85 86 87
        <activity android:name="WriteTagActivity"
            android:launchMode="singleTop"
            android:screenOrientation="portrait"
        />
88
-->
Jeff Hamilton's avatar
Jeff Hamilton committed
89

Jeff Hamilton's avatar
Jeff Hamilton committed
90 91
        <service android:name="TagService" />

92 93 94 95 96 97
        <provider android:name=".provider.TagProvider"
            android:authorities="com.android.apps.tag"
            android:syncable="false"
            android:multiprocess="false"
        />

Jeff Hamilton's avatar
Jeff Hamilton committed
98 99
    </application>
</manifest>