Hi,
    I have a question.
    If I  have a list which has many url links. I want to download all
url. How should I do? There are two solutions:
   1) use only one thread to download all links. It needs a while
loop. for example,
       int i=0;
       while(i<list.length){
           download(list[i]);
           i++;
       }

   2) create a thread for a link. After the link is downloaded, create
a new thread to next link. Is it good idea?

   Please give me your suggestions. thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to