You probably don't want to use a new thread if a task will suffice,
because AsyncTask takes care of many verbose implementation details
for you.

However, I also remember that (as Piren mentioned) tasks should run on
a threadpool starting with Donut.  OP: how are you observing the
differences between serial and parallel?  Maybe you're noticing a
scheduling bias in the output that is consistent across runs?

Kris


On Tue, Jul 16, 2013 at 8:30 AM, lokesh gupta <[email protected]> wrote:
> Doesn't a new Thread solves your purpose?
>
>
> On Tue, Jul 16, 2013 at 3:08 PM, Ashish Sharma <[email protected]>
> wrote:
>>
>> Hi,
>>
>> I  have checked that two Async task nerver run parallely .
>> suppose i started  two two async task parallely then second task run only
>> when first one finish..
>>
>> is there any way to to run async tasks parallely?
>> any other  alternate way?
>>
>> --
>> --
>> 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
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Android Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>
>
>
>
> --
> Thanks & Regards
> Lokesh Gupta
>
> --
> --
> 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
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to