title: Android:Send the data to another Activity giving Fatal Exception
body: <p>i have to send a details of the MainActivity.java to the Another Activity and print it there </p>
  
  <p>i have created an onclick event in the mainActivity with some text into that but when i click the button the app is crashing inside the emulator and getting the exception in the logcat</p>
  
  <p>MainActivity.java</p>
  
  <pre><code>Button buy_button = (Button)convertView.findViewById(R.id.buy_global);
              buy_button.setOnClickListener(new View.OnClickListener() {
  
                  @Override
                  public void onClick(View v) {
                  Context context;    
                      Intent intent = new Intent("com.coded.sandeep.Another");
                      intent.putExtra("message", "Hello From MainActivity");
  
                      Bundle extras = new Bundle();
                      extras.putString("status", "Data Received!");
  
                      intent.putExtras(extras);
  
                      context.startActivity(intent);
  
                  }
              });  
  </code></pre>
  
  <p>Another.java</p>
  
  <pre><code>public class Another extends Activity {
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
  
          super.onCreate(savedInstanceState);
          setContentView(R.layout.another);
  
          // 1. get passed intent 
          Intent intent = getIntent();
  
          // 2. get message value from intent
          String message = intent.getStringExtra("message");
  
          // 3. show message on textView 
          ((TextView)findViewById(R.id.tvMessage)).setText(message);
  
  
  
          // 5. get status value from bundle
          String status = bundle.getString("status");
  
          // 6. show status on Toast
          Toast toast = Toast.makeText(this, status, Toast.LENGTH_LONG);
          toast.show();
      }
  }
  </code></pre>
  
  <p>LOGCAT</p>
  
  <pre><code>06-03 05:41:52.249: W/dalvikvm(1644): threadid=1: thread exiting with uncaught exception (group=0xb4a38ba8)
      06-03 05:41:52.379: E/AndroidRuntime(1644): FATAL EXCEPTION: main
      06-03 05:41:52.379: E/AndroidRuntime(1644): Process: com.coded.sandeep, PID: 1644
      06-03 05:41:52.379: E/AndroidRuntime(1644): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=com.coded.sandeep.Another (has extras) }
      06-03 05:41:52.379: E/AndroidRuntime(1644):     at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1632)
      06-03 05:41:52.379: E/AndroidRuntime(1644):     at android.app.Instrumentation.execStartActivity(Instrumentation.java:1424)
      06-03 05:41:52.379: E/AndroidRuntime(1644):     at android.app.Activity.startActivityForResult(Activity.java:3424)
      06-03 05:41:52.379: E/AndroidRuntime(1644):     at android.app.Activity.startActivityForResult(Activity.java:3385)
      06-03 05:41:52.379: E/AndroidRuntime(1644):     at android.app.Activity.startActivity(Activity.java:3627)
      06-03 05:41:52.379: E/AndroidRuntime(1644):     at android.app.Activity.startActivity(Activity.java:3595)
      06-03 05:41:52.379: E/AndroidRuntime(1644):     at com.coded.sandeep.MusicDatabaseActivity$ImageAdapter$3.onClick(MusicDatabaseActivity.java:252)
      06-03 05:41:52.379: E/AndroidRuntime(1644):     at android.view.View.performClick(View.java:4438)
      06-03 05:41:52.379: E/AndroidRuntime(1644):     at android.view.View$PerformClick.run(View.java:18422)
      06-03 05:41:52.379: E/AndroidRuntime(1644):     at android.os.Handler.handleCallback(Handler.java:733)
      06-03 05:41:52.379: E/AndroidRuntime(1644):     at android.os.Handler.dispatchMessage(Handler.java:95)
      06-03 05:41:52.379: E/AndroidRuntime(1644):     at android.os.Looper.loop(Looper.java:136)
      06-03 05:41:52.379: E/AndroidRuntime(1644):     at android.app.ActivityThread.main(ActivityThread.java:5017)
      06-03 05:41:52.379: E/AndroidRuntime(1644):     at java.lang.reflect.Method.invokeNative(Native Method)
      06-03 05:41:52.379: E/AndroidRuntime(1644):     at java.lang.reflect.Method.invoke(Method.java:515)
      06-03 05:41:52.379: E/AndroidRuntime(1644):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
      06-03 05:41:52.379: E/AndroidRuntime(1644):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
      06-03 05:41:52.379: E/AndroidRuntime(1644):     at dalvik.system.NativeStart.main(Native Method)
  </code></pre>
  
  <p>Is there any error in the code should i change any thing</p>