http://androidtutorials.ktsinfotech.com/Network-Programming-Android-Application.aspx


Download Source of Network programming 

Click Here



http://stackoverflow.com/questions/804951/is-it-possible-to-read-from-a-inputstream-with-a-timeout/9832633#9832633