Android Question App/DataFile Association mail file attached

Discussion in 'Android Questions' started by imbault, Jun 12, 2015.

  1. imbault

    imbault Well-Known Member Licensed User

    I just want to open an attached XML with my app.
    With gmail mail client it's ok:

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


    Here is the manifest 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/*" />
    Any idea ?

    Attached Files:

  2. Erel

    Erel Administrator Staff Member Licensed User

    Check the unfiltered logs (in usb debug mode) and look for the intent that is being sent when you choose one of the listed applications.
  3. imbault

    imbault Well-Known Member Licensed User

    Thx @Erel , it's :
    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: Jun 12, 2015
  4. imbault

    imbault Well-Known Member Licensed User

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice