<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8334358528889242141</id><updated>2024-11-06T11:57:26.667+09:00</updated><category term="Android"/><category term="Fumotrim制作メモ"/><category term="Java"/><category term="JavaScript"/><category term="jQuery"/><category term="Bootstrap"/><category term="CS4"/><category term="OpenFL"/><category term="Web"/><category term="ADT"/><category term="Android Wear"/><category term="CSS"/><category term="Eclipse"/><category term="Illustrator"/><category term="Java FX"/><category term="GLES"/><category term="Google Play"/><category term="HTML5"/><category term="Linux"/><category term="NDK"/><category term="PHP"/><category term="Perlin Noise"/><category term="Photoshop"/><category term="Sony Tablet"/><category term="SurfaceView"/><category term="Tool"/><category term="UI"/><category term="ant"/><category term="実験"/><category term="消費税"/><category term="移転"/><title type='text'>fumobox.log</title><subtitle type='html'>いろんな物の開発メモ。最近はAndroidがメインです。</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://fumobox.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://fumobox.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12681912253522814402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>43</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8334358528889242141.post-7522356292159388654</id><published>2014-09-28T12:14:00.000+09:00</published><updated>2014-09-28T12:14:09.709+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="移転"/><title type='text'>ブログ移転</title><content type='html'>管理してるサイトが多くなって、管理しきれないので、今後はこちらに記事を書きます！&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://fumobox.com/&quot; target=&quot;_blank&quot;&gt;http://fumobox.com/&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://fumobox.blogspot.com/feeds/7522356292159388654/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://fumobox.blogspot.com/2014/09/blog-post.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/7522356292159388654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/7522356292159388654'/><link rel='alternate' type='text/html' href='http://fumobox.blogspot.com/2014/09/blog-post.html' title='ブログ移転'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12681912253522814402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8334358528889242141.post-8778339129131777069</id><published>2014-07-08T23:33:00.002+09:00</published><updated>2014-07-09T00:07:58.196+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android Wear"/><title type='text'>Android時計のセットアップ</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
前回の続き。LG G Watchをセットアップしてみた。使っている親機はNexus7(2012)。Android4.3以降の端末なら使えるようだ。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPTFji9lz-4FJ9GUzHGpG15a6Go6KOkNrtMkodA9ZTJhCnMHODciu9JOUDuxQmCXnrHrscVFvLYHkDWPXtqLNFfVSLBpSU4TseYbtL4RaeaTRYJQBsnFXJ_LK2sDC3hFYoVvZ1HoDlqBY/s1600/lgg02.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPTFji9lz-4FJ9GUzHGpG15a6Go6KOkNrtMkodA9ZTJhCnMHODciu9JOUDuxQmCXnrHrscVFvLYHkDWPXtqLNFfVSLBpSU4TseYbtL4RaeaTRYJQBsnFXJ_LK2sDC3hFYoVvZ1HoDlqBY/s1600/lgg02.jpg&quot; height=&quot;200&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
時計を起動すると、Android Wearを探してインストールすれというメッセージが出たので、Google Playで検索してインストール。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYgFzz3RljIDOZQ6gwNQMdk_HvvBBXb1iSZf6eJCM8HU-2vQhp16nZkYCN6OqjSa9iS_tv974hyphenhyphenwrJZZz8GetAj6h07U9uz7ak0QmxslnH2DMPlViK83EXG2tsaQVHwWpi_H67hg7YJB0/s1600/lgg03.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYgFzz3RljIDOZQ6gwNQMdk_HvvBBXb1iSZf6eJCM8HU-2vQhp16nZkYCN6OqjSa9iS_tv974hyphenhyphenwrJZZz8GetAj6h07U9uz7ak0QmxslnH2DMPlViK83EXG2tsaQVHwWpi_H67hg7YJB0/s1600/lgg03.jpg&quot; height=&quot;200&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
何やら、物騒なパーミッション要求。Google謹製じゃないと絶対こんなの入れたくないｗ&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqH552RP5y88cOJfFY5vSX1vS_2pmjnTqn6v9gOos7XaFzknO3aaK464TPDRKlPdwZ2K0I-WTbvqFcqDWOXgz2xRyx2dPlF2l20IJvKWo1hiIo3AGy73cSD95nyPGhj6WKCEnB8zArDPw/s1600/lgg04.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqH552RP5y88cOJfFY5vSX1vS_2pmjnTqn6v9gOos7XaFzknO3aaK464TPDRKlPdwZ2K0I-WTbvqFcqDWOXgz2xRyx2dPlF2l20IJvKWo1hiIo3AGy73cSD95nyPGhj6WKCEnB8zArDPw/s1600/lgg04.jpg&quot; height=&quot;240&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Bluetoothでデバイスが認識されているようだ。特にトラブルなくペアリングできた。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYPYqxxEcKh_Gp67haWtShZ4fpvQjXo7SrNjAtHXfdb1V3pyBLdznEDs4SKlE6I5GZvjuD0nLfsJuezgyf3YayTivlq7U89vbYT7hDJNOSbG2E8ypZOxhBFm3d4y49D46kTCwFoiygIVw/s1600/lgg05.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYPYqxxEcKh_Gp67haWtShZ4fpvQjXo7SrNjAtHXfdb1V3pyBLdznEDs4SKlE6I5GZvjuD0nLfsJuezgyf3YayTivlq7U89vbYT7hDJNOSbG2E8ypZOxhBFm3d4y49D46kTCwFoiygIVw/s1600/lgg05.jpg&quot; height=&quot;240&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Google検索もアップデートすれと言われたので、&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgU-HuxQRdHcBoMwYZilZAvAYcoj2DvXv604tOlc_Qust6hp6Jr3r0iOVkph5TqZlM4hA9HCUVADw_1k8hTKoc2WQmp1cOoBFdjUm4LalPmQlb1qboKMAr35nsgBqNkJLmA6GqrQTyA708/s1600/lgg06.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgU-HuxQRdHcBoMwYZilZAvAYcoj2DvXv604tOlc_Qust6hp6Jr3r0iOVkph5TqZlM4hA9HCUVADw_1k8hTKoc2WQmp1cOoBFdjUm4LalPmQlb1qboKMAr35nsgBqNkJLmA6GqrQTyA708/s1600/lgg06.jpg&quot; height=&quot;240&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
OKを押すと、Play Storeのページに飛ぶので、また物騒なパーミッション要求を受け入れてインストール。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhM4E4IYSZeG67rHkw8kwqTMlzNJFayEQCI08DQsZwl7sw5gmVHrboSgllQLVdQnQDv9n1hWUpzBJvY0bsE4YrXlhhQrZ-iPBKABZh5aVQchnqBfg69PzzbJ3CgyVqmIsmpCJug7xKxLrM/s1600/lgg07.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhM4E4IYSZeG67rHkw8kwqTMlzNJFayEQCI08DQsZwl7sw5gmVHrboSgllQLVdQnQDv9n1hWUpzBJvY0bsE4YrXlhhQrZ-iPBKABZh5aVQchnqBfg69PzzbJ3CgyVqmIsmpCJug7xKxLrM/s1600/lgg07.jpg&quot; height=&quot;320&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
時計の方は何かをダウンロードしているようだ。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLQrwrV-0-jDN8tWTe4z7oHaDSuWC_uRFrTeZYqEu7YSwkvWeZn8Dak8kJ0pbBtFhLAe4Zpbq4Jo5YGJUQUaFi4wmbG_2qN-QP-TvqonIi_hUw_6yFeaf5fyU8Uyl5g21KHEIAEScs5Js/s1600/lgg08.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLQrwrV-0-jDN8tWTe4z7oHaDSuWC_uRFrTeZYqEu7YSwkvWeZn8Dak8kJ0pbBtFhLAe4Zpbq4Jo5YGJUQUaFi4wmbG_2qN-QP-TvqonIi_hUw_6yFeaf5fyU8Uyl5g21KHEIAEScs5Js/s1600/lgg08.jpg&quot; height=&quot;240&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
ダウンロードが完了すると時計は再起動し、スタート画面が表示された。10分ほどかかった。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuoIWxcD0V2xYmv26TeP2JW6VjltukXO3dUe7VeY9x_-Dd6Xa5AAXgZ8rpB5oO2GVAz_9Sae3ysWxkghbiwAy9BjWZz6l74j501JkCDXDPidHrYT_bkxl1ye8zjWdg3aRAvT7y4YchZsw/s1600/lgg09.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuoIWxcD0V2xYmv26TeP2JW6VjltukXO3dUe7VeY9x_-Dd6Xa5AAXgZ8rpB5oO2GVAz_9Sae3ysWxkghbiwAy9BjWZz6l74j501JkCDXDPidHrYT_bkxl1ye8zjWdg3aRAvT7y4YchZsw/s1600/lgg09.jpg&quot; height=&quot;320&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
地震速報が出てる！&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://fumobox.blogspot.com/feeds/8778339129131777069/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://fumobox.blogspot.com/2014/07/android.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/8778339129131777069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/8778339129131777069'/><link rel='alternate' type='text/html' href='http://fumobox.blogspot.com/2014/07/android.html' title='Android時計のセットアップ'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12681912253522814402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPTFji9lz-4FJ9GUzHGpG15a6Go6KOkNrtMkodA9ZTJhCnMHODciu9JOUDuxQmCXnrHrscVFvLYHkDWPXtqLNFfVSLBpSU4TseYbtL4RaeaTRYJQBsnFXJ_LK2sDC3hFYoVvZ1HoDlqBY/s72-c/lgg02.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8334358528889242141.post-3163320170444174182</id><published>2014-07-08T22:39:00.000+09:00</published><updated>2014-07-08T23:22:26.843+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android Wear"/><title type='text'>LG G Watch</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPOoOPrtUPgCjsvZ364Uhwhep9KBkjsHORqcen8Wi1zmF5zLafaKQL3lRuFNQEFCqi_QrliLYg8GTcTkl9kVcGrxZtvyGh4BYM0xZdhD9Nf3RD3FdIZyQsk1brcFpDCMEK0AJoBSszvNQ/s1600/lgg01.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPOoOPrtUPgCjsvZ364Uhwhep9KBkjsHORqcen8Wi1zmF5zLafaKQL3lRuFNQEFCqi_QrliLYg8GTcTkl9kVcGrxZtvyGh4BYM0xZdhD9Nf3RD3FdIZyQsk1brcFpDCMEK0AJoBSszvNQ/s1600/lgg01.jpg&quot; height=&quot;320&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
最近ブログ更新してないけど、まだ生きてます。&lt;br /&gt;
&lt;br /&gt;
何か新しいアプリ作りたいなと思ってLG G Watchを買ってみた。Androidスマホと連携できるようだが、自分の持ってるスマホはiPhoneだった。無意味。Nexus7あるから、それと通信できるかもしれない。週末にいじってみよう。&lt;br /&gt;
&lt;br /&gt;
触ってみると、ゴムのベルトが想像以上に柔らかかった。感触良いけどすぐ切れそう。&lt;br /&gt;
&lt;br /&gt;
あと、充電クレードルの裏面のシールは剥がすと粘着テープになっているので注意！&lt;br /&gt;
&lt;div&gt;
貼り付けずに使っているので、早速ゴミだらけに...ひどい罠だ。&lt;br /&gt;
&lt;br /&gt;
電源を入れると言語選択画面が出て、選択すると上のような画面が出た。ここから先は親機との連携が必要らしい。後でやってみよう。&lt;br /&gt;
&lt;br /&gt;
起動時に表示されるLGロゴがなんかダサいので消したいｗ&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://fumobox.blogspot.com/feeds/3163320170444174182/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://fumobox.blogspot.com/2014/07/lg-g-watch.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/3163320170444174182'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/3163320170444174182'/><link rel='alternate' type='text/html' href='http://fumobox.blogspot.com/2014/07/lg-g-watch.html' title='LG G Watch'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12681912253522814402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPOoOPrtUPgCjsvZ364Uhwhep9KBkjsHORqcen8Wi1zmF5zLafaKQL3lRuFNQEFCqi_QrliLYg8GTcTkl9kVcGrxZtvyGh4BYM0xZdhD9Nf3RD3FdIZyQsk1brcFpDCMEK0AJoBSszvNQ/s72-c/lgg01.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8334358528889242141.post-6223468268603731779</id><published>2014-03-28T00:37:00.001+09:00</published><updated>2014-03-28T00:37:16.749+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bootstrap"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><category scheme="http://www.blogger.com/atom/ns#" term="jQuery"/><title type='text'>アスペクト比計算機</title><content type='html'>画像を作っている時に、サイズをアスペクト比に合わせてトリミングすることが多いので、計算が簡単にできるように計算機を作ってみました。&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://fumobox.com/tools/aspect.php&quot; target=&quot;_blank&quot;&gt;アスペクト比計算機&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://fumobox.blogspot.com/feeds/6223468268603731779/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://fumobox.blogspot.com/2014/03/blog-post_28.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/6223468268603731779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/6223468268603731779'/><link rel='alternate' type='text/html' href='http://fumobox.blogspot.com/2014/03/blog-post_28.html' title='アスペクト比計算機'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12681912253522814402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8334358528889242141.post-5181339649248442139</id><published>2014-03-27T09:04:00.001+09:00</published><updated>2014-03-27T09:05:05.688+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bootstrap"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><category scheme="http://www.blogger.com/atom/ns#" term="jQuery"/><category scheme="http://www.blogger.com/atom/ns#" term="消費税"/><title type='text'>消費税計算機</title><content type='html'>消費税を毎回手計算するのが面倒なので作ってみました。8%になったらどう変わる、10%になったらどう変わるかを比較できます。&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://fumobox.com/tools/jtax.php&quot; target=&quot;_blank&quot;&gt;消費税計算機&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://fumobox.blogspot.com/feeds/5181339649248442139/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://fumobox.blogspot.com/2014/03/blog-post.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/5181339649248442139'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/5181339649248442139'/><link rel='alternate' type='text/html' href='http://fumobox.blogspot.com/2014/03/blog-post.html' title='消費税計算機'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12681912253522814402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8334358528889242141.post-553537802343414601</id><published>2014-03-26T16:30:00.000+09:00</published><updated>2014-03-26T16:31:34.329+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bootstrap"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><category scheme="http://www.blogger.com/atom/ns#" term="jQuery"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><category scheme="http://www.blogger.com/atom/ns#" term="Tool"/><title type='text'>HTML Tag Sanitizer</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqwhqKvOtQCB76GkpamzQ-r5v53rf6TKr3SQsFAmR8seBnLVTVnh1sVEZ7KUzMvQsVOn0ynYuXVd0fYLQDhAfumMP_RZ8P9CY7B0GUC_6P90zSIJZ19RLD4SfOeE9Xrjhp5ar2TrDgzx8/s1600/tagconv.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqwhqKvOtQCB76GkpamzQ-r5v53rf6TKr3SQsFAmR8seBnLVTVnh1sVEZ7KUzMvQsVOn0ynYuXVd0fYLQDhAfumMP_RZ8P9CY7B0GUC_6P90zSIJZ19RLD4SfOeE9Xrjhp5ar2TrDgzx8/s1600/tagconv.jpg&quot; height=&quot;320&quot; width=&quot;272&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
HTMLコードを、ブログに載せる時に、タグがそのままだと正しく表示できないので、特定の記号をサニタイズするツールを作りました。&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://fumobox.com/tools/tagconv.php&quot; target=&quot;_blank&quot;&gt;HTML Tag Sanitizer&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://webtools.dounokouno.com/htmlescape/&quot; target=&quot;_blank&quot;&gt;HTMLエスケープツール&lt;/a&gt;をいつも利用させてもらっていたけど、使う頻度が高いから自分でカスタマイズできる物を作ってみようと思い、BootstrapとjQueryの復習がてら作ってみました。Bootstrapは、簡単な小物を作るときにすごく便利ですね。&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
データは全てローカルで処理するので、安全に変換できます。&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://fumobox.blogspot.com/feeds/553537802343414601/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://fumobox.blogspot.com/2014/03/html-tag-sanitizer.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/553537802343414601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/553537802343414601'/><link rel='alternate' type='text/html' href='http://fumobox.blogspot.com/2014/03/html-tag-sanitizer.html' title='HTML Tag Sanitizer'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12681912253522814402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqwhqKvOtQCB76GkpamzQ-r5v53rf6TKr3SQsFAmR8seBnLVTVnh1sVEZ7KUzMvQsVOn0ynYuXVd0fYLQDhAfumMP_RZ8P9CY7B0GUC_6P90zSIJZ19RLD4SfOeE9Xrjhp5ar2TrDgzx8/s72-c/tagconv.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8334358528889242141.post-416592156976218541</id><published>2014-02-26T17:00:00.000+09:00</published><updated>2014-02-26T17:00:03.225+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><category scheme="http://www.blogger.com/atom/ns#" term="Web"/><title type='text'>モノクロ液晶画面風ボックス</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgspByZA9QN-gotJFOX2y1zQaDW8YbLQSczcpUxf9Wr67Lfi_eYAzXJvmS_EhBKkC39Ffgs9SGFLH40Axvf3HDeKQdvQoMb5sZ4gzZhGv257YpmuKCYbG-GnhURQPOD8iyG8cbcl8KkQBk/s1600/Canon-Camera-Remote-App-Concept-by-Jeremey-Fleischer-for-iPhone-435768.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgspByZA9QN-gotJFOX2y1zQaDW8YbLQSczcpUxf9Wr67Lfi_eYAzXJvmS_EhBKkC39Ffgs9SGFLH40Axvf3HDeKQdvQoMb5sZ4gzZhGv257YpmuKCYbG-GnhURQPOD8iyG8cbcl8KkQBk/s320/Canon-Camera-Remote-App-Concept-by-Jeremey-Fleischer-for-iPhone-435768.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;http://weandthecolor.com/camera-remote-iphone-app-concept-by-jeremey-fleischer/16221&quot; target=&quot;_blank&quot;&gt;Camera Remote iPhone App Concept by Jeremey Fleischer&lt;/a&gt;より&lt;/div&gt;
&lt;br /&gt;
このアプリのUIが素敵だったので、CSSのボックスで再現してみた。
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLDJTV3gGVo3sak_H2kDO94iZUTa8hre1IhCQfkam3-HKV5WkwtpbStJa5W-rgFIh30hELXCJWQRQU6shJfVOSpUr_CHwwoMcY1vG5qwusRlJgDPQEi3fG3eoZd68evJy81TMUvmXItBU/s1600/ekisyo.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLDJTV3gGVo3sak_H2kDO94iZUTa8hre1IhCQfkam3-HKV5WkwtpbStJa5W-rgFIh30hELXCJWQRQU6shJfVOSpUr_CHwwoMcY1vG5qwusRlJgDPQEi3fG3eoZd68evJy81TMUvmXItBU/s1600/ekisyo.jpg&quot; height=&quot;120&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;a href=&quot;http://fumobox.com/file/ekisyo/&quot; target=&quot;_blank&quot;&gt;モノクロ液晶画面風ボックス&lt;/a&gt;
&lt;br /&gt;
&lt;br /&gt;
IE11、Chrome、Opera、Firefox、Safariで動作確認済み。このサイトにも早速適用してみた。</content><link rel='replies' type='application/atom+xml' href='http://fumobox.blogspot.com/feeds/416592156976218541/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://fumobox.blogspot.com/2014/02/blog-post_26.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/416592156976218541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/416592156976218541'/><link rel='alternate' type='text/html' href='http://fumobox.blogspot.com/2014/02/blog-post_26.html' title='モノクロ液晶画面風ボックス'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12681912253522814402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgspByZA9QN-gotJFOX2y1zQaDW8YbLQSczcpUxf9Wr67Lfi_eYAzXJvmS_EhBKkC39Ffgs9SGFLH40Axvf3HDeKQdvQoMb5sZ4gzZhGv257YpmuKCYbG-GnhURQPOD8iyG8cbcl8KkQBk/s72-c/Canon-Camera-Remote-App-Concept-by-Jeremey-Fleischer-for-iPhone-435768.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8334358528889242141.post-9182759643034230367</id><published>2014-02-26T15:36:00.000+09:00</published><updated>2014-02-26T15:38:04.347+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><category scheme="http://www.blogger.com/atom/ns#" term="Web"/><title type='text'>至高のfont-family</title><content type='html'>Webサイトのフォント設定に毎回悩むので、何か良い例はないかと思い、探していたらこんなのを見つけた。&lt;br/&gt;&lt;br/&gt;

