Which is faster way to access files?
android, android-assets, android-file, android-sdcard
Solution
Based on the performance of the application which one of is the best way
When you are adding files to the assets folder your whole application's size increases, hence you will require more of your device's RAM to execute the application. While the app will react faster it also requires more memory to run.
But when you are storing that file on SD card then you will require less RAM to load the your application. Fetching files from SD card will reduce your performance more than the first option but the difference is little.
Problem
Friends I'm curious about which one is the faster way. - If i access/read the files from Assets folder of the project?!! OR - If i access/read the files from the SDcard??!!! Based on the performance of the application which one of is the better way? Please can anyone explain me with reason? Any help will be appreciated. Thank you.