How can i delete image file in SD cardafter email sent?
I want to delete image file in SD card a开发者_JAVA百科fter sending email...anybody knows,please give sample code for me...
Thanks All
Where is the file? What sort of file? What have you tried? What didn't work?
Have you checked out the Android Data Storage Documentation? It's all in there.
deleteFile()
Or perhaps
context.getFileStringPath("your_filename.txt").delete();
This is not possible if you want to wait for the e-mail to be sent. The e-mail activity is not giving you back any clue on when the e-mail is sent or even if the e-mail was sent
精彩评论