title: I'm trying to understand this code for my android app
body: <p>I am new to java and android development. Can some one help decode what this code is trying to say. I keep looking at it but I keep having the same issue at <code>EXTRA_SHOW_WEBONLY_BUTTON</code>. It is underlined by a red squiggly line. Do I need to create a button in the xml file to fix it or do I have to do something else? If so how do I do it? Thanks  </p>
  
  <pre class="lang-java prettyprint-override"><code>// When in doubt, show the "web only" button
      mShowWebControl = true;
      Bundle extras = getIntent().getExtras();
      if (extras != null) {
          mShowWebControl = extras.getBoolean(RobotSelectionActivity.EXTRA_SHOW_WEBONLY_BUTTON,
                  true);
      }
  </code></pre>