Import from intent: also match file suffix as fallback.
@@ -75,38 +75,42 @@ limitations under the License.
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
+
<data
android:host="*"
android:mimeType="application/vnd.google-earth.kmz" />
+ <data
+ android:host="*"
+ android:mimeType="*/*"
+ android:pathPattern="*kmz" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
+
<data
android:host="*"
android:mimeType="application/vnd.google-earth.kml+xml" />
- </intent-filter>
-
- <intent-filter>
- <action android:name="android.intent.action.VIEW" />
- <category android:name="android.intent.category.DEFAULT" />
<data
android:host="*"
android:mimeType="*/*"
- android:pathPattern=".*\\.kmz"
- android:scheme="file" />
+ android:pathPattern="*kml" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
+
+ <data
+ android:host="*"
+ android:mimeType="application/gpx+xml" />
<data
android:host="*"
android:mimeType="*/*"
- android:pathPattern=".*\\.kml"
- android:scheme="file" />
+ android:pathPattern="*gpx" />
</intent-filter>
+
</activity>
<activity android:name=".MarkerDetailActivity" />
