Android 通过意向过滤器打开我的应用程序的sqlite文件
我试图通过意图过滤器打开一个sqlite文件 在我的舱单上Android 通过意向过滤器打开我的应用程序的sqlite文件,android,sqlite,mime-types,intentfilter,Android,Sqlite,Mime Types,Intentfilter,我试图通过意图过滤器打开一个sqlite文件 在我的舱单上 <activity android:name=".SplashActivity" android:configChanges="orientation" android:icon="@drawable/ico" android:label="@string/app_name" > &
<activity
android:name=".SplashActivity"
android:configChanges="orientation"
android:icon="@drawable/ico"
android:label="@string/app_name"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.EDIT" />
<category android:name="android.intent.category.DEFAULT" />
<data
android:mimeType="*/*"
android:host="*"
android:pathPattern=".*\\.sqlite"
/>
</intent-filter>
</activity>
当我尝试用filemanager打开sqlite文件时,没有显示任何应用程序。
我尝试过改变mimetype,但似乎没有任何效果。
还有谁运气更好吗
谢谢,我住在巴西。对不起,我说的是英语。第二次尝试中的意图过滤器:
<data android:scheme="file" android:host="*"
android:mimeType="*/*"
android:pathPattern=".*\\.fileName" />
对于sqlite扩展,它不起作用。对你有用吗?