title: Difference between Activity Context and Application Context
body: <p>This has me stumped, I was using this in Android 2.1-r8 SDK:</p>
  
  <pre><code>ProgressDialog.show(getApplicationContext(), ....);
  </code></pre>
  
  <p>and also in </p>
  
  <pre><code>Toast t = Toast.makeText(getApplicationContext(),....);
  </code></pre>
  
  <p>using <code>getApplicationContext()</code> crashes both <code>ProgressDialog</code> and <code>Toast</code> .... which lead me to this question:</p>
  
  <p>What is the actual differences between a activity context and application context, despite sharing the wording 'Context'?</p>