There is something that i don’t understanding here …
I define class
public class SendStringToServer extends AsyncTask<String, Integer, Boolean>
{
.
.
.
}
Now, i implimented the ‘onPostExecute’ method and i calling this background action from the main activity by using
new SendStringToServer().execute("stringToSend");
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 ?
Try like this: