title: Android SDK help (java)
body: <p>So I'm really not too great at programming, but I am reading and trying to change that, for the time being i need some help.  I have a simple app that will generate 7 random numbers 1-49 and place those 7 numbers in a text box.  I just need help with the for loop that does this, what i have so far is code/pseudo code.</p>
  
  <pre><code>String str = "";
  for (int i = 0; i &lt; 7; i++)
  </code></pre>
  
  <p>generate ... random code 
    array to keep track of random numbers generated so no collisions occur
    method call that goes through the array then keep looping</p>
  
  <pre><code>str += random + "_" ;
  txtTextBox.settext(str);
  </code></pre>