I've borrowed from the Hello Gridview example which calls the sets the ImageAdapter as follows,
However, I require getResources() which only seems to work in an Activity .
1. Is there a way to get getResources() to work in a BaseAdapter class?
2. Or, is there a way to reconfigure my ImageAdapter into an Activity so that I can use launchClass(ImageAdapter.class)?