title: How to make a "do not ask me again" dialog pop-up box? Android
body: <p>I am trying to create a "hint" dialog box that informs the user about enabling GPS on their phone will decrease battery life. I want it to pop-up but have a check box that says: "Do not ask me again". </p>
  
  <p>How do I go about creating this in Android?</p>
  
  <p>Thank you,</p>
  
  <p>Zukky.</p>
  
  <pre><code>AlertDialog.Builder prompt = new AlertDialog.Builder(this); 
  prompt.setCancelable(false); 
  prompt.setTitle("Warning"); 
  prompt.setMessage ("HINT: Otherwise, it will use network to find" + 
                     "your location. It's inaccurate but saves on " + 
                     "battery! Switch GPS on for better accuracy " + 
                     "but remember it uses more battery!");
  </code></pre>