title: How can I generate random number in specific range in Android?
body: <p>I want to generate random number in a specific range. (Ex. Range Between 65 to 80)</p>
  <p>I try as per below code, but it is not very use full. It also returns the value greater then max. value(greater then 80).</p>
  <pre><code>Random r = new Random();
  int i1 = (r.nextInt(80) + 65);
  </code></pre>
  <p>How can I generate random number between a range?</p>