How can i know that the AsyncTask that ran on the background is done ?
<p>There is something that i don't understanding here ... </p>

<p>I define class </p>

<pre><code>public class SendStringToServer extends AsyncTask&lt;String, Integer, Boolean&gt;
{
     .
     .
     .
}
</code></pre>

<p>Now, i implimented the 'onPostExecute' method and i calling this background action from the main activity by using</p>

<pre><code> new SendStringToServer().execute("stringToSend");
</code></pre>

<p>Now, How can i know from the main activity that this action was done ? 
Hiw can i know from the main activity that this string was send already ? </p>
