摘要:        
在媒体文件改变后 发出Intent.ACTION_MEDIA_SCANNER_SCAN_FILE广播,告知其他应用,媒体文件发生改变。具体代码片段: 1 File oldFile = new File(oldPath); 2 File newFile = new File(newPath); 3 if (oldFile.exists() && !newFile.exists()) { 4 if (oldFile.renameTo(newFile)) { 5 6 Uri fileUri = Uri.fromFile(newFile); 7 ...    阅读全文
        
            posted @ 2013-09-25 12:25
轻松
阅读(1880)
评论(0)
推荐(0)
        
        
 
                    
                     
                    
                 
                    
                 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号