<?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: Android Series: GET, POST and Multipart POST requests</title>
	<atom:link href="http://www.softwarepassion.com/android-series-get-post-and-multipart-post-requests/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.softwarepassion.com/android-series-get-post-and-multipart-post-requests/</link>
	<description>by Krzysztof Grajek</description>
	<lastBuildDate>Wed, 01 Feb 2012 20:00:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: vj</title>
		<link>http://www.softwarepassion.com/android-series-get-post-and-multipart-post-requests/comment-page-2/#comment-2042</link>
		<dc:creator>vj</dc:creator>
		<pubDate>Sat, 19 Nov 2011 10:24:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.softwarepassion.com/?p=389#comment-2042</guid>
		<description>try {
            HttpClient client = new DefaultHttpClient();  
            String getURL = &quot;http:192.168.1.5:8080/one/try.jsp&quot;;
            HttpGet get = new HttpGet(getURL);
            HttpResponse responseGet = client.execute(get);  
            HttpEntity resEntityGet = responseGet.getEntity();  
            if (resEntityGet != null) {  
                        //do something with the response
                        Log.i(&quot;GET RESPONSE&quot;,EntityUtils.toString(resEntityGet));
                        
                    }
    } catch (Exception e) {
    	  TextView tv=new TextView(this);
    	  tv.setText(e.getMessage());
    	  setContentView(tv);
    
    }

