I have a class (CFunctions.java) that supplies my app with config info taken from strings.xml. Until now, I have taken the splash page's Context as a basis for finding string resources. However, I'm now implementing GCM to launch directly from a notification to a screen that's normally 2 or 3 activities deep in the stack. As such, there is no splash page context to hijack, and I need a way to read strings.xml without context. I fear I might need to copy the file out of the package and read it back in as an inputstream, substringing what I need. Please tell me that there's a better way to get string values without a Context.
An SO user says I should use Resources.getSystem().getS
but this is also breaking (I believe that Resources invisibly requires a Context).
I've also tried this
, and no dice.