1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-27 21:24:47 +01:00

Be much more greedy when promoting the supported file types

File association on Android is broken by design resulting in two options:
1) associate almost everything
2) associate only some extensions which does not work most of the time

Lets choose #1
This commit is contained in:
Martin Tůma 2023-02-07 23:09:10 +01:00
parent 7bb2c3a09d
commit 3b798e627b

View File

@ -14,38 +14,12 @@
<action android:name="android.intent.action.VIEW"/> <action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/> <category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/> <category android:name="android.intent.category.BROWSABLE"/>
<!-- data files --> <data android:scheme="content" android:mimeType="application/*"/>
<data android:scheme="content" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.gpx"/> <data android:scheme="content" android:mimeType="text/plain"/>
<data android:scheme="content" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.kml"/> <data android:scheme="content" android:mimeType="text/xml"/>
<data android:scheme="content" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.kmz"/> <data android:scheme="content" android:mimeType="text/csv"/>
<data android:scheme="content" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.nmea"/> <data android:scheme="content" android:mimeType="image/jpeg"/>
<data android:scheme="content" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.fit"/> <data android:scheme="content" android:mimeType="image/tiff"/>
<data android:scheme="content" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.tcx"/>
<data android:scheme="content" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.gpi"/>
<data android:scheme="content" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.igc"/>
<data android:scheme="content" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.plt"/>
<data android:scheme="content" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.rte"/>
<data android:scheme="content" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.wpt"/>
<data android:scheme="content" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.trk"/>
<data android:scheme="content" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.ov2"/>
<data android:scheme="content" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.itn"/>
<data android:scheme="content" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.slf"/>
<data android:scheme="content" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.sml"/>
<data android:scheme="content" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.cup"/>
<data android:scheme="content" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.loc"/>
<data android:scheme="content" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.geojson"/>
<data android:scheme="content" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.omd"/>
<data android:scheme="content" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.ghp"/>
<!-- maps -->
<data android:scheme="content" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.map"/>
<data android:scheme="content" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.img"/>
<data android:scheme="content" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.jnx"/>
<data android:scheme="content" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.kap"/>
<data android:scheme="content" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.000"/>
<data android:scheme="content" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.rmap"/>
<data android:scheme="content" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.aqm"/>
<data android:scheme="content" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.gemf"/>
<data android:scheme="content" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.xml"/>
</intent-filter> </intent-filter>
<meta-data android:name="android.app.lib_name" android:value="-- %%INSERT_APP_LIB_NAME%% --"/> <meta-data android:name="android.app.lib_name" android:value="-- %%INSERT_APP_LIB_NAME%% --"/>