Skip to content

Instantly share code, notes, and snippets.


Reker imReker

View GitHub Profile
imReker /
Last active Sep 12, 2017
[Android] Quick Copy/Extract files in assets to storage with java.nio
Change the file extension of the files in assets that your want to copy to 'jpg'.
If you don't want change the extension, you can add
aaptOptions {
noCompress 'pdf' //Change to the extension of your assets files
to build.gradle.
AssetFileDescriptor fd = null;
FileChannel outChannel = null;