title: Cannot make a static reference to the non-static method
body: <p>Building a multi-language application in Java. Getting an error when inserting String value from <code>R.string</code> resource XML file:</p>
  
  <pre><code>public static final String TTT =  (String) getText(R.string.TTT);
  </code></pre>
  
  <p>This is the error message:</p>
  
  <blockquote>
    <p>Error: Cannot make a static reference to the non-static method getText(int) from the type 
         Context</p>
  </blockquote>
  
  <p>How is this caused and how can I solve it?</p>