I have a class that needs to obtain a reference to it's application's AssetManager
. This class does not extend any sort of android UI class, so it doesn't have a getContext()
method, or anything similar. Is there some sort of static Context.getCurrentApplicationContext()
type of method?
To clarify: my class is intended to be used like a library, for other applications. It has no associated AndroidManifest.xml
or control over the context which is calling it.