Short answer: you cannot.
Another way to do this is to place your graphics in a resource folder. You can then access the files directly, without your application requiring permission.
You can, for example, do this in your activity:
AssetManager am = this.getApplicationContext().getAssets() InputStream is = am.open(foldername+"/"+filename) Bitmap myNewImage = BitmapFactory.decodeStream(is);
I hope this accomplishes what you had in mind.
UPDATE : It seems like it is really possible, see Aleksandar Stojiljkovic answer .
source share