Make Tags headless to handle vcards and raw text.
Jeff Hamilton [Thu, 30 Jun 2011 22:35:48 +0000 (17:35 -0500)]
Change-Id: Ie9dbf5e895c2d349fbce0120d4d07daa33610cc6

AndroidManifest.xml

index ecc63e3..33a9e8c 100644 (file)
         <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" />
 
         <activity android:name="TagViewer"
             android:theme="@android:style/Theme.NoTitleBar"
             android:launchMode="singleTop"
+            android:priority="-10"
         >
-            <!-- 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"/>