&lt;a href=&quot;http://wada811.blogspot.com/2012/12/best-font-family-definitive-edition.html&quot; target=&quot;_blank&quot;&gt;【決定版】僕の考えた最強のfont-family指定&lt;/a&gt;

&lt;pre class=&quot;fumopre&quot;&gt;
body {
    font-family: &#39;Hiragino Kaku Gothic ProN&#39;, Meiryo, &#39;MS PGothic&#39;, Sans-serif;
    font-size: 14px;
    line-height: 1.3;
    font-weight: normal;
}
&lt;/pre&gt;

すごく良いかも。line-heightは個人的には1.6が好きなので、font-familyだけ使わせてもらおう。もうフォント選びに迷わない！
</content><link rel='replies' type='application/atom+xml' href='http://fumobox.blogspot.com/feeds/9182759643034230367/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://fumobox.blogspot.com/2014/02/font-family.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/9182759643034230367'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/9182759643034230367'/><link rel='alternate' type='text/html' href='http://fumobox.blogspot.com/2014/02/font-family.html' title='至高のfont-family'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12681912253522814402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8334358528889242141.post-2517537421486846049</id><published>2014-02-26T13:58:00.001+09:00</published><updated>2014-02-26T14:19:19.057+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>Bitmapを綺麗に表示させる</title><content type='html'>Bitmapを拡大縮小して描画すると、画像が汚くなってしまうことがある。そのような場合、PaintクラスのsetFilterBitmapメソッドを実行すると、画像が綺麗に表示される。&lt;br /&gt;
&lt;pre class=&quot;fumopre&quot;&gt;Paint p = new Paint();
p.setFilterBitmap(true);
&lt;/pre&gt;
ただし、この処理は若干重いので、大きな画像を扱ったり、大量の画像を扱う際には気をつけよう。
&lt;br /&gt;
&lt;br /&gt;
3000x3000のBitmapに、この処理を加えると、はっきり遅延を体感できる。Androidでそんなに大きな画像を扱うのがそもそも問題だけどｗ</content><link rel='replies' type='application/atom+xml' href='http://fumobox.blogspot.com/feeds/2517537421486846049/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://fumobox.blogspot.com/2014/02/bitmap.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/2517537421486846049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/2517537421486846049'/><link rel='alternate' type='text/html' href='http://fumobox.blogspot.com/2014/02/bitmap.html' title='Bitmapを綺麗に表示させる'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12681912253522814402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8334358528889242141.post-1588951624503042297</id><published>2014-02-25T05:51:00.000+09:00</published><updated>2014-02-26T14:23:11.122+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OpenFL"/><title type='text'>OpenFL情報はこちら</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0fHs7W8BsNS1410FfbX0I0YxrSn9g7L-vHmDZSspLKq1pPvg3twPPI0Ly2IYhZv6CaI0_OCszSD3FyStg54eDx76XiYaZJKzvAi9iG7Hm8XrnziqSdZiHjTB0KLcR-dp3I1tnRb4YHqo/s1600/openflinfo_siteimage.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0fHs7W8BsNS1410FfbX0I0YxrSn9g7L-vHmDZSspLKq1pPvg3twPPI0Ly2IYhZv6CaI0_OCszSD3FyStg54eDx76XiYaZJKzvAi9iG7Hm8XrnziqSdZiHjTB0KLcR-dp3I1tnRb4YHqo/s1600/openflinfo_siteimage.png&quot; height=&quot;320&quot; width=&quot;316&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
OpenFLに関する情報は、大きなテーマになりそうなので、別サイトに専用ページを作成しました。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;http://fumobox.com/openfl/&quot; target=&quot;_blank&quot;&gt;OpenFL情報はこちら&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://fumobox.blogspot.com/feeds/1588951624503042297/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://fumobox.blogspot.com/2014/02/openfl_25.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/1588951624503042297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/1588951624503042297'/><link rel='alternate' type='text/html' href='http://fumobox.blogspot.com/2014/02/openfl_25.html' title='OpenFL情報はこちら'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12681912253522814402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0fHs7W8BsNS1410FfbX0I0YxrSn9g7L-vHmDZSspLKq1pPvg3twPPI0Ly2IYhZv6CaI0_OCszSD3FyStg54eDx76XiYaZJKzvAi9iG7Hm8XrnziqSdZiHjTB0KLcR-dp3I1tnRb4YHqo/s72-c/openflinfo_siteimage.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8334358528889242141.post-1800328583613026591</id><published>2014-02-22T18:08:00.005+09:00</published><updated>2014-02-22T18:09:26.736+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ADT"/><category scheme="http://www.blogger.com/atom/ns#" term="Eclipse"/><title type='text'>Eclipseで行番号や空白を表示する</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgL6oIr-hlP3A6H7Pc2cxHXv9C6wVC3ExJjilxp6an7SVlBpDgmXmc5utVL8ifN35lxQnfrooy6t7N8NPb_kHdCBGqfvec7HCIoCvFL7nZxdWf5IK1ISk8fz6spyiqRqlF6NTd30C103ak/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2014-02-22+18.04.25.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgL6oIr-hlP3A6H7Pc2cxHXv9C6wVC3ExJjilxp6an7SVlBpDgmXmc5utVL8ifN35lxQnfrooy6t7N8NPb_kHdCBGqfvec7HCIoCvFL7nZxdWf5IK1ISk8fz6spyiqRqlF6NTd30C103ak/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2014-02-22+18.04.25.png&quot; height=&quot;320&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Eclipseで行番号や空白を表示するには、&lt;br /&gt;
&lt;br /&gt;
Window -&amp;gt; Preference -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editorsの&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Show line numbers&lt;/b&gt;と&lt;b&gt;Show whitespace characters&lt;/b&gt;をチェックする。&lt;br /&gt;
&lt;br /&gt;
これも毎回忘れてしまうのでメモっておくｗ</content><link rel='replies' type='application/atom+xml' href='http://fumobox.blogspot.com/feeds/1800328583613026591/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://fumobox.blogspot.com/2014/02/eclipse.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/1800328583613026591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/1800328583613026591'/><link rel='alternate' type='text/html' href='http://fumobox.blogspot.com/2014/02/eclipse.html' title='Eclipseで行番号や空白を表示する'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12681912253522814402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgL6oIr-hlP3A6H7Pc2cxHXv9C6wVC3ExJjilxp6an7SVlBpDgmXmc5utVL8ifN35lxQnfrooy6t7N8NPb_kHdCBGqfvec7HCIoCvFL7nZxdWf5IK1ISk8fz6spyiqRqlF6NTd30C103ak/s72-c/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2014-02-22+18.04.25.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8334358528889242141.post-2548488284670170097</id><published>2014-02-22T07:57:00.002+09:00</published><updated>2014-02-26T15:24:24.014+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OpenFL"/><title type='text'>OpenFLを始める前に用語の確認</title><content type='html'>OpenFLを本格的に勉強しようと思ったけど、その前に、知らない用語だらけだったので、よく見る用語について整理してみた。&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;OpenFL&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
OpenFLは、ゲームやアプリケーションを構築するための環境を提供するフリーでオープンソースのソフトウェア開発キットです。&lt;br /&gt;
&lt;a href=&quot;http://ics-web.jp/lab/archives/1329&quot;&gt;http://ics-web.jp/lab/archives/1329&lt;/a&gt;より&lt;br /&gt;
&lt;br /&gt;
OpenFLで使用するHaxeは、Action Scriptに似ていて、Flashとほぼ同じAPIが使える。Airより速いらしい。&lt;br /&gt;
&lt;br /&gt;
Windows, Mac, Linux, iOS, Android, BlackBerry, Tizen, Flash, HTML5向けの実行ファイルを出力できるらしい。万能すぎ！&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Haxe(ヘックス)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Haxeとは、汎用プログラミング言語の一つで、静的型付けのオブジェクト指向言語であり、構文はActionScriptおよび標準化が中止されたECMAScript 4に類似している。&lt;br /&gt;
&lt;a href=&quot;http://ja.wikipedia.org/wiki/Haxe&quot;&gt;http://ja.wikipedia.org/wiki/Haxe&lt;/a&gt;より&lt;br /&gt;
&lt;br /&gt;
まだ全部見てないけど、かなり素敵な言語だ。enumが便利そう。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Lime(ライム)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Lime(Light Media Engine)とは、スクリプト言語またはバーチャルマシンに依存せずに、単一のコードベースでクロスプラットフォームをシンプルに実現するための抽象レイヤーである(意訳)。&lt;br /&gt;
&lt;a href=&quot;https://github.com/openfl/lime&quot;&gt;https://github.com/openfl/lime&lt;/a&gt;より&lt;br /&gt;
&lt;br /&gt;
OpenFLは、これを使って、各プラットフォーム向けのコードを生成しているのかな。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Neko&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Nekoは、Nicolas Cannasseによって開発されたハイレベルのdynamically typed programming languageで、コンパイラとガベージコレクタを備えたバーチャルマシンを持っている(意訳)。&lt;br /&gt;
&lt;a href=&quot;http://en.wikipedia.org/wiki/Neko_(programming_language)&quot;&gt;http://en.wikipedia.org/wiki/Neko_(programming_language)&lt;/a&gt;より&lt;br /&gt;
&lt;br /&gt;
Limeとの違いがよくわからないけど、まあ今のところは似たようなものだと認識しておくｗ&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;NME&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
どうやら、OpenFLの前身となる技術のようだ。あまり重要じゃなさそうなので省略。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
要するに、OpenFLというのは、Haxeで書いたコードを、LimeやNekoを使って、各プラットフォーム向けの実行ファイルに変換するための環境ってことか。でも、これだけ知っていれば万能ってことでもなく、複雑なことをやろうとすると、ある程度変換先のシステムについても知っておかないと活用できないかも。&lt;br /&gt;
&lt;br /&gt;
いろいろな言語を覚えるのが面倒(覚えても片っ端から忘れる)自分にはぴったりの言語だな。真面目に取り組んでみるか。
&lt;h1 class=&quot;fumoh1&quot;&gt;2014/02/26&lt;/h1&gt;
LimeとNekoの関係を、勘違いしていたかも。Limeは、HaxeのコードをNeko用に変換して、Nekoはそれを解釈してプログラムを実行するっていう仕組みのようだ。&lt;br/&gt;
正確な情報は、こっちに書きますｗ&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://fumobox.com/openfl/&quot; target=&quot;_blank&quot;&gt;OpenFL情報&lt;/a&gt;
</content><link rel='replies' type='application/atom+xml' href='http://fumobox.blogspot.com/feeds/2548488284670170097/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://fumobox.blogspot.com/2014/02/openfl.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/2548488284670170097'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/2548488284670170097'/><link rel='alternate' type='text/html' href='http://fumobox.blogspot.com/2014/02/openfl.html' title='OpenFLを始める前に用語の確認'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12681912253522814402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8334358528889242141.post-126992339330314392</id><published>2014-02-21T21:07:00.002+09:00</published><updated>2014-02-26T14:20:54.334+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ADT"/><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Eclipse"/><title type='text'>Eclipseの文字コードをUTF-8に変更する</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtlPkFg_QHBuMpLsApGPQIuPSB1ys_5fE9FSuX_9Rj3zzl54hHAdy2o_5Q_U4Wu4J_foghx2Lqu9BB5jEmH0CKLaF_bT1XppTeJmQGfoS2xyEKrw46MqUXU9fm-YGdLn6OQoFen7HDLtE/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2014-02-21+21.03.25.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtlPkFg_QHBuMpLsApGPQIuPSB1ys_5fE9FSuX_9Rj3zzl54hHAdy2o_5Q_U4Wu4J_foghx2Lqu9BB5jEmH0CKLaF_bT1XppTeJmQGfoS2xyEKrw46MqUXU9fm-YGdLn6OQoFen7HDLtE/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2014-02-21+21.03.25.png&quot; height=&quot;303&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Window -&amp;gt; Preference -&amp;gt; General -&amp;gt; Workspace -&amp;gt; Text file encoding&lt;br /&gt;
&lt;br /&gt;
いつも忘れるので、ここにメモしておく。&lt;br /&gt;
&lt;br /&gt;
特に理由が無い限りUTF-8にしておくのが無難。</content><link rel='replies' type='application/atom+xml' href='http://fumobox.blogspot.com/feeds/126992339330314392/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://fumobox.blogspot.com/2014/02/eclipseutf-8.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/126992339330314392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/126992339330314392'/><link rel='alternate' type='text/html' href='http://fumobox.blogspot.com/2014/02/eclipseutf-8.html' title='Eclipseの文字コードをUTF-8に変更する'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12681912253522814402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtlPkFg_QHBuMpLsApGPQIuPSB1ys_5fE9FSuX_9Rj3zzl54hHAdy2o_5Q_U4Wu4J_foghx2Lqu9BB5jEmH0CKLaF_bT1XppTeJmQGfoS2xyEKrw46MqUXU9fm-YGdLn6OQoFen7HDLtE/s72-c/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2014-02-21+21.03.25.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8334358528889242141.post-1793449697063150144</id><published>2014-02-18T17:22:00.001+09:00</published><updated>2014-02-18T17:49:15.467+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Fumotrim制作メモ"/><title type='text'>How to make 3D printer data</title><content type='html'>&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;270&quot; src=&quot;//www.youtube.com/embed/D-fF92HfKzQ&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
Fumotrimを使って、3Dプリント用のデータを作る方法です。&lt;br /&gt;
&lt;br /&gt;
Androidで制作したモデルをSTLフォーマットでエクスポートして、Windowsのnetfabbで読み込んで、データを補正しています。</content><link rel='replies' type='application/atom+xml' href='http://fumobox.blogspot.com/feeds/1793449697063150144/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://fumobox.blogspot.com/2014/02/how-to-make-3d-printer-data.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/1793449697063150144'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/1793449697063150144'/><link rel='alternate' type='text/html' href='http://fumobox.blogspot.com/2014/02/how-to-make-3d-printer-data.html' title='How to make 3D printer data'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12681912253522814402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8334358528889242141.post-1861819482212869271</id><published>2014-02-14T01:01:00.001+09:00</published><updated>2014-02-14T02:22:24.899+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>ntpdの状態確認</title><content type='html'>nptdがDDoS攻撃に使われているようだ。&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://www.blogger.com/&quot;&gt;&lt;/a&gt;&lt;span id=&quot;goog_63677649&quot;&gt;&lt;/span&gt;&lt;span id=&quot;goog_63677650&quot;&gt;&lt;/span&gt;&lt;a href=&quot;http://www.jpcert.or.jp/at/2014/at140001.html&quot; target=&quot;_blank&quot;&gt;ntpd の monlist 機能を使った DDoS 攻撃に関する注意喚起&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.sakura.ad.jp/news/sakurainfo/newsentry.php?id=861&quot; target=&quot;_blank&quot;&gt;【重要】NTPの脆弱性について&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
自分のサーバー(Cent OS)は大丈夫かなと調べてみると、
&lt;br /&gt;
&lt;pre class=&quot;fumopre&quot;&gt;
# /etc/rc.d/init.d/ntpd status
ntpd (pid  2091) is running...
&lt;/pre&gt;
nptdばっちり動いてるし...&lt;br /&gt;
&lt;br /&gt;
バージョンを確認してみると、
&lt;br /&gt;
&lt;pre class=&quot;fumopre&quot;&gt;
# ntpq -c rv
&lt;/pre&gt;
4.2.6.xだった...&lt;br /&gt;
&lt;br /&gt;
とりあえず、止めておこう(適当ｗ)。
&lt;br /&gt;
&lt;pre class=&quot;fumopre&quot;&gt;
/etc/rc.d/init.d/ntpd stop
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://fumobox.blogspot.com/feeds/1861819482212869271/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://fumobox.blogspot.com/2014/02/ntpd.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/1861819482212869271'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/1861819482212869271'/><link rel='alternate' type='text/html' href='http://fumobox.blogspot.com/2014/02/ntpd.html' title='ntpdの状態確認'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12681912253522814402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8334358528889242141.post-188935818921609982</id><published>2014-02-12T21:17:00.001+09:00</published><updated>2014-02-12T21:17:39.945+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Fumotrim制作メモ"/><title type='text'>Fumotrim1.7.6: 塗りつぶし機能の追加など</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3nbbt-nD2xjTLkZ09iniZPJn1DCDXu3kh5ydykK0uR612k8NzRWF5r8GWxjaxlUK8leB8NaMLfLOOo0ojrwStgYRCd790bPhzpywAoRbmsYc1RXMA38213A6m9OxVtqKjwAGVDT1xmzM/s1600/1_7_6_01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3nbbt-nD2xjTLkZ09iniZPJn1DCDXu3kh5ydykK0uR612k8NzRWF5r8GWxjaxlUK8leB8NaMLfLOOo0ojrwStgYRCd790bPhzpywAoRbmsYc1RXMA38213A6m9OxVtqKjwAGVDT1xmzM/s320/1_7_6_01.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
次回のアップデートでは、塗りつぶし機能を追加予定。これは、ペイントソフトにあるような塗りつぶし機能だけど、3Dブロックに適用しようとすると、なかなか難しいので、実装を見送ってきた。特にFumotrimのブロックは固定サイズではないので、アルゴリズムがなかなか複雑。簡単にアルゴリズムを説明すると、&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
1, 塗りつぶしを始めるブロックをユーザーが指定&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
2, ブロックの周辺6ブロックを探査して同じ大きさのブロックがあれば、色を塗る。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
3, 周辺6ブロックに移動して、2-3を繰り返す。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
箇条書きすると簡単そうに見えるけど、ブロック探査が難しい。Fumotrimのブロックの内部構造は、3次元グリッドのような並び方ではなく、8分木構造で、しかもブロックのサイズがばらばらなので、探査アルゴリズムは複雑な仕組みになっている。でも、このアルゴリズムはアイソメトリック図を作るときに、すでに実装していたので、今回は流用するだけで済んでよかった。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
最初にコードを書いた時は、再帰処理を使っていたけど、スタックが深くなりすぎて、StackOverflowErrorが発生してしまった。そのため、再帰処理を使わない形式に書き換えた。再帰処理は、やりすぎると落ちるし、メソッド呼び出しの多発で遅くなるので、使用はほどほどに。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
あとは、サイズが異なるブロックにも塗りつぶしを適応しようとしたけど、ちょっと面倒な問題があったのでやめた。同じサイズのブロックしか塗りつぶさないっていうポリシーのほうがわかりやすいし。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
それから、Undoシステムにも問題があったので修正した。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
さらに、レビューコメントでリクエストがあったカメラのシフト機能を実装してみたけど、これは動画で説明しないと難しいかな。3Dビューの両横の余白をタッチしてスライドすると、カメラの注視点を移動できる。英語で説明するのが難しいから動画を撮影しよう...&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
あと、レンダリング速度もほんの少し速くなったかも。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
テストして、週末にリリースできそう。次期アップデートをお楽しみに！&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://fumobox.blogspot.com/feeds/188935818921609982/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://fumobox.blogspot.com/2014/02/fumotrim176.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/188935818921609982'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/188935818921609982'/><link rel='alternate' type='text/html' href='http://fumobox.blogspot.com/2014/02/fumotrim176.html' title='Fumotrim1.7.6: 塗りつぶし機能の追加など'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12681912253522814402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3nbbt-nD2xjTLkZ09iniZPJn1DCDXu3kh5ydykK0uR612k8NzRWF5r8GWxjaxlUK8leB8NaMLfLOOo0ojrwStgYRCd790bPhzpywAoRbmsYc1RXMA38213A6m9OxVtqKjwAGVDT1xmzM/s72-c/1_7_6_01.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8334358528889242141.post-2765549585197462559</id><published>2014-02-07T07:14:00.000+09:00</published><updated>2014-02-26T14:21:35.032+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>アプリのバージョン情報を取得する</title><content type='html'>自分のアプリのバージョン情報を取得するには、Activity内に以下のようなコードを書けばよい。&lt;br /&gt;
&lt;pre class=&quot;fumopre&quot;&gt;
try {
  PackageManager packageManager = getPackageManager();
  PackageInfo packageInfo = packageManager.getPackageInfo(getPackageName(), PackageManager.GET_ACTIVITIES);
  String versionCode = packageInfo.versionCode;  // バージョンコード
  String versionName = packageInfo.versionName;  // バージョン名
} catch (NameNotFoundException e) {
  e.printStackTrace();
}
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://fumobox.blogspot.com/feeds/2765549585197462559/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://fumobox.blogspot.com/2014/02/blog-post.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/2765549585197462559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/2765549585197462559'/><link rel='alternate' type='text/html' href='http://fumobox.blogspot.com/2014/02/blog-post.html' title='アプリのバージョン情報を取得する'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12681912253522814402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8334358528889242141.post-2496613004401707525</id><published>2014-02-03T10:25:00.001+09:00</published><updated>2014-02-26T14:21:35.029+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="NDK"/><title type='text'>わかりやすいAndroid NDK導入手順 2014年版</title><content type='html'>AndroidでNDKを利用する手順について調べてみました。NDKについての解説記事はたくさんありますが、情報が古くて、そのままだと使えないことが多かったので、現時点での僕が試した方法について説明します。&lt;br /&gt;
&lt;br /&gt;
まずは準備から。&lt;br /&gt;
&lt;br /&gt;
今回使用した開発環境は、&lt;b&gt;Windows7 64bit、JDK1.7.0、ADT(v22.3.0-887826)&lt;/b&gt;です。Android SDKのAPIレベルは、最新版の&lt;b&gt;19&lt;/b&gt;を使用しました。&lt;br /&gt;
&lt;br /&gt;
コマンドプロンプトから&lt;b&gt;javah&lt;/b&gt;コマンドを実行できるように、あらかじめJDKへのパスは設定しておいてください。パスの設定はこちらが参考になります。&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.javadrive.jp/install/jdk/index4.html&quot; target=&quot;_blank&quot;&gt;http://www.javadrive.jp/install/jdk/index4.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
まずは、NDKのダウンロードサイトから、NDKのWindows 64bit版をダウンロードします。&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://developer.android.com/tools/sdk/ndk/index.html&quot; target=&quot;_blank&quot;&gt;http://developer.android.com/tools/sdk/ndk/index.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;android-ndk-r9c-windows-x86_64.zip&lt;/b&gt;というファイルです。&lt;br /&gt;
&lt;br /&gt;
ファイルをダウンロードして、解凍したら、&lt;b&gt;C:\ndk&lt;/b&gt;というディレクトリを作って、そこに入れてください。場所は任意ですが、ここではわかりやすいように、実際に僕が利用している環境を記します。&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;C:\ndk\android-ndk-r9c-windows-x86_64\android-ndk-r9c&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
という場所にNDKが入りました。&lt;br /&gt;
&lt;br /&gt;
次に、ADTを起動して、&lt;b&gt;[Window -Preference]の[Android - NDK]&lt;/b&gt;という設定画面を開いてください。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0i-LR8A01UKpjWJwAsfBt4pcayNKgB49uGRnNr8hVl6SaCb-lpNyVOTXSroY0DuzKj2LHaJ9Mf0KeffREaq8bkyjnXhorfbp4rNsYhd6-MaFsd17fI4kMD8zg998w6mJfGJCJnWa1HsI/s1600/ndk00.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0i-LR8A01UKpjWJwAsfBt4pcayNKgB49uGRnNr8hVl6SaCb-lpNyVOTXSroY0DuzKj2LHaJ9Mf0KeffREaq8bkyjnXhorfbp4rNsYhd6-MaFsd17fI4kMD8zg998w6mJfGJCJnWa1HsI/s1600/ndk00.png&quot; height=&quot;217&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;NDK Location&lt;/b&gt;に&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;C:\ndk\android-ndk-r9c-windows-x86_64\android-ndk-r9c&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
と入力して、OKを押して、設定画面を終了してください。&lt;br /&gt;
&lt;br /&gt;
これで設定は完了です。&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;
&lt;hr/&gt;
&lt;br /&gt;
続いて、実際のAndroidプロジェクトでNDKを使用する手順を説明します。まずは通常通り、Android Application Projectを新規作成してください。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwS09cURgg2RQYpQIF-vyrDZaSyKb8eVrO07th4_aTKASND8qN1aEtQOIpjiuBlQLkcb4rRefDHEWWgAYshpLmXchAxeJeQwFtAe_JI0DhQe41Po-qLfGUzNgN-2yS84CM-PwHKAMVLBo/s1600/ndk01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwS09cURgg2RQYpQIF-vyrDZaSyKb8eVrO07th4_aTKASND8qN1aEtQOIpjiuBlQLkcb4rRefDHEWWgAYshpLmXchAxeJeQwFtAe_JI0DhQe41Po-qLfGUzNgN-2yS84CM-PwHKAMVLBo/s1600/ndk01.png&quot; height=&quot;196&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFcjR3T4GGHI8uI0NZBzWsbtCW7sSHqq-cBblmgGtxuqDyfj2hsBRmn_IfsNaAT1kKuscO-f1xVHRl69yeexHO0HLWokaf_K_h0ledSJrglzAh2sJA3ywxcJT0OhxnnIz8CccVpvXaKbc/s1600/ndk02.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFcjR3T4GGHI8uI0NZBzWsbtCW7sSHqq-cBblmgGtxuqDyfj2hsBRmn_IfsNaAT1kKuscO-f1xVHRl69yeexHO0HLWokaf_K_h0ledSJrglzAh2sJA3ywxcJT0OhxnnIz8CccVpvXaKbc/s1600/ndk02.png&quot; height=&quot;196&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
ここでは、&lt;b&gt;JNITest&lt;/b&gt;という名前でプロジェクトを作成しました。プロジェクトのデータは&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;C:\ws_android\ws_test\JNITest&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
に作成されました。&lt;br /&gt;&lt;br /&gt;

