版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_29654885/article/details/80436847
感谢https://blog.csdn.net/saharis/article/details/38818519 帖子
写文件后必须要调用
MediaScannerConnection.scanFile(this, new String[] { file.getAbsolutePath() }, null, null);
如不调用重启手机也可以的 但产品经理肯定说不行的