Re: [android-developers] problem with asyntask

2011-04-28 Thread TreKing
On Thu, Apr 28, 2011 at 5:42 PM, ABSOLUT wrote: > How could i fix it? Launch both Tasks within a third Task that executes them both, sequentially, using the get() method to block on the first. - Tre

[android-developers] problem with asyntask

2011-04-28 Thread ABSOLUT
Hi I have a function that it consume a long time. Depending the function result there is an if condition that it executes other asyntask. The problem is that it executes the asyntasks consecutive because the first asyntask didnt finished when the code arrives to the if and launch the other asyntask