自動生成されたMainActivityを編集します。&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;res/layout/activity_mail.xml&lt;/b&gt;を以下のように編集してください。&lt;br /&gt;
&lt;pre class=&quot;fumopre&quot;&gt;&amp;lt;RelativeLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
    xmlns:tools=&quot;http://schemas.android.com/tools&quot;
    android:layout_width=&quot;match_parent&quot;
    android:layout_height=&quot;match_parent&quot;
    android:paddingBottom=&quot;@dimen/activity_vertical_margin&quot;
    android:paddingLeft=&quot;@dimen/activity_horizontal_margin&quot;
    android:paddingRight=&quot;@dimen/activity_horizontal_margin&quot;
    android:paddingTop=&quot;@dimen/activity_vertical_margin&quot;
    tools:context=&quot;.MainActivity&quot; &amp;gt;

    &amp;lt;TextView
        android:id=&quot;@+id/label&quot;
        android:layout_width=&quot;wrap_content&quot;
        android:layout_height=&quot;wrap_content&quot;
        android:text=&quot;@string/hello_world&quot; /&amp;gt;

&amp;lt;/RelativeLayout&amp;gt;
&lt;/pre&gt;
内容はほぼデフォルトのままで、TextViewにlabelというIDを付けただけです。
&lt;br /&gt;
&lt;b&gt;MainActivity.java&lt;/b&gt;は以下のように編集してください。&lt;br /&gt;
&lt;pre class=&quot;fumopre&quot;&gt;package com.fumobox.jnitest;

