I have some 150+ PNG in my application that I need to constantly read.
Do i have to move these files from my assets folder to /data/data/myApp.com/ as I do for opening a database?
OR
isn’t there a way, as in iPhone, to just read from the application bundle?
As if, instead of adding my PNGs to assets I could add them to myApp.com/images and read from there, regardless of whether it’s been installed internally or to the SD card?
Any help is appreciated
regards
~david
Context.getAssets()http://developer.android.com/reference/android/content/Context.html#getAssets() returns anAssetManagerthat allows you to read bundled data.For example
Will read image.png from your assets folder.