I did added async library at my project and checked already, I don\'t know why code flow doesn\'t go in to asynctask
Code
public void doMysql()
{
Log
I was in the same situation.
AsyncTask.cancel(boolean mayInterruptIfRunning) passing truedoInBackground() of this task was now interruptedBy adding logs statements I realised that the very first asyncTask was still running ... thus preventing another asyncTask to execute. It's doInBackground() method was running an infinite while loop so I simply had to change condition to consider all the possible "break" cases...