import android.os.Bundle;
import android.app.Activity;
import android.widget.TextView;

public class MainActivity extends Activity {

 @Override
 protected void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);
  setContentView(R.layout.activity_main);
  
  TextView label = (TextView)findViewById(R.id.label);
  
  Test test = new Test();
  label.setText(&quot;Result: &quot; + test.test01(9));
 }

}
&lt;/pre&gt;
次に、プロジェクトに&lt;b&gt;Test.java&lt;/b&gt;というクラスを作成して、中身を以下のように記述してください。&lt;br /&gt;
&lt;pre class=&quot;fumopre&quot;&gt;package com.fumobox.jnitest;

public class Test {

 static {
        System.loadLibrary(&quot;JNITest&quot;);
    }
 
 public native int test01(int value);
 
}
&lt;/pre&gt;
これがNativeコード呼び出し用のクラスになります。次はNativeコードの作成です。&lt;br /&gt;
&lt;br /&gt;
&lt;hr/&gt;
&lt;br /&gt;
&lt;b&gt;C:\ws_android\ws_test\JNITest&lt;/b&gt;の下に、&lt;b&gt;jni&lt;/b&gt;というディレクトリを作成してください。ここにNativeコードとビルド用のファイルが作成されます。&lt;br /&gt;
&lt;br /&gt;
ADT内で、ProjectExplorer内にある、JNITestプロジェクトを右クリックして、&lt;b&gt;Android Tools - Add Native Support ...&lt;/b&gt;を押すと、下のような画面が表示されるので、そのままFinishを押してください。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgnx08UWMyoDYPydkXsFIKA64HJ1XC18O8Va1HGXPIenTz-KsRlmHwAXSSyKzdoEoT06_DDvZ9Foopj1sWOsBu26zkcrPbYflwlAA1eZh11R7Z9z4CVQhwrXsjch8zz-hFVlKW43co6l8/s1600/ndk10.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgnx08UWMyoDYPydkXsFIKA64HJ1XC18O8Va1HGXPIenTz-KsRlmHwAXSSyKzdoEoT06_DDvZ9Foopj1sWOsBu26zkcrPbYflwlAA1eZh11R7Z9z4CVQhwrXsjch8zz-hFVlKW43co6l8/s1600/ndk10.png&quot; height=&quot;148&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
成功すると、jniディレクトリに、&lt;b&gt;Android.mk&lt;/b&gt;と&lt;b&gt;JNITest.cpp&lt;/b&gt;が追加されます。&lt;br /&gt;
&lt;br /&gt;
スタードメニューのプログラムのファイルと検索に&lt;b&gt;cmd&lt;/b&gt;と入力すると、&lt;b&gt;cmd.exe&lt;/b&gt;が見つかるはずです。実行するとコマンドプロンプトが表示されます。&lt;br /&gt;
&lt;br /&gt;
コマンドプロンプトで、&lt;b&gt;cd C:\ws_android\ws_test\JNITest&lt;/b&gt;と入力して、プロジェクトのディレクトリに移動してください。&lt;br /&gt;
&lt;br /&gt;
そこで、以下のコマンドを実行します。&lt;br /&gt;
&lt;pre class=&quot;fumopre&quot;&gt;&lt;b&gt;javah -o jni/JNITest.hpp -classpath bin/classes com.fumobox.jnitest.Test&lt;/b&gt;
&lt;/pre&gt;
問題なければ、何も表示されません。成功すると、jniディレクトリ内に&lt;b&gt;JNITest.hpp&lt;/b&gt;というファイルが追加されます。ADTから見ると、JNITest.hppにエラーがあるように見えますが、ここでADTを再起動すると、エラー表示は消えます。コンソールにCannot run program &quot;cygpath&quot;というメッセージが表示されますが、これも無視しても問題ないようです。&lt;br /&gt;
&lt;br /&gt;
JNITest.cppは下のように編集してください。関数名はJNITest.hppからコピーしました。&lt;br /&gt;
&lt;pre class=&quot;fumopre&quot;&gt;#include &amp;lt;jni.h&amp;gt;
#include &amp;lt;JNITest.hpp&amp;gt;
JNIEXPORT jint JNICALL Java_com_fumobox_jnitest_Test_test01(JNIEnv *env, jobject o, jint value) {
 return value * 7;
}
&lt;/pre&gt;
これで作業は完了です。実機かエミューレーターでアプリを起動してください。&lt;br/&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7Li3xL8oqts2hSQdsV_dPEiwfKuCkbuITXU2unyhuV0TyUr_HVftj2ODgJRMyFNP8uZoSjdlvHZyl64hjfLlHAK376mTXNe_y2J61-uS-4idKLtz90TR_66Yjgpn6N7npDtF3QiNQfzQ/s1600/ndk_result.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7Li3xL8oqts2hSQdsV_dPEiwfKuCkbuITXU2unyhuV0TyUr_HVftj2ODgJRMyFNP8uZoSjdlvHZyl64hjfLlHAK376mTXNe_y2J61-uS-4idKLtz90TR_66Yjgpn6N7npDtF3QiNQfzQ/s320/ndk_result.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;Result: 63&lt;/b&gt;と表示されていたら、実行は成功です。
&lt;br /&gt;
&lt;br /&gt;
参考になったサイトはこちら&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://digital4johnny.blog.fc2.com/blog-entry-109.html&quot; target=&quot;_blank&quot;&gt;http://digital4johnny.blog.fc2.com/blog-entry-109.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
試してみて、もしうまくいったら、こちらにコメントいただけるとうれしなっしー&lt;br /&gt;
&lt;br /&gt;
&lt;hr/&gt;&lt;br/&gt;
&lt;b&gt;20140209&lt;/b&gt;&lt;br/&gt;
作業順が間違っていたので修正しました。
</content><link rel='replies' type='application/atom+xml' href='http://fumobox.blogspot.com/feeds/2496613004401707525/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://fumobox.blogspot.com/2014/02/android-ndk-2014.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/2496613004401707525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/2496613004401707525'/><link rel='alternate' type='text/html' href='http://fumobox.blogspot.com/2014/02/android-ndk-2014.html' title='わかりやすいAndroid NDK導入手順 2014年版'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12681912253522814402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0i-LR8A01UKpjWJwAsfBt4pcayNKgB49uGRnNr8hVl6SaCb-lpNyVOTXSroY0DuzKj2LHaJ9Mf0KeffREaq8bkyjnXhorfbp4rNsYhd6-MaFsd17fI4kMD8zg998w6mJfGJCJnWa1HsI/s72-c/ndk00.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8334358528889242141.post-1059920592665365910</id><published>2014-02-01T14:53:00.000+09:00</published><updated>2014-02-26T14:21:35.017+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>WebViewを含んだActivityを終了するときに、Window Leakedエラーが発生する</title><content type='html'>WebViewを含んだActivityを終了するときに、こんなエラーが発生してた。&lt;br/&gt;

