Android 1.5, programmatically copy songs form /sdcard/songs to /sdcard/backup?

You can try this: try { File sd = Environment. GetExternalStorageDirectory(); if (sd.canWrite()) { String sourcePath= "/path/to/source/file. Mp3"; String destinationPath= "/path/to/destination/file.

Mp3"; File source= new File(sd, sourcePath); File destination= new File(sd, destinationPath); if (source.exists()) { FileChannel src = new FileInputStream(source).getChannel(); FileChannel dst = new FileOutputStream(destination).getChannel(); dst. TransferFrom(src, 0, src.size()); src.close(); dst.close(); } } catch (Exception e) {}.

Thanks alot it worked like a charm! (^_^) problem solved! – Farhan Apr 6 at 5:54 @Farhan you're welcome :) – evilone Apr 6 at 5:58.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions