title: How to pass data from a selected item in a listview to another activity?
body: <p>I have the following code. I have the data in the object <code>o</code>. There are three set of values in <code>o</code> (description, name, image url). I need these data to be initialized to a string and pass it to other activity using intent. How do I get each value in the object. Each list item has a image, item name and item description.</p>
  
  <pre><code>fp_list.setOnItemSelectedListener(new OnItemSelectedListener() {
      @Override
      public void onItemSelected(AdapterView parentView, View v, int position, long id) {
          // TODO Auto-generated method stub
          Toast.makeText(getApplicationContext(), "pos"+position, Toast.LENGTH_LONG).show();
          Object o = parentView.getItemAtPosition(position);
          Intent i = new Intent(FeaturedProductsActivity.this, ShowProduct.class);
      }
  }
  </code></pre>