I would like to read a drawable image from an external package into a bitmap. For example, in package com.test.images I have an image called image1.png under the drawable-hdpi folder. I would like to read that image into a Bitmap object from another package, for example com.test.reader. Can someone give a solution?
I can use the getResourcesForApplication(packageName) to get access to the resources of the external package, but the resources object I get only has a getDrawable method; I want to get a Bitmap for the image.
Thanks