i'm having the following problem in android:
I need to process some asynchronous tasks in row (e.g. Async-Task 1 -> Async-Task 2 -> Asyc-Task 3)
. All of the async-tasks are answering with a handler (sendMessage(xy))
.
So my handlers have to start the next async-task. Is this best practice? Should I prefer another way?
In Summary: I'm looking for a way, to process many asynchronous tasks serially...
I can't use the get()-function of an asyncThread, because they are returning their answers only in handlers.
Sorry for my bad english..