Thursday, October 4, 2012

Where to keep Android application files

If you need to store configuration data, some resources, etc. in Android SDK, you should use assets folder for so. To access anything from it use AssetManager:


Activity.getAssets().open("resource.bmp");

Also, take a note that assets are read-only.

No comments:

Post a Comment