In Android development, the Res/raw and assets folders can be used to store files that do not need to be compiled into binary files, such as font files. These two folders have many similarities, for example, you can copy the objects in the folder to the application.ProgramDirectory, but there are some differences between the two folders. First, the access method is different. The res/raw folder cannot have subfolders, and resources in the folder can be used.Getresources (). openrawresource (R. Raw. ID), and the assets folder can be created by itself, and the items in the folder will not be indexed by the R. Java file, and must be accessed using the assetsmanager class.
In addition, some earlier Android systems have limits on the resource size of RES/raw and assets folders (<1 m, in fact, the underlying Processing Mechanism of files in the Res/raw and assets folders is the same for Android systems). android2.2 seems to have relaxed (or canceled) This restriction (at least 10 MB can be stored, no tests .)