title: Android Intent issue
body: <p>I want to show the details of a calculation in another activity when click on a button. How to achieve this. my first activity java code is</p>
  
  <pre><code>public void onClick(View v)
      {
      if(v.getId()==R.id.Button07) 
      {
          String a,b;
          Integer vis;
          a = txtbox3.getText().toString();
          b = textview1.getText().toString();
          vis = (Integer.parseInt(a)*Integer.parseInt(b))/100;
          tv.setText(vis.toString());  
                      // tv is a textview where result be shown
  
                      Bundle bu=new Bundle();
          bu.putString("answer",tv.toString());
          Intent intent=new Intent(AdvancedCalculator.this,calculatedData.class);
          intent.putExtras(bu);
          startActivity(intent);
      }
  </code></pre>
  
  <p>On clicking the submit button a new activity should appear with the results in a layout that is already defined.</p>
  
  <p>My second activity class is</p>
  
  <pre><code>Bundle b=getIntent().getExtras();
  String answer=b.getString("answer");
  </code></pre>
  
  <p>when i am trying to run the application the app crashes.</p>
  
  <p>Any help will be appreciated  Thanks</p>