public void delete_file_using_file_path(String filePath)
{
File file = new File(filePath);
boolean deleted = file.delete();
if(deleted == true)
{
Toast.makeText(context, filePath + " deleted sucessfully", Toast.LENGTH_LONG).show();
}
}
由此我可以删除视频文件。
答案 0 :(得分:0)
索引器需要一段时间来更新数据库。它不会立即删除视频。