title: Can I use resources to declare a public variable?
body: <p>In android, I want to use a string-array resource to create a <code>public static final String</code> in one of my classes. However, it seems I must call <code>getResources()</code> on a <code>Context</code> and I can't find any context at the class level. Is this possible?</p>
  
  <pre><code>public class DBAdapter {
  
      Resources res = getResources();
      public static final String[] gradeTypes = res.getStringArray(R.array.gradeTypes);
  ...
  </code></pre>