This isn't really an Android-specific question -- you will probably get good answers just looking for ways in Java to do concurrent HTTP requests.
On Wed, May 4, 2011 at 11:22 AM, Stefan <stefankru...@hotmail.com> wrote: > The problem at this moment with the app is that the retrieval of the > html code from the website takes a lot of time. > When you start the app at this moment, you'ill have to wait 3 minutes > for loading the website. > That's not very user friendly, and I guess that downloading just a > little bit html cannot take such a long time. > > The website is sometimes also a little bit slow, so I thought that the > long download time maybe is caused by the server, which needs time to > react on my request. > And I guess, when there are more requests at the same time to the > sever (for example 10 threads)..... the waiting time will decrease a > lot. > > I'm not if what I said is correct, but it sounds logically for me. > > > On 4 mei, 17:09, TreKing <treking...@gmail.com> wrote: > > On Wed, May 4, 2011 at 9:03 AM, Stefan <stefankru...@hotmail.com> wrote: > > > Only problem is, that the 100 webpages are now downloaded after each > other. > > > Is there a way to download the webpages at the same time? > > > > First question: what is the purpose of doing them all at once? > > > > > --------------------------------------------------------------------------- > ---------------------- > > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > > transit tracking app for Android-powered devices > > -- > 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 > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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