&lt;pre class=&quot;fumopre&quot;&gt;
02-01 13:14:50.958: E/WindowManager(738): android.view.WindowLeaked: Activity com.fb.fumotrim.ui.FStorageActivity has leaked window android.widget.ZoomButtonsController$Container{426b0148 V.E..... ......I. 0,0-1280,65} that was originally added here
&lt;/pre&gt;

どうやら、ズームボタンを有効にしている際に起きるようで、WebView設定のsetBuiltInZoomControls(true)を設定していると、エラーメッセージが出るまではわかった。調べてみると、同じような症状がstackoverflowにあった。もう、stackoverflow先生に足を向けて寝られないｗ&lt;br/&gt;&lt;br/&gt;

&lt;a href=&quot;http://stackoverflow.com/questions/11889562/webview-with-builtinzoomcontrols-throwing-exceptions-and-crashing&quot; target=&quot;_blank&quot;&gt;http://stackoverflow.com/questions/11889562/webview-with-builtinzoomcontrols-throwing-exceptions-and-crashing&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;

ActivityのonDestroyをオーバーライドすると、エラーが出なくなった。

&lt;pre class=&quot;fumopre&quot;&gt;
@Override
protected void onDestroy() {
 setVisible(false);
 super.onDestroy();
}
&lt;/pre&gt;

