Application writes file to internal sd card, but Windows doesn't see the file

前端 未结 1 1646
孤城傲影
孤城傲影 2021-01-22 11:19

So, what I\'m trying to do is write data to a file on the sdcard and then have windows read the file.

The issue I\'m seeing is that windows never sees my new files unt

相关标签:
1条回答
  • 2021-01-22 11:46

    Use MediaScannerConnection and scanFile().

    On Honeycomb and higher, Android has switched to MTP and away from USB Mass Storage mode. On the whole, this is a good thing, but it means only indexed files show up.

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