I'm currently building an app that allows you to load files from emails and export created ones using email. The extension is .lq. I am currently using this intent filter however I repeatedly get the error 'This attachment cannot be displayed' in the standard email app when attempting to open something with the extension .lq:
<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"/>
<data android:mimeType="*"/>
<data android:pathPattern=".*\\.lq"/>
<data android:host="*"/>
</intent-filter>
I've tried a number of different solutions however none of them have worked.