the same points as *res/raw and assets:
1. The files in both directories will be stored intact in the APK package after packaging, and will not be compiled into binary.
Different points of *res/raw and assets:
The files in the 1.res/raw are mapped to the R.java file, and the files under the R.id.filename;assets folder are not mapped to R.java when accessed, and Assetmanager classes are required for access.
2.res/raw can not have a directory structure, and assets can have a directory structure, that is, assets directory can be re-established folder
* Read File resources:
1. Read the file resource under the Res/raw, and get the input stream for write operation in the following way
· InputStream is =getresources (). Openrawresource (R.id.filename);
2. Read the file resource under the assets, and get the input stream for write operation in the following way
· Assetmanager am = null;
· am = Getassets ();
· InputStream is = am.open ("filename");
Note 1:google's Android system processing assert has a bug, in Assertmanager can not process a single more than 1MB of files, or will be reported abnormal, raw no this limit can put a 4MB Mp3 file no problem.
Note that the 2:assets folder is a native file that is not compiled and processed, that is, the files inside the folder are not like XML, Java files are precompiled, and can be stored in some pictures, Html,js, CSS and other files.
Excerpt from: http://www.cnblogs.com/leizhenzi/archive/2011/10/18/2216428.html
Asset folder and Raw folder differences in Android