Hi all,
I am developing an application that has to open certain mail attachment (XML format but with a specific extension, for example .aaa). This is working fine, however my app is also showing up in the "Open using" dialog for other documents: .doc, .pdf, ... But it shouldn't. (Gmail app) In my AndroidManifest:
<intent-filter>
<action android:name="com.google.android.apps.drive.DRIVE_OPEN" />
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.EDIT" />
<action android:name="android.intent.action.INSERT" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="*/*"/>
<data android
athPattern=".*aaa" />
</intent-filter>
If I try mimeType text/xml or something like that, the app is no longer showing in the "Open with" dialog. Any help would be greatly appreciated...
Thanks!!
Aerv
I am developing an application that has to open certain mail attachment (XML format but with a specific extension, for example .aaa). This is working fine, however my app is also showing up in the "Open using" dialog for other documents: .doc, .pdf, ... But it shouldn't. (Gmail app) In my AndroidManifest:
<intent-filter>
<action android:name="com.google.android.apps.drive.DRIVE_OPEN" />
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.EDIT" />
<action android:name="android.intent.action.INSERT" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="*/*"/>
<data android
athPattern=".*aaa" /></intent-filter>
If I try mimeType text/xml or something like that, the app is no longer showing in the "Open with" dialog. Any help would be greatly appreciated...
Thanks!!
Aerv