<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Get a web page programatically from Android</title>
	<atom:link href="http://www.spartanjava.com/2009/get-a-web-page-programatically-from-android/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.spartanjava.com/2009/get-a-web-page-programatically-from-android/</link>
	<description>Simple yet powerful Java programming</description>
	<lastBuildDate>Wed, 08 Feb 2012 15:58:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: oo</title>
		<link>http://www.spartanjava.com/2009/get-a-web-page-programatically-from-android/comment-page-1/#comment-26696</link>
		<dc:creator>oo</dc:creator>
		<pubDate>Sat, 28 Jan 2012 17:45:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.spartanjava.com/?p=45#comment-26696</guid>
		<description>Depending what You want to achieve, much simpler would be using BasicResponseHandler():
...
String response = client.execute(request, new BasicResponseHandler());

have fun!</description>
		<content:encoded><![CDATA[<p>Depending what You want to achieve, much simpler would be using BasicResponseHandler():<br />
&#8230;<br />
String response = client.execute(request, new BasicResponseHandler());</p>
<p>have fun!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: thanks</title>
		<link>http://www.spartanjava.com/2009/get-a-web-page-programatically-from-android/comment-page-1/#comment-20736</link>
		<dc:creator>thanks</dc:creator>
		<pubDate>Wed, 05 Oct 2011 14:59:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.spartanjava.com/?p=45#comment-20736</guid>
		<description>thanks for the code.</description>
		<content:encoded><![CDATA[<p>thanks for the code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Iago</title>
		<link>http://www.spartanjava.com/2009/get-a-web-page-programatically-from-android/comment-page-1/#comment-17154</link>
		<dc:creator>Iago</dc:creator>
		<pubDate>Sun, 31 Jul 2011 15:53:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.spartanjava.com/?p=45#comment-17154</guid>
		<description>why doesn&#039;t it work??

well, basically you have to add INTERNET permission in the manifest.</description>
		<content:encoded><![CDATA[<p>why doesn&#8217;t it work??</p>
<p>well, basically you have to add INTERNET permission in the manifest.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ricardoz</title>
		<link>http://www.spartanjava.com/2009/get-a-web-page-programatically-from-android/comment-page-1/#comment-16434</link>
		<dc:creator>ricardoz</dc:creator>
		<pubDate>Sun, 17 Jul 2011 17:01:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.spartanjava.com/?p=45#comment-16434</guid>
		<description>@mick
I think you forgot the juicy part :)</description>
		<content:encoded><![CDATA[<p>@mick<br />
I think you forgot the juicy part :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mick</title>
		<link>http://www.spartanjava.com/2009/get-a-web-page-programatically-from-android/comment-page-1/#comment-16428</link>
		<dc:creator>Mick</dc:creator>
		<pubDate>Sun, 17 Jul 2011 15:40:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.spartanjava.com/?p=45#comment-16428</guid>
		<description>@andrea
Try adding the following in your manifest file:

</description>
		<content:encoded><![CDATA[<p>@andrea<br />
Try adding the following in your manifest file:</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AndrEa</title>
		<link>http://www.spartanjava.com/2009/get-a-web-page-programatically-from-android/comment-page-1/#comment-14839</link>
		<dc:creator>AndrEa</dc:creator>
		<pubDate>Wed, 08 Jun 2011 14:13:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.spartanjava.com/?p=45#comment-14839</guid>
		<description>Hi,
the httpClient.execute method generates the following exception:
UnknownHostException: www.spartanjava.com

I set the android.permission.INTERNET to the user, this is surely needed even if not mentioned but it didn&#039;t solve the problem.

I tryed both using my real HW (HTC WildFire) and the AVD (with several configuration).

Any suggestions about how to handle this exception and how to set the android environment ?

Many thk in adv to whoever will spend some time for a reply.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
the httpClient.execute method generates the following exception:<br />
UnknownHostException: <a href="http://www.spartanjava.com" rel="nofollow">http://www.spartanjava.com</a></p>
<p>I set the android.permission.INTERNET to the user, this is surely needed even if not mentioned but it didn&#8217;t solve the problem.</p>
<p>I tryed both using my real HW (HTC WildFire) and the AVD (with several configuration).</p>
<p>Any suggestions about how to handle this exception and how to set the android environment ?</p>
<p>Many thk in adv to whoever will spend some time for a reply.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zorcec</title>
		<link>http://www.spartanjava.com/2009/get-a-web-page-programatically-from-android/comment-page-1/#comment-13273</link>
		<dc:creator>Zorcec</dc:creator>
		<pubDate>Tue, 03 May 2011 10:06:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.spartanjava.com/?p=45#comment-13273</guid>
		<description>Maybe that will help:

import org.apache.http.HttpResponse;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.DefaultHttpClient;
import org.apache.http.protocol.BasicHttpContext;
import org.apache.http.protocol.HttpContext;</description>
		<content:encoded><![CDATA[<p>Maybe that will help:</p>
<p>import org.apache.http.HttpResponse;<br />
import org.apache.http.client.ClientProtocolException;<br />
import org.apache.http.client.HttpClient;<br />
import org.apache.http.client.methods.HttpGet;<br />
import org.apache.http.impl.client.DefaultHttpClient;<br />
import org.apache.http.protocol.BasicHttpContext;<br />
import org.apache.http.protocol.HttpContext;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rizwan</title>
		<link>http://www.spartanjava.com/2009/get-a-web-page-programatically-from-android/comment-page-1/#comment-6032</link>
		<dc:creator>Rizwan</dc:creator>
		<pubDate>Wed, 10 Nov 2010 12:43:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.spartanjava.com/?p=45#comment-6032</guid>
		<description>Regarding the above code, do we need to import some parent object before compiling it. Can you give reference to the jar file for Appache services.</description>
		<content:encoded><![CDATA[<p>Regarding the above code, do we need to import some parent object before compiling it. Can you give reference to the jar file for Appache services.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

