How to use DefaultHttpClient in Android? [closed]
How to use DefaultHttpClient in Android? I suggest reading the tutorials provided with android-api. Here is some random example which uses DefaultHttpClient, found by simple text-search in examples-folder. EDIT: The sample-source was not intended to show something. It just requested the content of the url and stored it as string. Here is an example which shows what it loaded (as long as it is string-data, like an html-, css- or javascript-file): main.xml <?xml version="1.0" encoding="utf-8"?> <TextView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/textview"