title: can I secure Android application by using random number generator way?
body: <p>To more secure my App. actually I follow these steps (I wanna to secure my app. without using server check):</p>
  
  <ol>
  <li><p>First of all, I give the user test period, to test app. Then, if the user want to work on it and use it, the  next steps required.</p></li>
  <li><p>I use a complex random generate function to generate a number with six digits.</p></li>
  <li><p>I display this number on screen (as Log In screen) for user.</p></li>
  <li><p>Then, ask user to enter the number, to can access app.</p></li>
  <li><p>After that, compare to see if the user input number as one generated by some equation in the code (I am one who give user this number when he want to install app).</p></li>
  <li><p>If are equal then the user can access the app.</p></li>
  <li><p>Else, exit app. </p></li>
  </ol>
  
  <p><strong>Now</strong>, what I wanna to inquire about please:</p>
  
  <ol>
  <li><p>by this way can I secure my app from install again</p></li>
  <li><p>or can this way broke in anyway by another programs etc.?</p></li>
  <li><p>or if there is another way, useful sites, etc. to achieve that</p></li>
  </ol>
  
  <p>thanks, </p>