+
+ <!-- Process content intents for text files. -->
+ <intent-filter>
+ <action android:name="android.intent.action.VIEW" />
+
+ <category android:name="android.intent.category.BROWSABLE" />
+ <category android:name="android.intent.category.DEFAULT" />
+
+ <data android:scheme="content" />
+ <data android:mimeType="text/*" />
+ </intent-filter>
+
+ <!-- Process intents for text strings. Sometimes URLs are presented this way. -->
+ <intent-filter>
+ <action android:name="android.intent.action.SEND" />
+
+ <category android:name="android.intent.category.DEFAULT" />
+
+ <data android:mimeType="text/plain" />
+ </intent-filter>
+
+ <!-- Process intents for MHT archives. -->
+ <intent-filter>
+ <action android:name="android.intent.action.VIEW" />
+
+ <category android:name="android.intent.category.BROWSABLE" />
+ <category android:name="android.intent.category.DEFAULT" />
+
+ <data android:scheme="file" />
+ <data android:scheme="content" />
+
+ <data android:host="*" />
+
+ <!-- In the path pattern syntax, `.*` is a wildcard. Hence, this matches any file path that ends in `.mht`. <https://developer.android.com/guide/topics/manifest/data-element#path> -->
+ <data android:pathPattern=".*.mht" />
+ <data android:mimeType="*/*" />
+ </intent-filter>
+
+ <!-- Process web search intents. -->
+ <intent-filter>
+ <action android:name="android.intent.action.WEB_SEARCH" />
+
+ <category android:name="android.intent.category.BROWSABLE" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>