In this tutorial we will create a sample application that illustrates how to perform network operations in android. To make this post simplified, we will download the data from the following url and will show the article titles on a ListView. Refer the screenshot for an overview of how application looks.
Android-HttpGet-Apache-HttpClient is hosted in the following web site
https://github.com/javatechig/Android-HttpGet-Apache-HttpClient
If you think the Android project Android-HttpGet-Apache-HttpClient listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of Android-HttpGet-Apache-HttpClient.
Item | Value |
---|---|
Java File Count | 2 |
Activity Count | 1 |
Required Permissions | android.permission.INTERNET |
Android-HttpGet-Apache-HttpClient has the following Java source files.
com.javatechig.httpasynctask.ApplicationTest.java com.javatechig.httpasynctask.MyActivity.java