如何将图标添加到内部存储文件夹,如Whatsapp或Snapchat(Android)

如何将图标添加到内部存储文件夹,如Whatsapp或Snapchat(Android),android,kotlin,download,android-internal-storage,Android,Kotlin,Download,Android Internal Storage,我下载文件并将其保存在内部存储器中的代码是: val downloadManager = context!!.getSystemService(Context.DOWNLOAD_SERVICE) as DownloadManager val request = DownloadManager.Request(uri) request.setTitle(filename) request.setDestinationInExternalPublicDir(FOLDER_NAME, File.sep

我下载文件并将其保存在内部存储器中的代码是:

val downloadManager = context!!.getSystemService(Context.DOWNLOAD_SERVICE) as DownloadManager
val request = DownloadManager.Request(uri)
request.setTitle(filename)
request.setDestinationInExternalPublicDir(FOLDER_NAME, File.separator + filename)
...
它工作正常,文件保存在正确的文件夹中,但我想将我的应用程序图标添加到该文件夹中,如Whatsapp或Snapchat所做的:


有人知道怎么做吗?是否可以向.setDestinationNexternalPublicDir()添加任何内容

这是不可能的。它已被您的文件管理器识别。像solid explorer这样的文件管理器在其资产中有一个数据库,其中有著名应用程序的条目及其各自的图标。早些时候我也在想。但不幸的是,这不是默认功能

谢谢你的回答:)