Loading an Alert Box from a Thread when the activity has gone away
<p>I have a comment activity that loads a Thread and sends some data to a server, the activity is immediately finished once the submit button is pressed.  The user is then free to do other things in my application.</p>

<p>When the server response an AlertDialog is shown.</p>

<p>The problem is that since the initial Context has been destroyed, my application crashes.  I tried getApplicationContext() but still get an exception.</p>
