I used url.openConnection() to get text from a webpage but i got time delay in execution while i tried it in loops i also tried httpUrl.disconnect(). but the change is not that much... can anyone give me a better option for this i used the following code for thisI used url.openConnection() to get text from a