consolidate getResource(AsStream) in GeomBase, which will be Application on Android