Download java eBook


  • Using HttpUrlConnection on Android requires that you add the Internet permission to your app (in the AndroidManifest.xml).

  • There are also other Java HTTP clients and libraries, such as Square's OkHttp, which are easier to use, and may offer better performance or more features.

Related Examples


195 Contributors: 10
Monday, February 20, 2017
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial:

Download eBook