To download a large file, which is a better approach to use either AsyncTask or Thread?
<p>I've found a sample to download a large data file at the following link,
<a href="http://code.google.com/p/apps-for-android/source/browse/#svn/trunk/Samples/Downloader" rel="nofollow">http://code.google.com/p/apps-for-android/source/browse/#svn/trunk/Samples/Downloader</a></p>

<p>It seems to be pretty nice (I haven't yet tested it). But I also have read some posts at the stackoverflow to do the same thing by using the AsyncTask class, not using the Thread class as the above sample.</p>

<p>What I want to know is, which should I use to achieve downloading a file? And if AsyncTask is better, would you point me to a sample code?</p>
