2

I am using following reference to transfer files from assets folder to sd card How to copy files from 'assets' folder to sdcard? The problem with this approach is that it is transferring the file located at root i.e. assets folder only and onto sdcard folder only. I have tried other options also but i am completely stuck.

My folder structure is

enter image description here

I want to copy the whole default folder and copy it to /sdcard/myapp/themes/default

Community
  • 1
  • 1
Pankaj Khurana
  • 3,243
  • 10
  • 50
  • 79

1 Answers1

1

The best way to accomplish this is to create zip file of the resources for. e.g. themes in this case(under assets) and then unzip it into sdcard. You can refer following url:unzipping files with android

user229044
  • 232,980
  • 40
  • 330
  • 338
Pankaj Khurana
  • 3,243
  • 10
  • 50
  • 79