Click here to Skip to main content
15,896,912 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
i need a coding to copy a file from one folder to another folder by browsing the files in the card and to select some needed files then on pressing ok it should copy to other folder that can be a new folder under some names ...
Posted

1 solution

Ok, if I understood correctly you have to :

1. List up the available files in a folder of SD card
2. Allow the user to pick files
3. Allow him to specify a folder (to where these selected files have to be copied)
4. Copy them into that folder

You can find answer to point 1 at
http://stackoverflow.com/questions/4895104/file-browser-in-android[^]

The next two steps involves handling UI events.

The help for last point can derived from the arguments listed at this link
http://stackoverflow.com/questions/5715104/copy-files-from-a-folder-of-sd-card-into-another-folder-of-sd-card[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900