How to copy the contents of the resource folder to the SD card?

Possible duplicate:
Android: how to copy files to "assets" on an SD card?

Is there a way to copy the contents of a resource folder with all directories, subdirectories and files to an SD card?

+3
source share
1 answer

Basically, just use standard java I / O. However, to a large extent, you should know your asset contents ahead of time and the code for them, since the method list()is AssetManagernot too complicated.

+4
source

Source: https://habr.com/ru/post/1791612/


All Articles