I have a SplashActivity in my application which do some stuff using AsyncTask when I start my application.
I have also created another AsyncTask which downloads data from the server. Now after I close my application the AsyncTask is still downloading the data.
But when I again start my application my SplashActivity's AsyncTask does not execute its background (doInBackground function) till my downloader AsyncTask is finished, and my application is hanged.
So my question is it that we cant run two AsyncTask parallel? Both AsyncTask are different and doing their own stuff.
Is there a way to do it.
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…