title: Why do you have to pass this Context as a parameter in Android development?
body: <p>Its from a lesson on developer.android.com </p>
  
  <pre><code>public void sendMessage(View view) {
      Intent intent = new Intent(this, DisplayMessageActivity.class);
      EditText editText = (EditText) findViewById(R.id.edit_message);
      String message = editText.getText().toString();
      intent.putExtra(EXTRA_MESSAGE, message);
      startActivity(intent);
  }
  </code></pre>
  
  <p>A Context as its first parameter (this is used because the Activity class is a subclass of Context) </p>
  
  <p>=============</p>
  
  <p>Why do you need 'this'?</p>