どうしてこうなるかはよくわかってないけど、直ってよかった(^^;)</content><link rel='replies' type='application/atom+xml' href='http://fumobox.blogspot.com/feeds/1059920592665365910/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://fumobox.blogspot.com/2014/02/webviewactivitywindow-leaked.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/1059920592665365910'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/1059920592665365910'/><link rel='alternate' type='text/html' href='http://fumobox.blogspot.com/2014/02/webviewactivitywindow-leaked.html' title='WebViewを含んだActivityを終了するときに、Window Leakedエラーが発生する'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12681912253522814402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8334358528889242141.post-7465903428971277631</id><published>2014-01-31T16:47:00.000+09:00</published><updated>2014-02-26T14:23:11.127+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OpenFL"/><title type='text'>OpenFLをちょっと触ってみた</title><content type='html'>OpenFLに関する記事に興味が湧いて、ちょっと触ってみた。ほんとにちょっとだけ。&lt;br/&gt;&lt;br/&gt;

&lt;a href=&quot;http://www.openfl.org/download/&quot; target=&quot;_blank&quot;&gt;http://www.openfl.org/download/&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;


特にエラーもなく、Run a Sampleまで、あっさり進めることができた。中身はどんなコードなのかなと思って、Main.hxってファイルを開いてみると、&lt;br/&gt;

