title: Integer resource not returning the correct value
body: <p>In my <code>integer.xml</code> I have</p>
  
  <pre><code>&lt;integer name="minUNameLen"&gt;6&lt;/integer&gt;
  </code></pre>
  
  <p>And in my code I am :</p>
  
  <pre><code>if (uName.trim().length() &lt; R.integer.minUNameLen) {
                  Toast.makeText(
                          Splash.this.getApplicationContext(),
                          "Should be Min "+R.integer.minUNameLen+" characters long",Toast.LENGTH_LONG).show();
  </code></pre>
  
  <p>But instead of returning <code>6</code> I am getting <code>2131165….</code> a weird number in my code.
  Can anybody tell what’s wrong in here?</p>
  
  <hr>
  
  <p>Doing <code>Resources.getInteger(R.integer.minUNameLen)</code> from <a href="https://stackoverflow.com/questions/16112180/integer-resource-not-what-expected">here</a> gives me <code>Cannot make a static reference to the non-static method getInteger(int) from the type Resources</code></p>