]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - AndroidManifest.xml
Bump version once more.
[Dictionary.git] / AndroidManifest.xml
index 945d192034d91cbfba72a2411f72a0d6b82fb535..265e30903b42cd1ad58f5ff235a5d8ee085a77a9 100644 (file)
@@ -2,12 +2,12 @@
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     package="com.hughes.android.dictionary"
     android:installLocation="auto"
-    android:versionCode="91"
-    android:versionName="5.3.8" >
+    android:versionCode="102"
+    android:versionName="5.4.7" >
 
     <uses-sdk
         android:minSdkVersion="10"
-        android:targetSdkVersion="25" />
+        android:targetSdkVersion="26" />
 
     <uses-feature
         android:name="android.hardware.touchscreen"
                 <action android:name="android.intent.action.MAIN" />
                 <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
             </intent-filter>
+            <!-- Direct installation of dictionaries -->
+            <!-- When opening from downloads, no proper file name is sent -->
+            <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:scheme="content"
+                      android:host="*"
+                      android:pathPattern=".*"
+                      android:mimeType="application/zip" />
+            </intent-filter>
+            <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:scheme="file"
+                      android:host="*"
+                      android:pathPattern=".*"
+                      android:mimeType="application/zip" />
+            <!-- Handling cases with no mimeType (maybe not necessary?)
+                 works for files not in downloads -->
+            </intent-filter>
+            <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:scheme="content"
+                      android:host="*"
+                      android:pathPattern=".*\\.quickdic\\.v006\\.zip" />
+            </intent-filter>
+            <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:scheme="file"
+                      android:host="*"
+                      android:pathPattern=".*\\.quickdic\\.v006\\.zip" />
+            </intent-filter>
+            <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:scheme="content"
+                      android:host="*"
+                      android:pathPattern=".*\\.quickdic\\.v007\\.zip" />
+            </intent-filter>
+            <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:scheme="file"
+                      android:host="*"
+                      android:pathPattern=".*\\.quickdic\\.v007\\.zip" />
+            </intent-filter>
 
             <!--
                <meta-data android:name="android.app.searchable" android:resource="@xml/searchable"/>
 
                 <category android:name="android.intent.category.DEFAULT" />
             </intent-filter>
+            <!-- Allow direct opening of dictionary files -->
             <intent-filter>
                 <action android:name="android.intent.action.VIEW" />
                 <category android:name="android.intent.category.DEFAULT" />
                       android:host="*"
                       android:mimeType="application/octet-stream"
                       android:pathPattern=".*\\.quickdic" />
+            </intent-filter>
+            <intent-filter>
+                <action android:name="android.intent.action.VIEW" />
+                <category android:name="android.intent.category.DEFAULT" />
                 <data android:scheme="file"
                       android:host="*"
                       android:mimeType="application/octet-stream"
                       android:pathPattern=".*\\.quickdic" />
+            </intent-filter>
+            <intent-filter>
+                <action android:name="android.intent.action.VIEW" />
+                <category android:name="android.intent.category.DEFAULT" />
                 <data android:scheme="content"
                       android:host="*"
                       android:pathPattern=".*\\.quickdic" />
+            </intent-filter>
+            <intent-filter>
+                <action android:name="android.intent.action.VIEW" />
+                <category android:name="android.intent.category.DEFAULT" />
                 <data android:scheme="file"
                       android:host="*"
                       android:pathPattern=".*\\.quickdic" />