Exactly. Just clone the original finished AsyncTask and call 'execute' on that clone.
On Feb 7, 11:36 pm, Kevin Duffey <[email protected]> wrote: > What happens when the async task finishes? Whatever created the first > instance of it, or whatever handles the response, should be able to create a > new instance again to get one going. I don't think you can "reuse" an async > task and just start it again, I think you have to keep instantiating new > instances to run them again. > > > > On Mon, Feb 7, 2011 at 6:38 PM, Dimitris <[email protected]> wrote: > > Could you please elaborate more and make an example? > > > As for the Harmony HTTP API, yes it does have automatic retrying but at the > > end it will fail if a network error occurred (UnknownHostException, > > SocketTimeoutException etc...). I would need the user to initiate a retry > > then. > > > Thank you! > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected] > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

