<activity\r
android:label="@string/app_name"\r
android:name=".android.rocket.OpenRocketViewer" >\r
+\r
+ <!--\r
+ I don't understand why I need to have two different intent filters. Combining the <data> elements\r
+ into a single field did not result in a working application.\r
+ The first intent-filter (with mimeType wildcard) convinces the file browser to associate the correct launcher\r
+ icon.\r
+ the second intent-filter is actually invoked when a file is selected.\r\r
+ -->\r
<intent-filter >\r
<action android:name="android.intent.action.VIEW" />\r
\r
- <category android:name="android.intent.category.BROWSABLE" />\r
<category android:name="android.intent.category.DEFAULT" />\r
\r
<data\r
android:host="*"\r
+ android:mimeType="*/*"\r
android:pathPattern=".*\\.ork"\r
- android:scheme="content" />\r
+ android:scheme="file" />\r
+ </intent-filter>\r
+ <intent-filter >\r
+ <action android:name="android.intent.action.VIEW" />\r
+\r
+ <category android:name="android.intent.category.DEFAULT" />\r
+\r
<data\r
android:host="*"\r
android:pathPattern=".*\\.ork"\r