<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>なんとなく技術系メモブログ &#187; Titanium</title>
	<atom:link href="http://blog.monoware.co.jp/archives/category/titanium/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.monoware.co.jp</link>
	<description></description>
	<lastBuildDate>Tue, 08 Apr 2014 01:54:35 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>【Titanium】 WebViewを用いて値をPOSTする</title>
		<link>http://blog.monoware.co.jp/archives/5</link>
		<comments>http://blog.monoware.co.jp/archives/5#comments</comments>
		<pubDate>Tue, 08 Apr 2014 00:17:28 +0000</pubDate>
		<dc:creator>管理者</dc:creator>
				<category><![CDATA[Titanium]]></category>

		<guid isPermaLink="false">http://blog.monoware.co.jp/?p=5</guid>
		<description><![CDATA[Ti.Network.createHTTPClient()を使用して値をPOSTし、返答されたhtmlをwebviewに入れ込む。 var win1 = Titanium.UI.createWindow({ title:'Tab 1', backgroundColor:'#fff' }); var webview = Ti.UI.createWebView(); win1.add(webview); var xhr = Ti.Network.createHTTPClient(); xhr.open('POST', 'http://www.snee.com/xml/crud/posttest.cgi'); xhr.onload = function () { webview.html = this.responseText; }; xhr.send({ fname: 'value', lname: 'value_two' }); win1.open(); 参考：http://developer.appcelerator.com/question/121380/post-variable-to-webview]]></description>
			<content:encoded><![CDATA[<p>Ti.Network.createHTTPClient()を使用して値をPOSTし、返答されたhtmlをwebviewに入れ込む。</p>
<p><code><br />
var win1 = Titanium.UI.createWindow({<br />
    title:'Tab 1',<br />
    backgroundColor:'#fff'<br />
});</p>
<p>var webview = Ti.UI.createWebView();<br />
win1.add(webview);</p>
<p>var xhr = Ti.Network.createHTTPClient();<br />
xhr.open('POST', 'http://www.snee.com/xml/crud/posttest.cgi');<br />
xhr.onload = function () {<br />
    webview.html = this.responseText;<br />
};<br />
xhr.send({<br />
    fname: 'value',<br />
    lname: 'value_two'<br />
});</p>
<p>win1.open();</code></p>
<p>参考：<a href="http://developer.appcelerator.com/question/121380/post-variable-to-webview" target="_blank">http://developer.appcelerator.com/question/121380/post-variable-to-webview</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.monoware.co.jp/archives/5/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
