android gmail opening app attachment URI issue with new Gmail app version -
I have the following intent filters in the manifest. This code is working with Android 4.2.2 to work fine on a Nexus 7. Used until Google had updated its Gmail app 2 days ago. My app is no longer shown in the proposed list of apps that can open this type of attachment. If I uninstall updates, then it works back ... as any idea what can I do to make it work again?
& lt; Intent-filter & gt; & Lt; Action Android: name = "android.intent.action.VIEW" /> & Lt; Category android: name = "android.intent.category.DEFAULT" /> & Lt; Data Android: Host = "*" Android: Android: Android: Android: "Android: Android: Android: Pathpapton =". *. Grb "Android: scheme =" content "/>
I have looked everywhere for a solution, and unfortunately, this version of Gmail will be a different mime type and plan because the Gmail ur is now in this format: < Pre> content: //gmail-ls/email@example.com/messages/1162/attachments/0.1/BEST/false Obviously a file name or extension here Is not there, so the filter in your options will be more Rationalizing - You can only remove the copy portion of your filter, host = *, scheme = can match all the results for the content, MimeType = application / octet-stream
or alternate form Make your filter even more common: you can match each mime type to the following:
& lt; intent-filter & gt; action categories & lt; data android: mimeType = "App / *" />
Data Android: mimeType = "audio / *" /> gt; & lt; Data Android: mimeType = "image / *" /> & Lt; Data Android: mimeType = "Messages / *" /> & Lt; Data Android: mimeType = "multipart / *" /> & Lt; Data Android: mimeType = "text / *" /> & Lt; Data Android: mimeType = "Video / *" /> & Lt; / Intent-Filter & gt; Note I found android: mimeType = "* / *" also appears to work on the ICS, but I'm not sure this old dykes . If you finish anything about this, please post! It can not work based on some reactions here:
Comments
Post a Comment