我现在有一个定期通知,跟踪下载(歌曲)的进度.一旦下载完成后,我想,这样如果用户按下通知它开辟了中,将处理该文件类型的默认应用程序中的歌曲文件,使之.
我试图寻找,但使用.setDataAndType()当我不确定要如何使用的PendingIntent和MIME类型的工作.有人可以解释或提供一些示例代码,以便我如何设置从默认应用程序中的特定文件路径打开文件的意图?
谢谢你,丹尼尔
notifications android android-intent android-notifications
android ×1
android-intent ×1
android-notifications ×1
notifications ×1