What are you trying to really achieve with that ? secondly, onpostExecute() is the one which actually executed lastly, i mean after doInbackground(), it means that it executes after your firstAsyncTask is finished and i dont see any problem as long your close all the created objects in preExecute before calling the Second AsyncTask.
One of My blog on Android using one Generic ASYNCTask for all the Activities. http://www.androidsnippets.com/asyntask-in-android -- Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Sat, Dec 31, 2011 at 12:55 AM, TurboMan <yusufce...@gmail.com> wrote: > Hi, > > Would that cause any trouble if I initiate second AsyncTask thread right > at the onPostExecute event of first AsyncTask? > > Regards > TM > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en