Android Question App/DataFile Association mail file attached

imbault

Well-Known Member
Licensed User
Hi,
I just want to open an attached XML with my app.
With gmail mail client it's ok:

upload_2015-6-12_10-36-53.png

But with the default Android email client, my Smile App does not appear:

upload_2015-6-12_10-37-58.png



Here is the manifest intent filter :
B4X:
AddActivityText(importxml,
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="application/xml" />
<data android:mimeType="text/xml" />
<data android:mimeType="text/html" />
<data android:mimeType="text/*" />
</intent-filter>)
Any idea ?
 

Attachments

imbault

Well-Known Member
Licensed User
Thx @Erel , it's :
application/xhtml+xml
without the log, unable to image that mime type...

But how to get the intent file name and path from inside my App ?
 
Last edited:
Top