diff options
| author | Bananeweizen <bananeweizen@gmx.de> | 2013-07-06 10:27:42 +0200 |
|---|---|---|
| committer | Bananeweizen <bananeweizen@gmx.de> | 2013-07-06 10:27:42 +0200 |
| commit | e640735cb24b4fe153a052d6d976efc7cf3d6c84 (patch) | |
| tree | c96cc1d0f287b16149dca151aca487dad3041596 /main | |
| parent | 2357f43f61b0be5d1ae04803b17e6db3de656e11 (diff) | |
| download | cgeo-e640735cb24b4fe153a052d6d976efc7cf3d6c84.zip cgeo-e640735cb24b4fe153a052d6d976efc7cf3d6c84.tar.gz cgeo-e640735cb24b4fe153a052d6d976efc7cf3d6c84.tar.bz2 | |
refactoring: reformat
Diffstat (limited to 'main')
| -rw-r--r-- | main/AndroidManifest.xml | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/main/AndroidManifest.xml b/main/AndroidManifest.xml index 4cc8211..b30ed20 100644 --- a/main/AndroidManifest.xml +++ b/main/AndroidManifest.xml @@ -140,7 +140,25 @@ android:name=".cgeocaches" android:configChanges="keyboardHidden|orientation|screenSize" android:label="@string/app_name" > - <intent-filter> + + <!-- intent filter for local gpx files --> + <intent-filter> + <action android:name="android.intent.action.VIEW" /> + + <category android:name="android.intent.category.DEFAULT" /> + <category android:name="android.intent.category.BROWSABLE" /> + + <data android:mimeType="*/*" /> + <data android:scheme="file" /> + <data android:host="*" /> + <data android:pathPattern=".*\\.gpx" /> + <!-- path pattern does not match dots correctly: http://stackoverflow.com/q/3400072/44089 --> + <data android:pathPattern=".*\\..*\\.gpx" /> + <data android:pathPattern=".*\\..*\\..*\\.gpx" /> + <data android:pathPattern=".*\\..*\\..*\\..*\\.gpx" /> + <data android:pathPattern=".*\\..*\\..*\\..*\\..*\\.gpx" /> + </intent-filter> + <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> @@ -156,22 +174,6 @@ <data android:pathPattern=".*\\.gpx" /> <data android:pathPattern=".*\\.zip" /> </intent-filter> - -<!-- intent filter for local files --> - <intent-filter> - <action android:name="android.intent.action.VIEW"/> - <category android:name="android.intent.category.DEFAULT"/> - <category android:name="android.intent.category.BROWSABLE"/> - <data android:mimeType="*/*" /> - <data android:scheme="file" /> - <data android:pathPattern=".*\\.gpx" /> - <!-- path pattern does not match dots correctly: http://stackoverflow.com/q/3400072/44089 --> - <data android:pathPattern=".*\\..*\\.gpx" /> - <data android:pathPattern=".*\\..*\\..*\\.gpx" /> - <data android:pathPattern=".*\\..*\\..*\\..*\\.gpx" /> - <data android:pathPattern=".*\\..*\\..*\\..*\\..*\\.gpx" /> - <data android:host="*" /> - </intent-filter> </activity> <activity android:name=".maps.google.GoogleMapActivity" |