&lt;pre class=&quot;fumopre&quot;&gt;
package;

import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.display.Sprite;
import openfl.Assets;

class Main extends Sprite {
 public function new () {
  super ();
  
  var bitmap = new Bitmap (Assets.getBitmapData (&quot;assets/openfl.png&quot;));
  addChild (bitmap);
  
  bitmap.x = (stage.stageWidth - bitmap.width) / 2;
  bitmap.y = (stage.stageHeight - bitmap.height) / 2;
 }
}
&lt;/pre&gt;

昔、頑張って勉強したAction Scriptとそっくり。Action Scriptは、iOSがFlashを表示できないので、すっかり使わなくなってた。これなら、少し思い出すだけでスラスラ書けそうだ。</content><link rel='replies' type='application/atom+xml' href='http://fumobox.blogspot.com/feeds/7465903428971277631/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://fumobox.blogspot.com/2014/01/openfl.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/7465903428971277631'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/7465903428971277631'/><link rel='alternate' type='text/html' href='http://fumobox.blogspot.com/2014/01/openfl.html' title='OpenFLをちょっと触ってみた'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12681912253522814402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8334358528889242141.post-8553148900480752591</id><published>2014-01-30T11:01:00.000+09:00</published><updated>2014-02-26T14:21:35.046+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>Toastをキャンセルする</title><content type='html'>Toastを連続で表示させると、前のToastが消えるまで、新しいToastが表示されないので、Toastの渋滞が起きる。解決するには、下のようなコードをActivityに記述すると良い。&lt;br/&gt;


&lt;pre class=&quot;fumopre&quot;&gt;
private static Toast t;

public void toast(String message) {
 if(t != null) {
  t.cancel();
 }
 t = Toast.makeText(this, message, Toast.LENGTH_LONG);
 t.show();
}
&lt;/pre&gt;

参考元:&lt;br/&gt;
&lt;a href=&quot;http://stackoverflow.com/questions/6744147/cancelling-an-already-open-toast-in-android&quot; target=&quot;_blank&quot;&gt;http://stackoverflow.com/questions/6744147/cancelling-an-already-open-toast-in-android&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://fumobox.blogspot.com/feeds/8553148900480752591/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://fumobox.blogspot.com/2014/01/toast.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/8553148900480752591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/8553148900480752591'/><link rel='alternate' type='text/html' href='http://fumobox.blogspot.com/2014/01/toast.html' title='Toastをキャンセルする'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12681912253522814402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8334358528889242141.post-386033627747678836</id><published>2014-01-28T16:32:00.000+09:00</published><updated>2014-01-28T16:35:24.225+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Fumotrim制作メモ"/><title type='text'>地形を作ろう！</title><content type='html'>まもなく公開予定のFumotrim 1.7.4では、地形作成機能が追加されます。プリミティブ作成メニューから、下のようなランダムな地形を作成できます。&lt;br/&gt;&lt;br/&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGGCK23UTcnqtOzEr5evKX9lqwkzyQ9A_wy0vY7axp-M0XRB-D3VMD4zQNhJ46kCKKyvTgiqapMZ-5xljKSwNDyKhzkY7KnqZ36m9mPZETGvPqssT2kOKYlR6lyGU7PHyxp0Ol6labbSc/s1600/terrain00.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGGCK23UTcnqtOzEr5evKX9lqwkzyQ9A_wy0vY7axp-M0XRB-D3VMD4zQNhJ46kCKKyvTgiqapMZ-5xljKSwNDyKhzkY7KnqZ36m9mPZETGvPqssT2kOKYlR6lyGU7PHyxp0Ol6labbSc/s320/terrain00.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br/&gt;

地形の解像度と平滑度を調整できます。フルバージョンでは高解像度の地形を作成できます。ランダムな地形は、Perlin Noiseを使って作成しています。&lt;br/&gt;&lt;br/&gt;

Fumotrimで作れるプリミティブ一覧はこちら。&lt;br/&gt;
&lt;a href=&quot;http://fumotrim.net/fumotrim/primitive-generator&quot; target=&quot;_blank&quot;&gt;http://fumotrim.net/fumotrim/primitive-generator&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;

&lt;hr/&gt;&lt;br/&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbJ4yS5lq-d-TOCZqv4pKKgmUY3rp_VG_r34ifgikjCwrPpuazssDMmcqyqCKDmS2qIrpmebPy0n54uUol66jJkpj7P7crOkTIGk_WbgLDcmsyrhcmeQ1dxi5LWujfot95PWuaka_SXTo/s1600/terrain03.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbJ4yS5lq-d-TOCZqv4pKKgmUY3rp_VG_r34ifgikjCwrPpuazssDMmcqyqCKDmS2qIrpmebPy0n54uUol66jJkpj7P7crOkTIGk_WbgLDcmsyrhcmeQ1dxi5LWujfot95PWuaka_SXTo/s320/terrain03.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br/&gt;

本当はここまで細かい地形を作れけど、メモリを激しく消費するので、一段階低い解像度を限度にしています。そのうち最高解像度にも対応したいな。</content><link rel='replies' type='application/atom+xml' href='http://fumobox.blogspot.com/feeds/386033627747678836/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://fumobox.blogspot.com/2014/01/blog-post_28.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/386033627747678836'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/386033627747678836'/><link rel='alternate' type='text/html' href='http://fumobox.blogspot.com/2014/01/blog-post_28.html' title='地形を作ろう！'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12681912253522814402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGGCK23UTcnqtOzEr5evKX9lqwkzyQ9A_wy0vY7axp-M0XRB-D3VMD4zQNhJ46kCKKyvTgiqapMZ-5xljKSwNDyKhzkY7KnqZ36m9mPZETGvPqssT2kOKYlR6lyGU7PHyxp0Ol6labbSc/s72-c/terrain00.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8334358528889242141.post-2433985343104869783</id><published>2014-01-27T09:50:00.000+09:00</published><updated>2014-02-26T14:21:35.023+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Perlin Noise"/><title type='text'>Perlin Noise Generator</title><content type='html'>Perlin Noiseについて勉強しようと思ったので、技術検証用にアプリも作ってみました。ダウンロードは下のリンクから！&lt;br /&gt;&lt;br /&gt;

&lt;a href=&quot;https://play.google.com/store/apps/details?id=com.fumobox.pngen&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Android app on Google Play&quot; src=&quot;https://developer.android.com/images/brand/en_app_rgb_wo_60.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;

&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxH3VroLdAt7-kudDPAyP33JqmIcRzEnGpEunQUycjQhfFJdNmHMNuAea5cjFO1meg2Q3m3L3TYza55TEg7uSJHrlq6FW-bSC2FTbBWOMcpLTLrWmEQCJGkIqLnBOVAkL1c7JXLk6gDo0/s1600/pn20.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxH3VroLdAt7-kudDPAyP33JqmIcRzEnGpEunQUycjQhfFJdNmHMNuAea5cjFO1meg2Q3m3L3TYza55TEg7uSJHrlq6FW-bSC2FTbBWOMcpLTLrWmEQCJGkIqLnBOVAkL1c7JXLk6gDo0/s320/pn20.png&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgikv2GcayPtFwAHoL49okNPBfLpVYxzWVore9kUNkVV-R5NkPkmg1lub3KWYvMP3LL7Nk7xj33D4ILXPwnMjz7FH9klyPSYo_DHrUonh1FsvUK0jEf0K-YGFtXaeYTe7yeAIZLeUrWTuI/s1600/pn21.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgikv2GcayPtFwAHoL49okNPBfLpVYxzWVore9kUNkVV-R5NkPkmg1lub3KWYvMP3LL7Nk7xj33D4ILXPwnMjz7FH9klyPSYo_DHrUonh1FsvUK0jEf0K-YGFtXaeYTe7yeAIZLeUrWTuI/s320/pn21.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;

このようなPerlin Noise画像を作成できます。作成した画像(png)の送信もできます。処理時間もわかるので、簡単なベンチマークにも使えます。&lt;br /&gt;&lt;br /&gt;

