diff options
author | Arne Schwabe <arne@rfc2549.org> | 2013-02-03 14:27:52 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2013-02-03 14:27:52 +0100 |
commit | 352f91325966d99e2d4ca807f6dbe7ba591c8e21 (patch) | |
tree | ad42c41ee2fafdd841217cc5fb12ea0f21378a7a | |
parent | 24532bd3f9159bcd97e36a7b1af3b31b99d20cce (diff) |
Add fixes for opening files by exentensionv0.5.29
-rw-r--r-- | AndroidManifest.xml | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 07fbde8a..4d0d183f 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -110,14 +110,21 @@ <data android:mimeType="application/ovpn" /> </intent-filter> <intent-filter android:label="@string/import_config" > + <!-- http://stackoverflow.com/questions/7030832/associating-certain-file-extension-to-my-android-application/7102838#7102838 --> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.BROWSABLE" /> <category android:name="android.intent.category.DEFAULT" /> - <data - android:pathPattern=".*\\.ovpn" - android:scheme="content" /> + <data android:mimeType="*/*" /> + <data android:scheme="file" /> + <data android:host="*" /> + <data android:port="*" /> + <data android:pathPattern=".*..*..*..*..*.AAA" /> + <data android:pathPattern=".*..*..*..*.AAA" /> + <data android:pathPattern=".*..*..*.AAA" /> + <data android:pathPattern=".*..*.AAA" /> + <data android:pathPattern=".*.AAA" /> </intent-filter> </activity> <activity |