我想通過我的應用程序從瀏覽器下載文件。我試圖在complete action using
對話框中列出我的應用程序。它顯示其他操作,如查看文件等,但在下載文件的情況下,它不會顯示在對話框中。我該如何在圖像中列出我的應用程序?如何列出我的應用程序以下載文件?
我在活動中使用這些過濾器
<intent-filter> <action android:name="android.intent.action.SEND" /> <action android:name="android.intent.action.VIEW"/> <category android:name="android.intent.category.OPENABLE"/> <category android:name="android.intent.category.BROWSABLE"/> <category android:name="android.intent.category.DEFAULT"/> <data android:mimeType="*/*"/>
查看'intent-filter' –
@Nilesh,如何使用intent-filter來做到這一點? –