&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKX8efRjRkzj21Vg3-IubnHPIfm3AUU7k88VzT5lirvsDlNFYT1BGi3xUxUh3QcNzCq7mtpKycs26k5ifcKHg4UgVLxki1HKfZiMz_nE_zSfCOSmn1POLY-CEbyQJ3MIILPUAHkteZE3Y/s1600/pn22.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKX8efRjRkzj21Vg3-IubnHPIfm3AUU7k88VzT5lirvsDlNFYT1BGi3xUxUh3QcNzCq7mtpKycs26k5ifcKHg4UgVLxki1HKfZiMz_nE_zSfCOSmn1POLY-CEbyQJ3MIILPUAHkteZE3Y/s320/pn22.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;

MenuのPreferenceから、画像サイズ、オクターブなどを調整できます。&lt;br /&gt;&lt;br /&gt;

&lt;hr/&gt;
Perlin Noiseに関して参考にしたサイトはこちら。&lt;br /&gt;&lt;br /&gt;

Perlin Noiseについて&lt;br/&gt;
&lt;a href=&quot;http://freespace.virgin.net/hugo.elias/models/m_perlin.htm&quot; target=&quot;_blank&quot;&gt;http://freespace.virgin.net/hugo.elias/models/m_perlin.htm&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;

参考にしたコード。C#はJavaとそっくりなので簡単に移植できた。&lt;br/&gt;

&lt;a href=&quot;http://devmag.org.za/2009/04/25/perlin-noise/&quot; target=&quot;_blank&quot;&gt;http://devmag.org.za/2009/04/25/perlin-noise/&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;

3D版。今回は使っていないけど、そのうち使ってみたい。&lt;br/&gt;
&lt;a href=&quot;http://mrl.nyu.edu/~perlin/noise/&quot; target=&quot;_blank&quot;&gt;http://mrl.nyu.edu/~perlin/noise/&lt;/a&gt;&lt;br/&gt;</content><link rel='replies' type='application/atom+xml' href='http://fumobox.blogspot.com/feeds/2433985343104869783/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://fumobox.blogspot.com/2014/01/perlin-noise-generator.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/2433985343104869783'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/2433985343104869783'/><link rel='alternate' type='text/html' href='http://fumobox.blogspot.com/2014/01/perlin-noise-generator.html' title='Perlin Noise Generator'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12681912253522814402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxH3VroLdAt7-kudDPAyP33JqmIcRzEnGpEunQUycjQhfFJdNmHMNuAea5cjFO1meg2Q3m3L3TYza55TEg7uSJHrlq6FW-bSC2FTbBWOMcpLTLrWmEQCJGkIqLnBOVAkL1c7JXLk6gDo0/s72-c/pn20.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8334358528889242141.post-3094233444655226059</id><published>2014-01-24T00:54:00.002+09:00</published><updated>2014-02-26T14:21:35.036+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>targetSdkVersionを19にすると、Preference画面で強制終了する</title><content type='html'>Android Manufestのandroid:targetSdkVersionを19にすると、Preference画面を開いて操作しようとすると強制終了するようになった。調べてみると、これが原因らしい。&lt;br /&gt;
&lt;pre class=&quot;fumopre&quot;&gt;The default result of {android.preference.PreferenceActivity#isValidFragment PreferenceActivity.isValueFragment} becomes false instead of true.
&lt;/pre&gt;
引用: &lt;a href=&quot;http://developer.android.com/reference/android/os/Build.VERSION_CODES.html#KITKAT&quot; target=&quot;_blank&quot;&gt;http://developer.android.com/reference/android/os/Build.VERSION_CODES.html#KITKAT&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;

エラーメッセージをよく見るとこんな行があった。&lt;br/&gt;
&lt;pre class=&quot;fumopre&quot;&gt;
01-24 00:35:10.461: E/AndroidRuntime(29584): Caused by: java.lang.RuntimeException: Subclasses of PreferenceActivity must override isValidFragment(String) to verify that the Fragment class is valid! com.fb.fumotrim.ui.FTPreferenceActivity has not checked if fragment com.fb.fumotrim.ui.FTPreferenceActivity$PF_System is valid.
&lt;/pre&gt;

PreferenceActivityのサブクラスを作る時は、isValidFragment(String)をオーバーライドして、PreferenceFragmentがvalidかどうか検証すれよってことだ。&lt;br/&gt;

それで、どうやって書けばいいかと調べていたら、stackoverflowに書いてあった。流石stackoverflow！&lt;br/&gt;&lt;br/&gt;

&lt;a href=&quot;http://stackoverflow.com/questions/19973034/isvalidfragment-android-api-19&quot; target=&quot;_blank&quot;&gt;http://stackoverflow.com/questions/19973034/isvalidfragment-android-api-19&lt;/a&gt;&lt;br/&gt;

&lt;pre class=&quot;fumopre&quot;&gt;
protected boolean isValidFragment (String fragmentName)
{
  if(StockPreferenceFragment.class.getName().equals(fragmentName))
      return true;
  return false;

}
&lt;/pre&gt;

こんなかんじの内容にすれば良いらしい。フラグメント名をチェックするだけ。proguardを使っている場合は、クラス名の比較に失敗するようなので、proguard.cfgに以下のような例外を追加すると良い。&lt;br/&gt;

&lt;pre class=&quot;fumopre&quot;&gt;
-keep public class com.fullpackage.MyPreferenceFragment
&lt;/pre&gt;

</content><link rel='replies' type='application/atom+xml' href='http://fumobox.blogspot.com/feeds/3094233444655226059/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://fumobox.blogspot.com/2014/01/targetsdkversion19preference.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/3094233444655226059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/3094233444655226059'/><link rel='alternate' type='text/html' href='http://fumobox.blogspot.com/2014/01/targetsdkversion19preference.html' title='targetSdkVersionを19にすると、Preference画面で強制終了する'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12681912253522814402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8334358528889242141.post-5307210119442201470</id><published>2014-01-23T12:26:00.000+09:00</published><updated>2014-02-26T14:21:35.040+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Fumotrim制作メモ"/><title type='text'>Fumotrim 1.7.2</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2b7vieqineLd5YZzxUotJ8LOKkphuvFWQSSBhtsNQQM1KnjsEjxrtcv5NYk5GsMSSoMCS9OzxRskdixkbJYxIrPz-6_DSlnXocqVqmzOHZYIKtQU8qPo3wDnz-xMaoONQuUJO1YtQQr8/s1600/ico40.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2b7vieqineLd5YZzxUotJ8LOKkphuvFWQSSBhtsNQQM1KnjsEjxrtcv5NYk5GsMSSoMCS9OzxRskdixkbJYxIrPz-6_DSlnXocqVqmzOHZYIKtQU8qPo3wDnz-xMaoONQuUJO1YtQQr8/s1600/ico40.png&quot; height=&quot;200&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Fumotrim 1.7.2を公開しました。&lt;br /&gt;
&lt;br /&gt;
今回は、タッチ操作の改良と、アイソメトリック図のバグ修正と、パラメーター設定機能の追加がメインです。パラメーター設定機能はフルバージョンのみです。&lt;br /&gt;
&lt;br /&gt;
ブロック長押しがしにくいのと、ズーム時にカメラがブレる問題があったので修正しました。これで操作が以前よりも快適になるはず！タッチ操作は、APIにあまり頼らずに、自前で実装しているので、初歩的な不具合が多かった...&lt;br /&gt;
&lt;br /&gt;
アイソメトリック図は、面の前後判定にバグがあったので修正しました。さらに、前後判定アルゴリズムを見直したので、以前よりも描画が高速になりました。&lt;br /&gt;
&lt;br /&gt;
Preferenceから、イメージのサイズ、アンチエイリアス、ボーダーの有無などを設定できます。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmkzYsImdsgnCxieY3mkXPBS-VV5AMD4cY8Ly7CvgaKxeBurvwxefxAjD8uZmROfniqD-IGDTId1I_JPnSByPKo-nUdxZS2X1-2nvjYkWjpF_mUQce2uX1wWkYHVAjZcA5mRYBvOyvfFI/s1600/ico41.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmkzYsImdsgnCxieY3mkXPBS-VV5AMD4cY8Ly7CvgaKxeBurvwxefxAjD8uZmROfniqD-IGDTId1I_JPnSByPKo-nUdxZS2X1-2nvjYkWjpF_mUQce2uX1wWkYHVAjZcA5mRYBvOyvfFI/s1600/ico41.png&quot; height=&quot;320&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
イメージのサイズは、当初10,000まで対応しようと思っていたのですが、端末の処理速度的に厳しかったので、3,000までに制限しました。&lt;br /&gt;
&lt;br /&gt;
新しいアイソメトリック図の描画システムを使って、プリミティブ一覧ページも更新しました。&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://fumotrim.net/fumotrim/primitive-generator&quot; target=&quot;_blank&quot;&gt;http://fumotrim.net/fumotrim/primitive-generator&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://fumobox.blogspot.com/feeds/5307210119442201470/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://fumobox.blogspot.com/2014/01/fumotrim-172.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/5307210119442201470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8334358528889242141/posts/default/5307210119442201470'/><link rel='alternate' type='text/html' href='http://fumobox.blogspot.com/2014/01/fumotrim-172.html' title='Fumotrim 1.7.2'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12681912253522814402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2b7vieqineLd5YZzxUotJ8LOKkphuvFWQSSBhtsNQQM1KnjsEjxrtcv5NYk5GsMSSoMCS9OzxRskdixkbJYxIrPz-6_DSlnXocqVqmzOHZYIKtQU8qPo3wDnz-xMaoONQuUJO1YtQQr8/s72-c/ico40.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>