Passing a Int value to another class
<p>I have four groups in a listview each with four url's I want to load in a webView.  When the user select a url to goto I set a value like so;</p>

<pre><code> if (position == 0) webb = webb +2;
 {
       Intent intent = new Intent(this, official.class);
       startActivity(intent);
 }
</code></pre>

<p>I then carryout the intent to move to the webView class  where I have given each url a value like so;</p>

<pre><code>if (webb == 2) mWebView.loadUrl("http://yahoo.com");
if (webb == 3) mWebView.loadUrl("http://www.bbc.co.uk");
</code></pre>

<p>But the screen stays blank, if I state the value inside the official.class it works.</p>

<p>How can I get this value to pass to another class based on the selection the user makes from the listview.  Sorry if this is hard to understand.</p>
