How to pass information from one class to another
<p>Okay so i have a class called viewList. When the item it long pressed the id is looked up of that item in my SQL database. And starts a new activity. How would i transfer this id that is retrieved on long press, to my new activity so it can intern look up the info.</p>

<pre><code>case R.id.lookup_book:
    AdapterContextMenuInfo web = 
        (AdapterContextMenuInfo)item.getMenuInfo();

            mDbHelper.fetchinfo(web.id);
    Intent v = new Intent(this, bookLookup.class);
    startActivity(v);
</code></pre>

<p>I would like to pass the web.id to this activity</p>

<pre><code>public class bookLookup extends Activity {
WebView webView;
private DbAdapter mDbHelper;
@Override
public void onCreate(Bundle savedInstanceState){
    super.onCreate(savedInstanceState);

    setContentView(R.layout.book_browser);
    webView = (WebView)findViewById(R.id.webkit);



}
</code></pre>

<p>}</p>
