Android: save file to downloads that can be viewed later

后端 未结 3 1365
忘了有多久
忘了有多久 2021-01-21 07:59

I have an app that needs to collect a bunch of data while connected to a stream. I need to save this data to a file that I can later pull off my device and analyze using a stan

3条回答
  •  无人共我
    2021-01-21 08:39

    Files are not visible unless you make them explicitly available. See my blog post about the MediaScanner to read more about this.

    It's the developer's job to take care of this and to make sure that all files, the user might want to access, are made available to the MediaScanner.

提交回复
热议问题