<?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>Blog BBTUNE</title>
	<atom:link href="http://blog.bbtune.com/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.bbtune.com</link>
	<description>bbtune.com BLOG ...</description>
	<lastBuildDate>Sun, 05 Feb 2012 14:00:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Kindle touch を注文してみた。</title>
		<link>http://blog.bbtune.com/archives/1238/orderedkindle-touch-%e3%82%92%e6%b3%a8%e6%96%87%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f%e3%80%82</link>
		<comments>http://blog.bbtune.com/archives/1238/orderedkindle-touch-%e3%82%92%e6%b3%a8%e6%96%87%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f%e3%80%82#comments</comments>
		<pubDate>Sun, 05 Feb 2012 04:09:48 +0000</pubDate>
		<dc:creator>junichi</dc:creator>
				<category><![CDATA[kindle touch]]></category>

		<guid isPermaLink="false">http://blog.bbtune.com/?p=1238</guid>
		<description><![CDATA[amazon.comでkindle touchが海外で買えるようになったので注文してみました。
発送方法ですが、159円しか変わらないみたいなので、Priority International Courierにしました。
発送は6日（月）みたいです。
===================================================
Expedited International Shipping (averages 8-16 business days)
Shipping &#038; Handling:  	 JPY 953
Priority International Courier (averages 2-4 days)
Shipping &#038; Handling:	JPY 1,112
===================================================
Item(s) Subtotal:	JPY 11,054
Shipping &#038; Handling:	JPY 1,112
 	&#8212;&#8211;
Total Before Tax:	JPY 12,774
Estimated Tax To Be Collected:	JPY 0
Import Fees Deposit	JPY 608
 	&#8212;&#8211;
Grand Total:	JPY 12,774
]]></description>
			<content:encoded><![CDATA[<p>amazon.comでkindle touchが海外で買えるようになったので注文してみました。<br />
発送方法ですが、159円しか変わらないみたいなので、Priority International Courierにしました。<br />
発送は6日（月）みたいです。<br />
===================================================<br />
Expedited International Shipping (averages 8-16 business days)<br />
Shipping &#038; Handling:  	 JPY 953<br />
Priority International Courier (averages 2-4 days)<br />
Shipping &#038; Handling:	JPY 1,112<br />
===================================================<br />
Item(s) Subtotal:	JPY 11,054<br />
Shipping &#038; Handling:	JPY 1,112<br />
 	&#8212;&#8211;<br />
Total Before Tax:	JPY 12,774<br />
Estimated Tax To Be Collected:	JPY 0<br />
Import Fees Deposit	JPY 608<br />
 	&#8212;&#8211;<br />
Grand Total:	JPY 12,774</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bbtune.com/archives/1238/orderedkindle-touch-%e3%82%92%e6%b3%a8%e6%96%87%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f%e3%80%82/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>timeout setting &#124; phonegap</title>
		<link>http://blog.bbtune.com/archives/1236/timeout-setting-phonegap</link>
		<comments>http://blog.bbtune.com/archives/1236/timeout-setting-phonegap#comments</comments>
		<pubDate>Sat, 04 Feb 2012 16:37:16 +0000</pubDate>
		<dc:creator>junichi</dc:creator>
				<category><![CDATA[PhoneGap]]></category>
		<category><![CDATA[jquery mobile]]></category>

		<guid isPermaLink="false">http://blog.bbtune.com/?p=1236</guid>
		<description><![CDATA[http://jquerymobile.com/test/docs/pages/phonegap.html
Android enforces a timeout when loading URLs in a webview which may be too short for your needs. You can change this timeout by editing a Java class generated by the Eclipse plugin for Android:
super.setIntegerProperty(&#8221;loadUrlTimeoutValue&#8221;, 60000);
ということで

    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    [...]]]></description>
			<content:encoded><![CDATA[<p>http://jquerymobile.com/test/docs/pages/phonegap.html<br />
Android enforces a timeout when loading URLs in a webview which may be too short for your needs. You can change this timeout by editing a Java class generated by the Eclipse plugin for Android:</p>
<p>super.setIntegerProperty(&#8221;loadUrlTimeoutValue&#8221;, 60000);</p>
<p>ということで</p>
<div class="prog">
    public void onCreate(Bundle savedInstanceState) {<br />
        super.onCreate(savedInstanceState);<br />
        super.loadUrl(&#8221;file:///android_asset/www/index.html&#8221;);<br />
        super.setIntegerProperty(&#8221;loadUrlTimeoutValue&#8221;, 1000);<br />
    }
</div>
<p>と入れてみた。<br />
最初に置くとindex.htmlのloadUrlでエラーが出た＾＾；このロードに一秒かかるとは<br />
数字を大きくするとOK.<br />
最初のloadUrlの後ろに置きました。</p>
<p>android以外はわかりません。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bbtune.com/archives/1236/timeout-setting-phonegap/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>pageやdivは、uiを再度、反映できない。 can not refresh page,div like listview &#124; #jquerymobile #phonegap</title>
		<link>http://blog.bbtune.com/archives/1232/can-not-refresh-pagediv-like-listview-jquerymobile-phonegap</link>
		<comments>http://blog.bbtune.com/archives/1232/can-not-refresh-pagediv-like-listview-jquerymobile-phonegap#comments</comments>
		<pubDate>Sat, 04 Feb 2012 16:08:04 +0000</pubDate>
		<dc:creator>junichi</dc:creator>
				<category><![CDATA[PhoneGap]]></category>
		<category><![CDATA[jquery mobile]]></category>

		<guid isPermaLink="false">http://blog.bbtune.com/?p=1232</guid>
		<description><![CDATA[listviewの場合は、使い回しても

$(&#8217;#list_result&#8217;).listview(&#8217;refresh&#8217;);

で ui を反映できるが
pageやdivなど指定しても出来ない。以前は？ .page() や.trigger(&#8217;create&#8217;)が使えたよう？ですが今は使えません。
なので、ui 関連classを入れてしまいます。

$(&#8217;#mybutton_area&#8217;).html(&#8217;&#60;a class=&#8221;ui-btn ui-btn-corner-all ui-shadow ui-btn-up-c&#8221; href=&#8221;&#8216;+urldayo+&#8217;&#8221; >&#60;span class=&#8221;ui-btn-inner ui-btn-corner-all ui-corner-top ui-corner-bottom&#8221;>ボタンだよ&#60;/span>&#60;/a>&#8217;);

ページオブジェクトを完全に削除したりしている方もいるようなので、全体を変える場合はそれでも良いのかもしれません。
局所的な変更は、これで良いようです。
]]></description>
			<content:encoded><![CDATA[<p>listviewの場合は、使い回しても</p>
<div class="prog">
$(&#8217;#list_result&#8217;).listview(&#8217;refresh&#8217;);
</div>
<p>で ui を反映できるが<br />
pageやdivなど指定しても出来ない。以前は？ .page() や.trigger(&#8217;create&#8217;)が使えたよう？ですが今は使えません。</p>
<p>なので、ui 関連classを入れてしまいます。</p>
<div class="prog">
$(&#8217;#mybutton_area&#8217;).html(&#8217;&lt;a class=&#8221;ui-btn ui-btn-corner-all ui-shadow ui-btn-up-c&#8221; href=&#8221;&#8216;+urldayo+&#8217;&#8221; >&lt;span class=&#8221;ui-btn-inner ui-btn-corner-all ui-corner-top ui-corner-bottom&#8221;>ボタンだよ&lt;/span>&lt;/a>&#8217;);
</div>
<p>ページオブジェクトを完全に削除したりしている方もいるようなので、全体を変える場合はそれでも良いのかもしれません。<br />
局所的な変更は、これで良いようです。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bbtune.com/archives/1232/can-not-refresh-pagediv-like-listview-jquerymobile-phonegap/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ui class not working at second loading page &#124; PhoneGap x jquerymobile</title>
		<link>http://blog.bbtune.com/archives/1227/ui-class-not-working-at-second-loading-page-phonegap-x-jquerymobile</link>
		<comments>http://blog.bbtune.com/archives/1227/ui-class-not-working-at-second-loading-page-phonegap-x-jquerymobile#comments</comments>
		<pubDate>Fri, 03 Feb 2012 12:53:29 +0000</pubDate>
		<dc:creator>junichi</dc:creator>
				<category><![CDATA[PhoneGap]]></category>
		<category><![CDATA[jquery mobile]]></category>

		<guid isPermaLink="false">http://blog.bbtune.com/?p=1227</guid>
		<description><![CDATA[・ページキャッシュが利用されるとき？ ui class が反映されなかった。
一度目は大丈夫だけど、戻る→進むで表示するとclassが反映されない。
生成したDOMに、jquerymobileが ui-クラスをつけてくれるタイミングがわからない。
http://jquerymobile.com/demos/1.0.1/docs/lists/docs-lists.html

Updating lists
If you add items to a listview, you&#8217;ll need to call the refresh() method on it to update the styles and create any nested lists that are added. For example:
$(&#8217;#mylist&#8217;).listview(&#8217;refresh&#8217;);

これでいけるみたいだけど、listview()がありませんといわれる。
changepageしたあとに
$(&#8217;ul#list-result&#8217;).listview(&#8217;refresh&#8217;);
で大丈夫でした。タイミングが難しいですね。
.page() functionを呼ぶ方法もありそうです。
]]></description>
			<content:encoded><![CDATA[<p>・ページキャッシュが利用されるとき？ ui class が反映されなかった。<br />
一度目は大丈夫だけど、戻る→進むで表示するとclassが反映されない。<br />
生成したDOMに、jquerymobileが ui-クラスをつけてくれるタイミングがわからない。</p>
<p>http://jquerymobile.com/demos/1.0.1/docs/lists/docs-lists.html</p>
<div class="prog">
Updating lists<br />
If you add items to a listview, you&#8217;ll need to call the refresh() method on it to update the styles and create any nested lists that are added. For example:</p>
<p>$(&#8217;#mylist&#8217;).listview(&#8217;refresh&#8217;);
</p></div>
<p>これでいけるみたいだけど、listview()がありませんといわれる。<br />
changepageしたあとに<br />
$(&#8217;ul#list-result&#8217;).listview(&#8217;refresh&#8217;);<br />
で大丈夫でした。タイミングが難しいですね。</p>
<p>.page() functionを呼ぶ方法もありそうです。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bbtune.com/archives/1227/ui-class-not-working-at-second-loading-page-phonegap-x-jquerymobile/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PhoneGapハジメテミル。</title>
		<link>http://blog.bbtune.com/archives/1217/start-phonegap</link>
		<comments>http://blog.bbtune.com/archives/1217/start-phonegap#comments</comments>
		<pubDate>Fri, 03 Feb 2012 05:09:02 +0000</pubDate>
		<dc:creator>junichi</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[PhoneGap]]></category>
		<category><![CDATA[Titanium]]></category>
		<category><![CDATA[iOS]]></category>

		<guid isPermaLink="false">http://blog.bbtune.com/?p=1217</guid>
		<description><![CDATA[11:06 開始。
本サイトを見てみる。
http://phonegap.com
なかなかかわいいサイトです。
http://phonegap.com/about/features/
こんな機能に対応してるそうです。
下のリリースを読む。
http://www.adobe.com/aboutadobe/pressroom/pressreleases/201110/AdobeAcquiresNitobi.html
adobe acquires nitobi : アドビがニトビを買います。
adobe製品と連携しているのでそっちになれている人は良さそうです。
+ google groups
http://groups.google.com/group/phonegap
ちょうど 1.4 が 1/31にリリースされたようですね。
11:20 start
いちおxcodeを更新しておく。
http://phonegap.com/start
ダウンロードした、callback-phonegap-xxxx の中の lib/PhoneGap-1.4.1.dmg を開く。
PhoneGap-1.4.1.pkgを開いてインストール開始
xcode からPhoneGap-based Applicationを作成
名前を付けて Run するとbuild は成功して www/index.htmlがないよとエラーが表示される。
プロジェクトを作成したディレクトリの中には、wwwティレクトリーがある( index.html phonegap-1.4.1.js が入ってる。)

Next step is IMPORTANT! Drag the www folder into Xcode 4. You can&#8217;t just drag the www folder into your app&#8217;s folder. It needs to be dragged into Xcode 4!! In my [...]]]></description>
			<content:encoded><![CDATA[<p>11:06 開始。<br />
本サイトを見てみる。<br />
http://phonegap.com<br />
なかなかかわいいサイトです。<br />
http://phonegap.com/about/features/<br />
こんな機能に対応してるそうです。</p>
<p>下のリリースを読む。<br />
http://www.adobe.com/aboutadobe/pressroom/pressreleases/201110/AdobeAcquiresNitobi.html<br />
adobe acquires nitobi : アドビがニトビを買います。<br />
adobe製品と連携しているのでそっちになれている人は良さそうです。</p>
<p>+ google groups<br />
http://groups.google.com/group/phonegap</p>
<p>ちょうど 1.4 が 1/31にリリースされたようですね。</p>
<p>11:20 start<br />
いちおxcodeを更新しておく。<br />
http://phonegap.com/start<br />
ダウンロードした、callback-phonegap-xxxx の中の lib/PhoneGap-1.4.1.dmg を開く。<br />
PhoneGap-1.4.1.pkgを開いてインストール開始</p>
<p>xcode からPhoneGap-based Applicationを作成<br />
名前を付けて Run するとbuild は成功して www/index.htmlがないよとエラーが表示される。<br />
プロジェクトを作成したディレクトリの中には、wwwティレクトリーがある( index.html phonegap-1.4.1.js が入ってる。)</p>
<div class="prog">
Next step is IMPORTANT! Drag the www folder into Xcode 4. You can&#8217;t just drag the www folder into your app&#8217;s folder. It needs to be dragged into Xcode 4!! In my case I would drag it and drop it on HiWorld shown below.
</div>
<p>ディレクトリーに入れないでxcode4のプロジェクトに直接ドラッグないと駄目だそうです。</p>
<p>http://wiki.phonegap.com/w/page/39991939/Getting-Started-with-PhoneGap-iOS-using-Xcode-4-%28Template-Version%29<br />
とりあえず、ここまでOK.</p>
<p>□　Android 版<br />
12:06<br />
http://phonegap.com/start#android</p>
<p>・Eclipse Classic 3.7.1 mac 64bitを入れてみる。</p>
<p>・Android SDK<br />
http://developer.android.com/sdk/installing.html#which<br />
android sdk managerを起動してrecommendの３つを入れる。<br />
toolsとandroid 2.1（とりあえず）を入れる。<br />
( ADTを先に入れると完了後、SDKを取りにいってくれました。。。とりあえず入れたディレクトリーを設定）<br />
eclipse &#8211; preferences &#8211; Android &#8211; SDK Locationで変更可</p>
<p>・ADT Plugin<br />
http://developer.android.com/sdk/eclipse-adt.html#installing<br />
eclipseからadtを入れる。</p>
<p>13:30 ダウンロードが遅かったのでニュースとか読んでいたのでこんな時間ですが、作業自体は少ないです。</p>
<p>やっと3 .setup new project<br />
assets/www<br />
libs<br />
を作って<br />
assets/www/phonegap-1.4.1.js<br />
res/xmlをコピー。</p>
<p>libs/phonegap-1.4.1.jar<br />
ライブラリは、追加が必要。</p>
<div class="prog">
You might experience an error here, where Eclipse can&#8217;t find phonegap-1.0.0.jar. In this case, right click on the /libs folder and go to Build Paths/ > Configure Build Paths. Then, in the Libraries tab, add phonegap-1.0.0.jar to the Project. If Eclipse is being temperamental, you might need to refresh (F5) the project once again.
</div>
<p>www/index.html に hello world を書いて完了。</p>
<p>Run configurationを追加してRun.</p>
<p>ここまでで環境設定完了。</p>
<p>=========</p>
<p>機能によっては分ける必要あるけど、共通部分は、 www以下は共通で使えるということで良さそう。<br />
titaniumと比べると環境を2つ（作る数だけ）用意しないといけないのが障壁になるのかな？</p>
<p>たぶん、webサービスでコンパイルを提供しているようなので、その辺を使うと？<br />
https://build.phonegap.com/<br />
これを使うとhtml css javascriptだけで、アプリ開発できるようですね。<br />
adobe製品からこの辺が使えるようです。</p>
<p>=========<br />
14:20 時間が過ぎるのは早いです。夕方終わったら髪切りに行こうと思ったけど難しそうですね。</p>
<p>さて、phonegap+jquerymobileのサンプルがあります。<br />
http://wiki.phonegap.com/w/page/36868306/UI%20Development%20using%20jQueryMobile<br />
特に、気にすることはない？と思うので作ってみます。</p>
<p>&lt;link rel=&#8221;stylesheet&#8221; href=&#8221;css/jquery.mobile-1.0.1.min.css&#8221; /&gt;<br />
cssのところサンプルは　href=&#8221;/css　となっているが / があると駄目でした。</p>
<h3>javascriptのconsole.logでデバッグする。</h3>
<p>SDKのplatform-tools dab log catを利用。</p>
<div class="prog">
$ cd ./android-sdk-macosx/platform-tools<br />
$ ./adb logcat<br />
- waiting for device -<br />
D/PhoneGapLog(  223): file:///android_asset/www/phonegap-1.4.1.js: Line 692 : Error in success callback: Network Status1 = TypeError: Result of expression &#8216;a&#8217; [undefined] is not an object.
</div>
<p>こんな感じでエラーがでます。</p>
<p>* ネットワークの確認で、サンプルをみて isReachableして、1.4.1に無いな・・・と思っていたら無かった。<br />
* ドキュメントに新しい方法が載ってた・・・<br />
* http://docs.phonegap.com/en/1.4.1/phonegap_connection_connection.md.html#Connection</p>
<div class="prog">
document.addEventListener(&#8221;deviceready&#8221;, onDeviceReady, false);</p>
<p>    // PhoneGap is loaded and it is now safe to make calls PhoneGap methods<br />
    //<br />
    function onDeviceReady() {<br />
        checkConnection();<br />
    }</p>
<p>    function checkConnection() {<br />
        var networkState = navigator.network.connection.type;</p>
<p>        var states = {};<br />
        states[Connection.UNKNOWN]  = &#8216;Unknown connection&#8217;;<br />
        states[Connection.ETHERNET] = &#8216;Ethernet connection&#8217;;<br />
        states[Connection.WIFI]     = &#8216;WiFi connection&#8217;;<br />
        states[Connection.CELL_2G]  = &#8216;Cell 2G connection&#8217;;<br />
        states[Connection.CELL_3G]  = &#8216;Cell 3G connection&#8217;;<br />
        states[Connection.CELL_4G]  = &#8216;Cell 4G connection&#8217;;<br />
        states[Connection.NONE]     = &#8216;No network connection&#8217;;</p>
<p>        alert(&#8217;Connection type: &#8216; + states[networkState]);<br />
    }
</p></div>
<p> * 今回も大活躍 JSON.stringify</p>
<div class="prog">
console.log( JSON.stringify(PhoneGap.callbacks) );
</div>
<p>ちょっと休憩。<br />
17:08</p>
<p>18:01<br />
再開。後は、普通に作るだけだから、あと 1.5時間で出来る範囲の基本機能だけで。</p>
<p>19:50<br />
top → list → item<br />
までデータ表示はできた。とりあえずここまで。</p>
<p>結局3日目にして最初のバージョンをリリースしました。<br />
web api は他のサービスで作っていたのでアプリの内容自体は、置いておいて<br />
3日で、top→list→itemのシンプルなアプリを作ることが出来ました。<br />
jquerymobileを利用したことがあれば、こんな感じになると思います。<br />
androidの機能は使っていないので、これから使ってみてと言うところです。<br />
iPhone版リリースについても近いうちにやります。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bbtune.com/archives/1217/start-phonegap/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jquery mobileでサイトを作成してみた。</title>
		<link>http://blog.bbtune.com/archives/1215/jquery-mobile%e3%81%a7%e3%82%b5%e3%82%a4%e3%83%88%e3%82%92%e4%bd%9c%e6%88%90%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f%e3%80%82</link>
		<comments>http://blog.bbtune.com/archives/1215/jquery-mobile%e3%81%a7%e3%82%b5%e3%82%a4%e3%83%88%e3%82%92%e4%bd%9c%e6%88%90%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f%e3%80%82#comments</comments>
		<pubDate>Thu, 02 Feb 2012 07:38:04 +0000</pubDate>
		<dc:creator>junichi</dc:creator>
				<category><![CDATA[html5]]></category>
		<category><![CDATA[jquery mobile]]></category>

		<guid isPermaLink="false">http://blog.bbtune.com/?p=1215</guid>
		<description><![CDATA[
こんな感じです。
スマートフォンやタブレットでこちらのサイト→ http://aucru.com
をご確認ください。
http://jquerymobile.com/
iOS Android Windows Phone BlackBerryに対応したサイトが簡単に作成できます。
これからいろいろなサイトに利用していきたいと思います。
]]></description>
			<content:encoded><![CDATA[<p><img src="http://p.twimg.com/AkoVJRcCQAANlkI.png" /><br />
こんな感じです。<br />
スマートフォンやタブレットでこちらのサイト→ <a href="http://aucru.com/">http://aucru.com</a><br />
をご確認ください。</p>
<p>http://jquerymobile.com/<br />
iOS Android Windows Phone BlackBerryに対応したサイトが簡単に作成できます。</p>
<p>これからいろいろなサイトに利用していきたいと思います。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bbtune.com/archives/1215/jquery-mobile%e3%81%a7%e3%82%b5%e3%82%a4%e3%83%88%e3%82%92%e4%bd%9c%e6%88%90%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f%e3%80%82/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>transitions noneで負荷は変わらないのかな？</title>
		<link>http://blog.bbtune.com/archives/1213/transitions-none-cpu-load</link>
		<comments>http://blog.bbtune.com/archives/1213/transitions-none-cpu-load#comments</comments>
		<pubDate>Wed, 01 Feb 2012 15:39:43 +0000</pubDate>
		<dc:creator>junichi</dc:creator>
				<category><![CDATA[jquery mobile]]></category>

		<guid isPermaLink="false">http://blog.bbtune.com/?p=1213</guid>
		<description><![CDATA[androidで見てみるとページ遷移がパタパタして意味ないなと思ったので、
transitaions : none
page transitions
http://code.jquery.com/mobile/latest/demos/docs/pages/page-transitions.html
globalconfig
http://code.jquery.com/mobile/latest/demos/docs/api/globalconfig.html

$(document).bind(&#8221;mobileinit&#8221;, function(){
  $.mobile.foo = bar;
});


&#60;script src=&#8221;jquery.js&#8221;&#62;&#60;/script&#62;
&#60;script src=&#8221;custom-scripting.js&#8221;&#62;&#60;/script&#62;
&#60;script src=&#8221;jquery-mobile.js&#8221;&#62;&#60;/script&#62;

自分のサイトでは、あまり変わらなかったのですが、どちらにしても綺麗に見えないので、noneにしておきます。
ページデータが多すぎるのかな？スクロールが多過ぎるとか。
]]></description>
			<content:encoded><![CDATA[<p>androidで見てみるとページ遷移がパタパタして意味ないなと思ったので、<br />
transitaions : none</p>
<p>page transitions<br />
http://code.jquery.com/mobile/latest/demos/docs/pages/page-transitions.html</p>
<p>globalconfig<br />
http://code.jquery.com/mobile/latest/demos/docs/api/globalconfig.html</p>
<div class="prog">
$(document).bind(&#8221;mobileinit&#8221;, function(){<br />
  $.mobile.foo = bar;<br />
});
</div>
<div class="prog">
&lt;script src=&#8221;jquery.js&#8221;&gt;&lt;/script&gt;<br />
&lt;script src=&#8221;custom-scripting.js&#8221;&gt;&lt;/script&gt;<br />
&lt;script src=&#8221;jquery-mobile.js&#8221;&gt;&lt;/script&gt;
</div>
<p>自分のサイトでは、あまり変わらなかったのですが、どちらにしても綺麗に見えないので、noneにしておきます。<br />
ページデータが多すぎるのかな？スクロールが多過ぎるとか。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bbtune.com/archives/1213/transitions-none-cpu-load/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone Simulator.appをDockへ入れた。</title>
		<link>http://blog.bbtune.com/archives/1211/iphone-simulator-app-to-dock</link>
		<comments>http://blog.bbtune.com/archives/1211/iphone-simulator-app-to-dock#comments</comments>
		<pubDate>Wed, 01 Feb 2012 14:48:36 +0000</pubDate>
		<dc:creator>junichi</dc:creator>
				<category><![CDATA[iOS]]></category>

		<guid isPermaLink="false">http://blog.bbtune.com/?p=1211</guid>
		<description><![CDATA[
/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications
$ ls
iPhone Simulator.app
$ open .

このiPhone Simulator.appをDockへ入れた。
]]></description>
			<content:encoded><![CDATA[<div class="prog">
/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications<br />
$ ls<br />
iPhone Simulator.app<br />
$ open .
</div>
<p>このiPhone Simulator.appをDockへ入れた。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bbtune.com/archives/1211/iphone-simulator-app-to-dock/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>submitの置き換えとval()で値を取る方法 &#124; jquerymobile</title>
		<link>http://blog.bbtune.com/archives/1203/how-to-replace-submit-and-get-val-jquerymobile</link>
		<comments>http://blog.bbtune.com/archives/1203/how-to-replace-submit-and-get-val-jquerymobile#comments</comments>
		<pubDate>Tue, 31 Jan 2012 05:37:10 +0000</pubDate>
		<dc:creator>junichi</dc:creator>
				<category><![CDATA[html5]]></category>
		<category><![CDATA[jquery mobile]]></category>

		<guid isPermaLink="false">http://blog.bbtune.com/?p=1203</guid>
		<description><![CDATA[同じ問題でreadyを使っているものが多かったのですが、
http://jquerymobile.com/test/docs/api/events.html

Important: Use pageInit(), not $(document).ready()

ということでこう書きました。

$( &#8216;#page_main&#8217; ).live( &#8216;pageinit&#8217;,function(event){
    $(&#8217;#search_form&#8217;).unbind(&#8217;submit&#8217;).bind(&#8217;submit&#8217;, function(){search();});
});

#page_mainは、data-role=pageのIDです。
submitをunbindしていますが、追加だけで良い場合は、要りません。
ここでsearch()を読んでいるのですが、ここでbindした場合、 search()関数内の$(&#8221;#input_id&#8221;).val(); は有効になります。
他でsearch();を読んでもval()で取得することは出来ませんでした。
http://jquerymobile.com
のサンプルを見ているとhtml5の勉強にもなって面白いですね。
=== ajaxで取得するとid指定した物が2つになる・・・同じelementが増えていく？ ===
ajaxでの遷移を停止する。
 * formタグに data-ajax=&#8221;false&#8221;
 * aタグに rel=&#8221;externals&#8221;
 * jquery と jquerymobileの間に設定コードを書く。
&#60;script src=&#8221;http://code.jquery.com/jquery-1.6.4.min.js&#8221;&#62;&#60;/script&#62;
&#60;script type=&#8221;text/javascript&#8221;&#62;
$(document).live(&#8221;mobileinit&#8221;, function() {
  $.mobile.ajaxEnabled = false;
  $.mobile.ajaxLinksEnabled = false;
  $.mobile.ajaxFormsEnabled = false;
});
&#60;/script&#62;
&#60;script src=&#8221;http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js&#8221;&#62;&#60;/script&#62;
* changepageのときのajaxをやめたい・・・
と思ったのですが。
そうじゃなくて、pageのidをちゃんと管理しないといけないみたいですね。
修正が必要です。
]]></description>
			<content:encoded><![CDATA[<p>同じ問題でreadyを使っているものが多かったのですが、</p>
<p>http://jquerymobile.com/test/docs/api/events.html</p>
<div class="prog">
Important: Use pageInit(), not $(document).ready()
</div>
<p>ということでこう書きました。</p>
<div class="prog">
$( &#8216;#page_main&#8217; ).live( &#8216;pageinit&#8217;,function(event){<br />
    $(&#8217;#search_form&#8217;).unbind(&#8217;submit&#8217;).bind(&#8217;submit&#8217;, function(){search();});<br />
});
</div>
<p>#page_mainは、data-role=pageのIDです。<br />
submitをunbindしていますが、追加だけで良い場合は、要りません。<br />
ここでsearch()を読んでいるのですが、ここでbindした場合、 search()関数内の$(&#8221;#input_id&#8221;).val(); は有効になります。<br />
他でsearch();を読んでもval()で取得することは出来ませんでした。</p>
<p>http://jquerymobile.com<br />
のサンプルを見ているとhtml5の勉強にもなって面白いですね。</p>
<p>=== ajaxで取得するとid指定した物が2つになる・・・同じelementが増えていく？ ===</p>
<p>ajaxでの遷移を停止する。<br />
 * formタグに data-ajax=&#8221;false&#8221;<br />
 * aタグに rel=&#8221;externals&#8221;<br />
 * jquery と jquerymobileの間に設定コードを書く。<br />
&lt;script src=&#8221;http://code.jquery.com/jquery-1.6.4.min.js&#8221;&gt;&lt;/script&gt;<br />
&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
$(document).live(&#8221;mobileinit&#8221;, function() {<br />
  $.mobile.ajaxEnabled = false;<br />
  $.mobile.ajaxLinksEnabled = false;<br />
  $.mobile.ajaxFormsEnabled = false;<br />
});<br />
&lt;/script&gt;<br />
&lt;script src=&#8221;http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js&#8221;&gt;&lt;/script&gt;</p>
<p>* changepageのときのajaxをやめたい・・・<br />
と思ったのですが。</p>
<p>そうじゃなくて、pageのidをちゃんと管理しないといけないみたいですね。<br />
修正が必要です。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bbtune.com/archives/1203/how-to-replace-submit-and-get-val-jquerymobile/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>zend lucene search property check &#124; php</title>
		<link>http://blog.bbtune.com/archives/1198/zend-lucene-search-property-check-php</link>
		<comments>http://blog.bbtune.com/archives/1198/zend-lucene-search-property-check-php#comments</comments>
		<pubDate>Sun, 29 Jan 2012 07:40:10 +0000</pubDate>
		<dc:creator>junichi</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://blog.bbtune.com/?p=1198</guid>
		<description><![CDATA[__issetもないようなのでチェックできないと思っていましたが、以下の方法でプロパティの存在確認が出来ました。

$names = $hit->getDocument()->getFieldNames();
if(in_array(&#8217;title&#8217;, $names)) $item['title'] = $hit->title;
if(in_array(&#8217;price&#8217;,$names)) $item['price'] = $hit->price;

]]></description>
			<content:encoded><![CDATA[<p>__issetもないようなのでチェックできないと思っていましたが、以下の方法でプロパティの存在確認が出来ました。</p>
<div class="prog">
$names = $hit->getDocument()->getFieldNames();<br />
if(in_array(&#8217;title&#8217;, $names)) $item['title'] = $hit->title;<br />
if(in_array(&#8217;price&#8217;,$names)) $item['price'] = $hit->price;
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.bbtune.com/archives/1198/zend-lucene-search-property-check-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

