title: Android. Get string resource for a non-activity class
body: <p>I have a String resource:</p>
  
  <pre><code>strings.xml
  &lt;resources&gt;
      &lt;string name="myString"&gt;stringName&lt;/string&gt;
  &lt;/resources&gt;
  </code></pre>
  
  <p>How do I get the String from a non-activity-class?</p>
  
  <p>I can't do <code>getResources().getString(R.string.myString)</code></p>