it displays host name may not be null
dun know wats wrong its been 3 days i am not able access jsp file on local host 
client.execute() is generating exception</description>
		<content:encoded><![CDATA[<p><!--INFOLINKS_ON-->try {<br />
            HttpClient client = new DefaultHttpClient();<br />
            String getURL = &#8220;http:192.168.1.5:8080/one/try.jsp&#8221;;<br />
            HttpGet get = new HttpGet(getURL);<br />
            HttpResponse responseGet = client.execute(get);<br />
            HttpEntity resEntityGet = responseGet.getEntity();<br />
            if (resEntityGet != null) {<br />
                        //do something with the response<br />
                        Log.i(&#8220;GET RESPONSE&#8221;,EntityUtils.toString(resEntityGet));</p>
<p>                    }<br />
    } catch (Exception e) {<br />
    	  TextView tv=new TextView(this);<br />
    	  tv.setText(e.getMessage());<br />
    	  setContentView(tv);</p>
<p>    }</p>
<p>it displays host name may not be null<br />
dun know wats wrong its been 3 days i am not able access jsp file on local host<br />
client.execute() is generating exception<!--INFOLINKS_OFF--></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.softwarepassion.com/android-series-get-post-and-multipart-post-requests/comment-page-2/#comment-1917</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 04 Nov 2011 13:45:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.softwarepassion.com/?p=389#comment-1917</guid>
		<description>If you are passing params with the url it means you are using GET request, you would have to use POST for multipart requests.</description>
		<content:encoded><![CDATA[<p><!--INFOLINKS_ON-->If you are passing params with the url it means you are using GET request, you would have to use POST for multipart requests.<!--INFOLINKS_OFF--></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bhavna</title>
		<link>http://www.softwarepassion.com/android-series-get-post-and-multipart-post-requests/comment-page-1/#comment-1916</link>
		<dc:creator>bhavna</dc:creator>
		<pubDate>Fri, 04 Nov 2011 12:56:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.softwarepassion.com/?p=389#comment-1916</guid>
		<description>Sir,,
I have a problem in using MultipartEntity. my data is not getting saved in database , ,,,
But if i directly passing my variables in Url its get saved ,, tell me where is the Problem?????                                            
http://xxxxxxxxx/api/index.php?method=postClassified&amp;location=1</description>
		<content:encoded><![CDATA[<p><!--INFOLINKS_ON-->Sir,,<br />
I have a problem in using MultipartEntity. my data is not getting saved in database , ,,,<br />
But if i directly passing my variables in Url its get saved ,, tell me where is the Problem?????<br />
<a href="http://xxxxxxxxx/api/index.php?method=postClassified&#038;location=1" rel="nofollow">http://xxxxxxxxx/api/index.php?method=postClassified&#038;location=1</a><!--INFOLINKS_OFF--></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amanda</title>
		<link>http://www.softwarepassion.com/android-series-get-post-and-multipart-post-requests/comment-page-1/#comment-1914</link>
		<dc:creator>Amanda</dc:creator>
		<pubDate>Fri, 04 Nov 2011 09:54:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.softwarepassion.com/?p=389#comment-1914</guid>
		<description>I don&#039;t knwo how many tutorials I&#039;ve done and I thought your example would work, but still the same error happened. It always stops on 
HttpResponse response = client.execute(get);

Permissions to the internet I have in the manifest. Please help.</description>
		<content:encoded><![CDATA[<p><!--INFOLINKS_ON-->I don&#8217;t knwo how many tutorials I&#8217;ve done and I thought your example would work, but still the same error happened. It always stops on<br />
HttpResponse response = client.execute(get);</p>
<p>Permissions to the internet I have in the manifest. Please help.<!--INFOLINKS_OFF--></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bastl.org &#187; Android &#8211; Post Data to Server</title>
		<link>http://www.softwarepassion.com/android-series-get-post-and-multipart-post-requests/comment-page-1/#comment-1885</link>
		<dc:creator>Bastl.org &#187; Android &#8211; Post Data to Server</dc:creator>
		<pubDate>Tue, 01 Nov 2011 11:38:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.softwarepassion.com/?p=389#comment-1885</guid>
		<description>[...] http://www.softwarepassion.com/android-series-get-post-and-multipart-post-requests/ [...]</description>
		<content:encoded><![CDATA[<p><!--INFOLINKS_ON-->[...] <a href="http://www.softwarepassion.com/android-series-get-post-and-multipart-post-requests/" rel="nofollow">http://www.softwarepassion.com/android-series-get-post-and-multipart-post-requests/</a> [...]<!--INFOLINKS_OFF--></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Android Series: GET, POST and Multipart POST requests &#171; san script</title>
		<link>http://www.softwarepassion.com/android-series-get-post-and-multipart-post-requests/comment-page-1/#comment-1604</link>
		<dc:creator>Android Series: GET, POST and Multipart POST requests &#171; san script</dc:creator>
		<pubDate>Wed, 14 Sep 2011 04:05:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.softwarepassion.com/?p=389#comment-1604</guid>
		<description>[...] Android Series: GET, POST and Multipart POST&#160;requestshttp://www.softwarepassion.com/android-series-get-post-and-multipart-post-requests/ [...]</description>
		<content:encoded><![CDATA[<p><!--INFOLINKS_ON-->[...] Android Series: GET, POST and Multipart POST&nbsp;requestshttp://www.softwarepassion.com/android-series-get-post-and-multipart-post-requests/ [...]<!--INFOLINKS_OFF--></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jorge</title>
		<link>http://www.softwarepassion.com/android-series-get-post-and-multipart-post-requests/comment-page-1/#comment-1600</link>
		<dc:creator>Jorge</dc:creator>
		<pubDate>Fri, 09 Sep 2011 17:21:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.softwarepassion.com/?p=389#comment-1600</guid>
		<description>This is a great article.Congratulations.
I hava a curious problem posting a file onto my server (I have a PHP script running).The problem is:
$_SERVER[&#039;REQUEST_METHOD&#039;] returns GET, but it is a POST request right? 
Any suggestions?
Thanks for your support</description>
		<content:encoded><![CDATA[<p><!--INFOLINKS_ON-->This is a great article.Congratulations.<br />
I hava a curious problem posting a file onto my server (I have a PHP script running).The problem is:<br />
$_SERVER['REQUEST_METHOD'] returns GET, but it is a POST request right?<br />
Any suggestions?<br />
Thanks for your support<!--INFOLINKS_OFF--></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prasil</title>
		<link>http://www.softwarepassion.com/android-series-get-post-and-multipart-post-requests/comment-page-1/#comment-1599</link>
		<dc:creator>Prasil</dc:creator>
		<pubDate>Thu, 08 Sep 2011 04:57:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.softwarepassion.com/?p=389#comment-1599</guid>
		<description>Hi,

I an trying to get some list of values from the server( where it is stored) how can I get that, and also the I have to Post some data to server.</description>
		<content:encoded><![CDATA[<p><!--INFOLINKS_ON-->Hi,</p>
<p>I an trying to get some list of values from the server( where it is stored) how can I get that, and also the I have to Post some data to server.<!--INFOLINKS_OFF--></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shankarji</title>
		<link>http://www.softwarepassion.com/android-series-get-post-and-multipart-post-requests/comment-page-1/#comment-1582</link>
		<dc:creator>Shankarji</dc:creator>
		<pubDate>Thu, 11 Aug 2011 10:48:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.softwarepassion.com/?p=389#comment-1582</guid>
		<description>Hi , I wanted to know that if I am sending data in some entity in the httpPost, then how do I get the data in the servlet at my server.

regards
Shankar</description>
		<content:encoded><![CDATA[<p><!--INFOLINKS_ON-->Hi , I wanted to know that if I am sending data in some entity in the httpPost, then how do I get the data in the servlet at my server.</p>
<p>regards<br />
Shankar<!--INFOLINKS_OFF--></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: naveen</title>
		<link>http://www.softwarepassion.com/android-series-get-post-and-multipart-post-requests/comment-page-1/#comment-1581</link>
		<dc:creator>naveen</dc:creator>
		<pubDate>Wed, 10 Aug 2011 13:00:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.softwarepassion.com/?p=389#comment-1581</guid>
		<description>it is getting force closed.Do I need to give any additional permission apart from internet</description>
		<content:encoded><![CDATA[<p><!--INFOLINKS_ON-->it is getting force closed.Do I need to give any additional permission apart from internet<!--INFOLINKS_OFF--></p>
]]></content:encoded>
	</item>
</channel>
</rss>

