0

I am developing an Application in which i have to move files from-to two directories.
i know how to read/write in a file but i m not getting the proper way of moving-deleting-copying files from one directory to another.

here is file delete code.

File sdRoot = new File( "/sdcard/" );
sdRoot.delete();


i hope people understand my question and i could get help in this regard.

2
Contributors
1
Reply
2
Views
5 Years
Discussion Span
Last Post by peter_budo
0

Are there any errors from delete action (I presume you have try/catch clause and catch is actually doing something)?
Did you closed any open streams?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.