Import translations. DO NOT MERGE
[android/platform/packages/apps/Tag.git] / AndroidManifest.xml
index 6bebe3e..dac0d4f 100644 (file)
      limitations under the License.
 -->
 
-<!-- Declare the contents of this Android application.  The namespace
-     attribute brings in the Android platform namespace, and the package
-     supplies a unique name for the application.  When writing your
-     own application, the package name must be changed from "com.example.*"
-     to come from a domain that you own or have control over. -->
 <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"
-        >
-            <intent-filter>
-                <action android:name="android.intent.action.MAIN"/>
-                <category android:name="android.intent.category.LAUNCHER"/>
-            </intent-filter>
-        </activity>
-
-        <activity android:name="TagList" />
-
         <activity android:name="TagViewer"
-            android:theme="@android:style/Theme.NoTitleBar"
+            android:label="@string/title_scanned_tag"
+            android:launchMode="singleTop"
+            android:priority="-10"
         >
+            <!-- Offer to display anything with NDEF data -->
             <intent-filter>
-                <action android:name="android.nfc.action.NDEF_TAG_DISCOVERED"/>
-                <category android:name="android.intent.category.DEFAULT"/>
+                <action android:name="android.nfc.action.TECH_DISCOVERED"/>
             </intent-filter>
 
+            <meta-data android:name="android.nfc.action.TECH_DISCOVERED"
+                android:resource="@xml/filter_nfc"
+            />
+
             <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>
-
-        <activity android:name="MyTagActivity" />
-
-        <service android:name="TagService" />
-
-        <provider android:name=".provider.TagProvider"
-            android:authorities="com.android.apps.tag"
-            android:syncable="false"
-            android:multiprocess="false"
-            android:exported="false"
-        />
-
     </application>
 </manifest>