Tuesday, August 28, 2012

Re: [android-developers] AsyncTask - onPostExecute is not called

On Aug 28, 2012, at 10:20 PM, Ana Rita Brito Oliveira <oliveiranarita@gmail.com> wrote:

> I tried.. but with only one ore more URL the method doInBackground works and I can go to the service and got the result but when I try to do the onPostExecute.. that dind't work.

True that, my mistake actually, didn't know Java var_args worked the way you can pass an array to such methods. Anyway, just to make sure, are you sure your loop within doInBackground method exits as expected? Otherwise I can't come up with other reasons for your code didn't reach onPostExecute...

--
H

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment