开发者

How to Delete Image From SDCard in Android [duplicate]

This question already has answers here: Android file delete leaves empty placeholder in Gallery (9 answers) Closed 8 years ago.
File file = new File(imagePath); 
boolean deleted = file.delete(); 

using this code image delete on current screen But it not deleted from SDCard. so Please An开发者_开发技巧yone who know Answer please Post it.


file.delete(); Its not delete File or Images.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