Start New Discussion within our Mobile Development Community

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/" );

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

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 article has been dead for over six months. Start a new discussion instead.