Android使用我的应用打开Gmail附件

时间:2015-02-26 07:28:40

标签: android gmail

如何使用我开发的打印应用程序打开Gmail附件。 我没有得到Gmail附件下载路径的路径。我正在走空路。请分享代码snipets。 提前谢谢

这是我的intenet过滤器代码

 <intent-filter
            android:label="@string/intent_lable_print" >
            <action android:name="android.intent.action.SEND_MULTIPLE" />
            <action android:name="android.intent.action.SEND" />
            <action android:name="android.intent.action.VIEW" />
            <action android:name="com.mypackage.action.PRINT" />
            <category android:name="android.intent.category.DEFAULT" />
            <data android:mimeType="image/jpeg" />
            <data android:mimeType="application/pdf" />
            <data android:mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.document" />
            <data android:mimeType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" />
            <data android:mimeType="application/vnd.openxmlformats-officedocument.presentationml.presentation" />                    
            <data android:mimeType="application/vnd.ms-xpsdocument" />
        </intent-filter>

0 个答案:

没有答案
相关问题