Is that true that we should prefer AsynchTask instead of pure Thread?  

When do we use service instead if asychtask?

What kind of class would be use to connect to server and read the stream from 
server asynchronously?

Powered by Telkomsel BlackBerry®

-----Original Message-----
From: Kostya Vasilyev <[email protected]>
Sender: [email protected]
Date: Sat, 16 Oct 2010 18:40:38 
To: <[email protected]>
Reply-To: [email protected]
Subject: Re: [android-developers] Asynch Network Library

  You can use Java networking (sockets), or Apache class library (for 
http / https).

Java NIO is supported, but for versions before 2.2, only non-secure: 
SSLEngine (necessary to use SSL with NIO) had a fatal bug, fixed in 2.2.

For background network processing, your best bet is to use a worker 
thread, either with AsyncTask or a Service.

-- Kostya

16.10.2010 18:27, [email protected] пишет:
> Hello everyone
>
> Do you know some asynch network io library for android?
>
>
> Powered by Telkomsel BlackBerry®
>


-- 
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

-- 
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 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

Reply via email to