title: Android: How do you access a string-array from strings.xml in a custom class?
body: <p>I'd like to get my string-array without extending Activity in my custom class. Is there a way to do this?  </p>
  
  <p><code>String[] foo_array = getResources().getStringArray(R.array.foo_array);</code> will not work without extending Activity, so I need a work-around.</p>