title: android how to use string resource in a java class
body: <p>In my java class I want to use a string resource from strings.xml.</p>
  
  <p>for that I have to use like below,</p>
  
  <pre><code>getString(R.string.address)
  </code></pre>
  
  <p>if my class is an activity then its taking. But my class is a simple java class , how can I use there?</p>
  
  <p>Is it possible?
  Thank you</p>