Android systems files ,<resource> and <assets> in particular
I am trying to write a code that lets me programmatically switch a file from one of my resource开发者_运维知识库s folders to my assets folder. I have tried the usual file.renameTo
method that has worked so very well for me in the past....but with android it seems to do nothing...
The assets and res folders are part of the structure of the .apk file. This isn't something that can be changed by the application on the phone. You can create a folder structure in the phone's file system, but that will need to be accessed from your app by the file access api, not as assets or resource identifiers.
精彩评论