How to correctly notify MediaScanner about a folder, even on Nexus/Kitkat devices?

后端 未结 1 2002
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-14 17:18

Background

I\'m making an app that downloads some images from the Internet into a specific folder that is defined as:

final String pathToPutFiles = Env         


        
1条回答
  •  深忆病人
    2021-02-14 17:49

    I have banged my head around this problem for a good deal of time by now. As posted on this SO anwser, it seems like it is a bug that occurs on KitKat.

    The issue is being tracked both externally and internally by the Android team.

    In the meantime, this is what I've found out: https://stackoverflow.com/a/23078323/1367571

    0 讨论(0)
提交回复
热议问题