Hello Android Developers,

I am new to Android Development

I want to rename the file f1 with the file f2. For this i used the
following code but it didn't work there


File f1=new File("myFirstFile");

File f2=new File ("mySecondFile");

boolean renameSuccess=f1.renameTo(f2);

Log.d("Rename Success value :",renameSuccess);
//but it returns the false value Please give me the right way to do
this....


Thanks in Advance....

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to