tag:blogger.com,1999:blog-89878749563391212.post2926229037169423570..comments2024-03-25T17:53:11.127-07:00Comments on Android-er: AsyncTask: perform background operations and publish results on the UI threadUnknownnoreply@blogger.comBlogger3125tag:blogger.com,1999:blog-89878749563391212.post-46225438680211852172010-11-17T12:52:32.894-08:002010-11-17T12:52:32.894-08:00hello Mosh,
also refer onPostExecute() of AsyncTa...hello Mosh,<br /><br />also refer <a href="http://android-er.blogspot.com/2010/11/onpostexecute-of-asynctask.html" rel="nofollow">onPostExecute() of AsyncTask</a>.Erikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-87281043533485092522010-11-17T08:36:01.456-08:002010-11-17T08:36:01.456-08:00hello Mosh,
The method onPostExecute() will be ca...hello Mosh,<br /><br />The method onPostExecute() will be called after return of doInBackground().<br /><br />You can check my doInBackground() method, there is no return, it's a infinite loop. That's why the onPostExecute() method will not be called.Erikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-47563248870141962522010-11-12T13:50:27.885-08:002010-11-12T13:50:27.885-08:00A quick question :
Could you explain the reason b...A quick question :<br /><br />Could you explain the reason behind the comment " //it will never been shown in this exercise..." in onPostExecute()? <br /><br />I am facing exactly the same problem, I do not get any exceptions, but my progress dialogs are never shown on the scree. I am wondering maybe its the same reason which made you write that comment. <br /><br />Thanks!!Moshhttps://www.blogger.com/profile/13157951416010519009noreply@blogger.com