<?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-7895237502018300371</id><updated>2024-11-01T19:34:30.785+09:00</updated><category term="Android"/><category term="CoronaSDK"/><category term="JavaScript"/><category term="iPhone"/><category term="Google App Engine"/><category term="Twitter"/><category term="JQuery"/><category term="Java"/><category term="Objective-C"/><category term="Python"/><category term="Titanium"/><category term="AIR for Android"/><category term="Bot"/><category term="Flash"/><category term="JSON"/><category term="C"/><category term="Facebook"/><category term="Gaelyk"/><category term="Groovy"/><category term="JQuery Mobile"/><category term="Node.js"/><category term="PHP"/><category term="Sqlite3"/><category term="T2"/><category term="WiMAX"/><category term="XCode"/><category term="XML"/><category term="bmp"/><category term="heroku"/><category term="html5"/><category term="iUI"/><category term="ruby"/><category term="sinatra"/><title type='text'>Growth Curve</title><subtitle type='html'>変化できたものだけが生き残れる。故に成長曲線を描き続けたい…</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://keygx.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://keygx.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>keygx</name><uri>http://www.blogger.com/profile/11289141703356272082</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHsNSbCqPVD0qvwNl2kNLp37ZuITqojAm_5qa69HZax1N7N1Ffp5fvzynNaH5ZReKOuIovWn0zg1GzX6zMZPOI1_ddhr51G5rQ-TnXgUU7VetNbdCwgiiaYHks9YaQqck/s220/kg.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>48</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7895237502018300371.post-4743175362497440943</id><published>2013-03-10T00:11:00.000+09:00</published><updated>2013-03-10T00:11:39.333+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="iPhone"/><category scheme="http://www.blogger.com/atom/ns#" term="Objective-C"/><title type='text'>NSNotificationCenterの通知を受け取るときにちょっとハマったケース</title><summary type="text">非同期で処理を行いたい時には欠かせないNSNotificationCenterですが、とあるケースで通知が受け取れずにハマったので、ブログに書いておこうと思います。

NSNotificationCenterを使う最もポピュラーなケースとしては、非同期で通信を行い（NSObjectのサブクラス等）、受け取った結果を画面（UIViewControllerのサブクラス）に通知して反映する場合だと思います。大抵のサンプルもそれを前提にしていますよね？

今回やりたかったケースでは、画面と通信を行うクラスの間に通信を管理するクラスを作り、画面⇄管理⇄通信というふうに連携します。つまりNSObject→UIViewControllerと通知を投げるパターンの他、NSObject→NSObjectと通知を投げるパターンが発生するのです。

このNSObjectからNSObjectへの通知がくせ者で</summary><link rel='replies' type='application/atom+xml' href='http://keygx.blogspot.com/feeds/4743175362497440943/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://keygx.blogspot.com/2013/03/nsnotificationcenter.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/4743175362497440943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/4743175362497440943'/><link rel='alternate' type='text/html' href='http://keygx.blogspot.com/2013/03/nsnotificationcenter.html' title='NSNotificationCenterの通知を受け取るときにちょっとハマったケース'/><author><name>keygx</name><uri>http://www.blogger.com/profile/11289141703356272082</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHsNSbCqPVD0qvwNl2kNLp37ZuITqojAm_5qa69HZax1N7N1Ffp5fvzynNaH5ZReKOuIovWn0zg1GzX6zMZPOI1_ddhr51G5rQ-TnXgUU7VetNbdCwgiiaYHks9YaQqck/s220/kg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7895237502018300371.post-7484867871694778991</id><published>2012-11-22T16:35:00.000+09:00</published><updated>2012-11-22T17:51:13.923+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Facebook"/><category scheme="http://www.blogger.com/atom/ns#" term="iPhone"/><category scheme="http://www.blogger.com/atom/ns#" term="Objective-C"/><category scheme="http://www.blogger.com/atom/ns#" term="XCode"/><title type='text'>XCodeプロジェクトに Facebook SDK for iOS を同梱する</title><summary type="text">https://developers.facebook.com/docs/getting-started/facebook-sdk-for-ios/3.1/ 
ここ↑のgetting-startedのインストール手順だと、SDKは~/Documents/FacebookSDKにインストールされて、プロジェクトとSDKとはリンクされてるだけです。

SDKの本体は、~/Documents/FacebookSDK/FacebookSDK.framework になるので、
Finder上で組み込みたいプロジェクト（.xcodeprojと同じ階層）にコピーしてから、同じようにプロジェクトに追加します。

XCodeで、TARGETS＞BuildSettings＞Framework Search Pathsの値がそのプロジェクトのあるパスになっていればOKです。
※値としてはこのような変数が設定さ</summary><link rel='replies' type='application/atom+xml' href='http://keygx.blogspot.com/feeds/7484867871694778991/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://keygx.blogspot.com/2012/11/xcode-facebook-sdk-for-ios.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/7484867871694778991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/7484867871694778991'/><link rel='alternate' type='text/html' href='http://keygx.blogspot.com/2012/11/xcode-facebook-sdk-for-ios.html' title='XCodeプロジェクトに Facebook SDK for iOS を同梱する'/><author><name>keygx</name><uri>http://www.blogger.com/profile/11289141703356272082</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHsNSbCqPVD0qvwNl2kNLp37ZuITqojAm_5qa69HZax1N7N1Ffp5fvzynNaH5ZReKOuIovWn0zg1GzX6zMZPOI1_ddhr51G5rQ-TnXgUU7VetNbdCwgiiaYHks9YaQqck/s220/kg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7895237502018300371.post-5201376344126091525</id><published>2012-09-24T19:53:00.001+09:00</published><updated>2012-09-24T19:56:35.293+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="iPhone"/><category scheme="http://www.blogger.com/atom/ns#" term="Objective-C"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>iPhoneアプリからPOSTしたデータの確認</title><summary type="text">iPhoneアプリからサーバへ画像をPOSTする機能を実装しているとき、サーバサイド（今回はPHP）の出力（printやechoなんか）がXCode側で見られなかったので（俺がやり方をしらないだけ？）、サーバ側のテストプログラムでファイルを出力して確認してた。

一応インターフェースは決まっているが、名前ぐらいなので、POSTができない場合に問題を切り分ける必要があった。
つまり、アプリからはちゃんと送れてるぞという主張の根拠を提示したかったわけだw

ネットでvar_dump()をファイル出力する方法を見つけたので、$_REQUESTと$_FILESの情報をそのままvar_dump()してファイルに書き出してみた。拡張子が.htmlなのは、var_dump()して出力される内容がhtmlだったから。ブラウザからも確認しやすくてスゲー便利。var_dump()サイコー！

&amp;lt;?</summary><link rel='replies' type='application/atom+xml' href='http://keygx.blogspot.com/feeds/5201376344126091525/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://keygx.blogspot.com/2012/09/iphonepost.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/5201376344126091525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/5201376344126091525'/><link rel='alternate' type='text/html' href='http://keygx.blogspot.com/2012/09/iphonepost.html' title='iPhoneアプリからPOSTしたデータの確認'/><author><name>keygx</name><uri>http://www.blogger.com/profile/11289141703356272082</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHsNSbCqPVD0qvwNl2kNLp37ZuITqojAm_5qa69HZax1N7N1Ffp5fvzynNaH5ZReKOuIovWn0zg1GzX6zMZPOI1_ddhr51G5rQ-TnXgUU7VetNbdCwgiiaYHks9YaQqck/s220/kg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7895237502018300371.post-8988044568036522547</id><published>2012-07-23T21:54:00.000+09:00</published><updated>2012-07-23T21:54:28.257+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JSON"/><category scheme="http://www.blogger.com/atom/ns#" term="Twitter"/><category scheme="http://www.blogger.com/atom/ns#" term="XML"/><title type='text'>文字実体参照を記号（文字）に置き換える</title><summary type="text">JSONやXMLデータを表示するクライアントを作った時などに、文字実体参照になっている記号がそのまま &amp;amp;amp; とか表示されたりする。
パーサがお利口な場合はよしなに記号に置き換えてくれたりするけど、そうじゃない場合もあるので、その場合は自前で文字列置換を行ってあげる必要がある。

自前のアプリでは今のところ下記について対応していて、必要があれば適宜追加していっている。

&amp;amp;quot;⇒&amp;quot;
&amp;amp;#34;⇒&amp;#34;
&amp;amp;amp;⇒&amp;amp;
&amp;amp;#38;⇒&amp;#38;
&amp;amp;apos;⇒&amp;apos;
&amp;amp;#39;⇒&amp;#39;
&amp;amp;lt;⇒&amp;lt;
&amp;amp;#60;⇒&amp;#60;
&amp;amp;gt;⇒&amp;gt;
&amp;amp;#62;⇒&amp;#62;

てなことを &amp;amp;amp; が表示されちゃってるTwitterアプリを見て思ったりした</summary><link rel='replies' type='application/atom+xml' href='http://keygx.blogspot.com/feeds/8988044568036522547/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://keygx.blogspot.com/2012/07/blog-post.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/8988044568036522547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/8988044568036522547'/><link rel='alternate' type='text/html' href='http://keygx.blogspot.com/2012/07/blog-post.html' title='文字実体参照を記号（文字）に置き換える'/><author><name>keygx</name><uri>http://www.blogger.com/profile/11289141703356272082</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHsNSbCqPVD0qvwNl2kNLp37ZuITqojAm_5qa69HZax1N7N1Ffp5fvzynNaH5ZReKOuIovWn0zg1GzX6zMZPOI1_ddhr51G5rQ-TnXgUU7VetNbdCwgiiaYHks9YaQqck/s220/kg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7895237502018300371.post-6150625309110177995</id><published>2012-06-30T15:54:00.001+09:00</published><updated>2012-06-30T15:54:43.018+09:00</updated><title type='text'>Corona SDKにもNativeExtentionがキター!?</title><summary type="text">6月はこのネタでブログ書けるなと思っていた申請中のアプリがIn Reviewのまま持ち越しとなってしまって、アプリ・リリースのエントリが書けないので別ネタを滑り込みでw

http://docs.coronalabs.com/native/enterprise/
というページがあるという情報を受け見に行ってみると、やっとCorona SDKを拡張できる仕組みが提供されるみたい。＼(^O^)／
（Titanium Mobileでいうところの“Module”、AIRでいうところの“NativeExtention”みたいなものらしい）

そもそも私がCoronaを気に入っている理由はOpenGLベースの描画を使ったアプリをOpenGLの知識無しに比較的簡単に開発できる点にある。
本来Corona SDKは2Dゲーム用のミドルウェアなのでこういった作りなんだけど、ゲーム以外のアプリでも凝ったUI</summary><link rel='replies' type='application/atom+xml' href='http://keygx.blogspot.com/feeds/6150625309110177995/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://keygx.blogspot.com/2012/06/corona-sdknativeextention.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/6150625309110177995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/6150625309110177995'/><link rel='alternate' type='text/html' href='http://keygx.blogspot.com/2012/06/corona-sdknativeextention.html' title='Corona SDKにもNativeExtentionがキター!?'/><author><name>keygx</name><uri>http://www.blogger.com/profile/11289141703356272082</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHsNSbCqPVD0qvwNl2kNLp37ZuITqojAm_5qa69HZax1N7N1Ffp5fvzynNaH5ZReKOuIovWn0zg1GzX6zMZPOI1_ddhr51G5rQ-TnXgUU7VetNbdCwgiiaYHks9YaQqck/s220/kg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7895237502018300371.post-2167158373062286111</id><published>2012-05-09T03:25:00.000+09:00</published><updated>2012-05-09T03:27:02.875+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CoronaSDK"/><title type='text'>Corona SDKでサーバから画像をダウンロードして使う</title><summary type="text">CoronaのAPIリファレンスを眺めていたところ display.loadRemoteImage( ) というAPIを見つけて、「あぁサーバにある画像を読み込んで表示するんだろうな」と内容を確認してみたところ、サンプルに
display.loadRemoteImage( &quot;http://developer.anscamobile.com/demo/hello.png&quot;, &quot;GET&quot;, 
                                               networkListener, &quot;helloCopy.png&quot;, system.TemporaryDirectory, 50, 50 )
とURLとは別に画像ファイル名が指定されていた。もしやと思いざっと解説を確認してみたところ、どうやらサーバにある画像を読み込んで表示するだけではなく、保存もされるらしい。</summary><link rel='replies' type='application/atom+xml' href='http://keygx.blogspot.com/feeds/2167158373062286111/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://keygx.blogspot.com/2012/05/corona-sdk.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/2167158373062286111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/2167158373062286111'/><link rel='alternate' type='text/html' href='http://keygx.blogspot.com/2012/05/corona-sdk.html' title='Corona SDKでサーバから画像をダウンロードして使う'/><author><name>keygx</name><uri>http://www.blogger.com/profile/11289141703356272082</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHsNSbCqPVD0qvwNl2kNLp37ZuITqojAm_5qa69HZax1N7N1Ffp5fvzynNaH5ZReKOuIovWn0zg1GzX6zMZPOI1_ddhr51G5rQ-TnXgUU7VetNbdCwgiiaYHks9YaQqck/s220/kg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7895237502018300371.post-8367611233096735722</id><published>2012-04-25T23:40:00.000+09:00</published><updated>2012-04-25T23:53:00.353+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bmp"/><category scheme="http://www.blogger.com/atom/ns#" term="C"/><title type='text'>今更ながらC言語を勉強した</title><summary type="text">Objective-Cを勉強するにあたって、その前段階としてC言語の勉強をしたので、一応成果的なものを晒しておきます。
※Objective-C内にCが書けたりするのは、Objective-CがCのコンパイラ拡張だからだって初めて知った
※つまりObjective-Cを理解するにはCを理解しておいた方がよいということ

今回ポインタやら構造体について理解できたので、Objective-C以外でも役に立ちそう。
今更だけどC言語やってよかった。

で、その成果ですが、「画像フィルター」的なものをつくってみました。
※当然コマンドラインのアプリケーションですが何か？

以下ソースです。
/* bmpfilter.c
 *
 * Simple BMP filter.
 * 2012/04/24 @keygx
 *
 * compile: $ gcc bmpfilter.c -o </summary><link rel='replies' type='application/atom+xml' href='http://keygx.blogspot.com/feeds/8367611233096735722/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://keygx.blogspot.com/2012/04/c.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/8367611233096735722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/8367611233096735722'/><link rel='alternate' type='text/html' href='http://keygx.blogspot.com/2012/04/c.html' title='今更ながらC言語を勉強した'/><author><name>keygx</name><uri>http://www.blogger.com/profile/11289141703356272082</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHsNSbCqPVD0qvwNl2kNLp37ZuITqojAm_5qa69HZax1N7N1Ffp5fvzynNaH5ZReKOuIovWn0zg1GzX6zMZPOI1_ddhr51G5rQ-TnXgUU7VetNbdCwgiiaYHks9YaQqck/s220/kg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7895237502018300371.post-2107863991780363028</id><published>2012-03-31T16:34:00.000+09:00</published><updated>2012-04-25T23:41:18.274+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="heroku"/><category scheme="http://www.blogger.com/atom/ns#" term="ruby"/><category scheme="http://www.blogger.com/atom/ns#" term="sinatra"/><title type='text'>herokuデビューしました</title><summary type="text">
Android版「ぐぐっと！急上昇ワード Ver.1.0.0」のリリースと同時に、サーバサイドがherokuへと切り替わり、herokuデビューをしました。

2010/10/07のポスト「ぐぐっと！急上昇ワード Ver.0.6.0」&amp;nbsp;にもあるとおり、これまでサーバサイド側はGoogle App Engineを使ってきた「ぐぐっと！急上昇ワード」ですが、プログラムをsinatraで書き直し、herokuで提供することにしました。
さらに今回サーバサイド側に機能追加を実施し、これまでのデータの加工および端末へのレスポンスに加え、過去のランキングデータを閲覧できるようになっています。

別にherokuに乗り換えたのはApp Engineが嫌いになった訳ではなく、機能追加を検討するにあたり、当初シンプルであったアプリもアップデートを重ね機能を追加しすぎた感があるので、これ以上</summary><link rel='replies' type='application/atom+xml' href='http://keygx.blogspot.com/feeds/2107863991780363028/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://keygx.blogspot.com/2012/03/heroku.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/2107863991780363028'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/2107863991780363028'/><link rel='alternate' type='text/html' href='http://keygx.blogspot.com/2012/03/heroku.html' title='herokuデビューしました'/><author><name>keygx</name><uri>http://www.blogger.com/profile/11289141703356272082</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHsNSbCqPVD0qvwNl2kNLp37ZuITqojAm_5qa69HZax1N7N1Ffp5fvzynNaH5ZReKOuIovWn0zg1GzX6zMZPOI1_ddhr51G5rQ-TnXgUU7VetNbdCwgiiaYHks9YaQqck/s220/kg.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWdXGX28PWyOcc4ryfjsMCBWGryPuGLI0vmDTskJFhluGk5RL6wS3vaD4IAPEHJUA3w7BBf8jG986qAjL6-06FGjW-o6auHwM58O31_CIkqenCIXlZCSYpE4EJc2-ZRlAMIIeGLgYCj_nu/s72-c/device-2012-03-31-161530.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7895237502018300371.post-2700138626945996185</id><published>2012-02-09T17:29:00.000+09:00</published><updated>2012-02-10T02:09:07.890+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><title type='text'>「ぐぐっと！急上昇ワード Android」の誕生について。ちょっと昔話</title><summary type="text">
10万ダウンロードというひとつの区切りを迎えた今、ちょっとこのアプリについて振り返ってみたいと思います。
（Androlibの情報によると、Android Marketにてダウンロード数が50,000を超えるアプリの割合は3.8％とのこと）

まずこのアプリをひとことで説明すると「トレンドキーワード検索・共有アプリ」です。
しかし最初からこのアイデアがあり、実現しようとアプリをつくったわけではありません。
（AndroidをターゲットにしたのはJavaの方がなじみがあったからですが）

まず最初に考えたのは「できるだけ端末から削除されないようなアプリをつくろう」というものでした。
一発ネタ的なアプリはおもしろいけどすぐ飽きてしまうし、誰もが使うような定番アプリは競争が激しい。
そこで何度も使えて、消さずに残しておいてもいいやと思ってもらえるようなアプリのネタを考えることにしました。

</summary><link rel='replies' type='application/atom+xml' href='http://keygx.blogspot.com/feeds/2700138626945996185/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://keygx.blogspot.com/2012/02/android.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/2700138626945996185'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/2700138626945996185'/><link rel='alternate' type='text/html' href='http://keygx.blogspot.com/2012/02/android.html' title='「ぐぐっと！急上昇ワード Android」の誕生について。ちょっと昔話'/><author><name>keygx</name><uri>http://www.blogger.com/profile/11289141703356272082</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHsNSbCqPVD0qvwNl2kNLp37ZuITqojAm_5qa69HZax1N7N1Ffp5fvzynNaH5ZReKOuIovWn0zg1GzX6zMZPOI1_ddhr51G5rQ-TnXgUU7VetNbdCwgiiaYHks9YaQqck/s220/kg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7895237502018300371.post-8044478973914962594</id><published>2012-02-09T03:14:00.000+09:00</published><updated>2012-02-10T02:09:29.032+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><title type='text'>「ぐぐっと！急上昇ワード Android」10万ダウンロード突破</title><summary type="text">Androidアプリを公開しましたのエントリで初登場した「ぐぐっと！急上昇ワード」が10万ダウンロード突破しました。（昔のエントリには今みるとなつかしい画面がw）

お使いいただいているユーザの皆様をはじめ、少しでも興味を持ってダウンロードしてくれた方、レビューに取り上げていただいたサイトおよびメディアの方々に改めて感謝申し上げます。

公開してから1ヶ月で5000ダウンロードを超えたので、当時として順調な滑り出しと思います。
なにせAndroid OS 1.6の時代、ほとんどはdocomo SO-01B（Xperia X10）のユーザです。
（当時はアプリを日本にしか配信していませんでした）

そしてリリースから1年後、機能追加も一段落しダウンロード数は7万を超えています。
また、この時のアップデートでアイコンのデザインを変更しました。

そしてさらに10ヶ月、10万ダウンロード突破</summary><link rel='replies' type='application/atom+xml' href='http://keygx.blogspot.com/feeds/8044478973914962594/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://keygx.blogspot.com/2012/02/android10.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/8044478973914962594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/8044478973914962594'/><link rel='alternate' type='text/html' href='http://keygx.blogspot.com/2012/02/android10.html' title='「ぐぐっと！急上昇ワード Android」10万ダウンロード突破'/><author><name>keygx</name><uri>http://www.blogger.com/profile/11289141703356272082</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHsNSbCqPVD0qvwNl2kNLp37ZuITqojAm_5qa69HZax1N7N1Ffp5fvzynNaH5ZReKOuIovWn0zg1GzX6zMZPOI1_ddhr51G5rQ-TnXgUU7VetNbdCwgiiaYHks9YaQqck/s220/kg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7895237502018300371.post-4430731669661248584</id><published>2012-02-02T22:08:00.000+09:00</published><updated>2012-02-02T22:09:33.099+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="CoronaSDK"/><category scheme="http://www.blogger.com/atom/ns#" term="iPhone"/><title type='text'>Corona SDKで日本語のアプリ名をつける方法</title><summary type="text">昨日の勉強会でも質問に挙がっていましたが、最初問題になるところですよね。
ということで現状私がやっている方法をまとめてみました。


まずはiOSの場合。

build.settingsのplistに&quot;CFBundleLocalizations&quot;の設定を追加します。
下記の場合は&quot;ja&quot;と&quot;en&quot;を設定しました。
※plist周りについてはネイティブでの開発の情報をググるといいと思います

--build.settings（抜粋）
settings =
{
  ...
  iphone =
  {
    plist =
    {
      CFBundleLocalizations = {
        &quot;ja&quot;,
        &quot;en&quot;,
      },
      ...
  },
  ...
}
さらに追加した言語にあわせ下記のようにファイル
ja.lproj &amp;gt;</summary><link rel='replies' type='application/atom+xml' href='http://keygx.blogspot.com/feeds/4430731669661248584/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://keygx.blogspot.com/2012/02/corona-sdk.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/4430731669661248584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/4430731669661248584'/><link rel='alternate' type='text/html' href='http://keygx.blogspot.com/2012/02/corona-sdk.html' title='Corona SDKで日本語のアプリ名をつける方法'/><author><name>keygx</name><uri>http://www.blogger.com/profile/11289141703356272082</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHsNSbCqPVD0qvwNl2kNLp37ZuITqojAm_5qa69HZax1N7N1Ffp5fvzynNaH5ZReKOuIovWn0zg1GzX6zMZPOI1_ddhr51G5rQ-TnXgUU7VetNbdCwgiiaYHks9YaQqck/s220/kg.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXcxkgeTeav7snJKEKbyziJPgGeK8utymjMy7O40sb_uxa_BaVnzkGY3Ibpr7i8bZR3fwfQtLTuuO5O5CtPkRYgoQJU72dPcL-pgMIAtkU5kq_dQXpvZuZklvPCuh0m7_PWC93aRyZy0nx/s72-c/file.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7895237502018300371.post-3301015770182603319</id><published>2012-02-02T02:28:00.001+09:00</published><updated>2012-02-02T02:56:01.487+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CoronaSDK"/><title type='text'>Storyboard API [Corona SDK]</title><summary type="text">2/1に渋谷のGMOさんで開催されたCoronaSDK 勉強会 in 渋谷にてLTをしてきました。

日本Coronaの会の山本さんから「LTしませんか？」と振っていただいたので、せっかくの機会なので軽くお話しさせていただいた次第です。

お題は最近Corona SDKに実装された「Storyboard API」にしました。
※iOS5のStoryboardとは別物です

このAPIは以前紹介したDirector Classの機能を本家が実装したもので、自分自身でも調査の必要があったのと、&quot;Hello World&quot;の次には、こういった「画面遷移や画面管理の機能を勉強すべき」と思っているので、これからCorona SDKをやってみようという方には良いのでは？と思ったからです。

スライドはこちらになります。
Storyboard  
View more presentations from</summary><link rel='replies' type='application/atom+xml' href='http://keygx.blogspot.com/feeds/3301015770182603319/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://keygx.blogspot.com/2012/02/storyboard-api-corona-sdk.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/3301015770182603319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/3301015770182603319'/><link rel='alternate' type='text/html' href='http://keygx.blogspot.com/2012/02/storyboard-api-corona-sdk.html' title='Storyboard API [Corona SDK]'/><author><name>keygx</name><uri>http://www.blogger.com/profile/11289141703356272082</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHsNSbCqPVD0qvwNl2kNLp37ZuITqojAm_5qa69HZax1N7N1Ffp5fvzynNaH5ZReKOuIovWn0zg1GzX6zMZPOI1_ddhr51G5rQ-TnXgUU7VetNbdCwgiiaYHks9YaQqck/s220/kg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7895237502018300371.post-1700180240927148170</id><published>2012-01-11T16:27:00.000+09:00</published><updated>2012-01-11T16:27:59.789+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CoronaSDK"/><title type='text'>Spriteloqを使ってみた</title><summary type="text">Corona SDKは2Dゲームエンジンといってよい（それだけじゃないですが）開発環境なので、Sprite Sheetの機能を持っています。
http://developer.anscamobile.com/reference/index/sprite

Sprite Sheetを利用することでアニメーションが実現できるわけですが、アプリ開発においては、そのアニメーションの素材となる画像をどうやって用意するかということも重要になります。

さて皆さんもご存じのように、Flashというアニメーション制作ツールがあります。
おそらく（間違いなく？）世界で最も使われているアニメーション制作ツールでしょう。

そこで『Spliteloq』です。
Flashで作成したアニメーションをCorona SDKのSprite Sheetへと出力できるツールです。
http://</summary><link rel='replies' type='application/atom+xml' href='http://keygx.blogspot.com/feeds/1700180240927148170/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://keygx.blogspot.com/2012/01/spriteloq.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/1700180240927148170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/1700180240927148170'/><link rel='alternate' type='text/html' href='http://keygx.blogspot.com/2012/01/spriteloq.html' title='Spriteloqを使ってみた'/><author><name>keygx</name><uri>http://www.blogger.com/profile/11289141703356272082</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHsNSbCqPVD0qvwNl2kNLp37ZuITqojAm_5qa69HZax1N7N1Ffp5fvzynNaH5ZReKOuIovWn0zg1GzX6zMZPOI1_ddhr51G5rQ-TnXgUU7VetNbdCwgiiaYHks9YaQqck/s220/kg.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/W4eHiSqb29M/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7895237502018300371.post-1582256486321420977</id><published>2012-01-04T03:38:00.000+09:00</published><updated>2012-01-04T03:38:04.385+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="CoronaSDK"/><category scheme="http://www.blogger.com/atom/ns#" term="iPhone"/><title type='text'>アイコン／スプラッシュ画像の確認にCorona SDKを使う</title><summary type="text">スマートフォン関連のデザインをやっていると、PCの画面で見ている時と、実際にデバイス上に落とし込んで見ている時の印象の違いに「ほぅ！」って思うことも多々あります。（※イメージと違うわーってことです）

特にアイコンやスプラッシュ画像をデザインする際は、ロゴが潰れてないか、文字が読めるのか、またiPhone／iPad／Androidで画面サイズや画角が異なっているので、それぞれにバランスを調整しつつレイアウトしたりと（単純にリサイズしているだけじゃないんですよー。下記の画像を見比べてみてくださいねw）、気を遣う部分も多いので、必ず実機にインストールした状態での確認が不可欠です。

自作のアプリであれば開発の最終段階あたりで作業するので、実機にインストールしての確認も何ら問題なくできるのですが、アイコン／スプラッシュ画像のデザインのみ依頼を受けた場合等、組み込むアプリが手元にない場合はダミー</summary><link rel='replies' type='application/atom+xml' href='http://keygx.blogspot.com/feeds/1582256486321420977/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://keygx.blogspot.com/2012/01/corona-sdk.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/1582256486321420977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/1582256486321420977'/><link rel='alternate' type='text/html' href='http://keygx.blogspot.com/2012/01/corona-sdk.html' title='アイコン／スプラッシュ画像の確認にCorona SDKを使う'/><author><name>keygx</name><uri>http://www.blogger.com/profile/11289141703356272082</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHsNSbCqPVD0qvwNl2kNLp37ZuITqojAm_5qa69HZax1N7N1Ffp5fvzynNaH5ZReKOuIovWn0zg1GzX6zMZPOI1_ddhr51G5rQ-TnXgUU7VetNbdCwgiiaYHks9YaQqck/s220/kg.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidYlkyfdJr6bSwz28Kw0ijgeOiSHBcD5ywtvcIMx9cdh0b6X1rIxpxBxHLwlJ-uUyxMH39Z0Ssd36VGAEWzSXw_HC3XF7Fn70ygUX_Yl64OfPtH84EJdFJ57hco2LOvfhv_UMJRY4z2YkW/s72-c/icon_splash.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7895237502018300371.post-7041061742053838617</id><published>2012-01-01T17:21:00.001+09:00</published><updated>2012-01-01T19:09:34.271+09:00</updated><title type='text'>2012年 新年のごあいさつ</title><summary type="text">あけましておめでとうございます。
本年もどうぞよろしくお願いいたします。

昨年は個人のスマフォアプリ開発に力を注いでいたといっても過言ではありませんでしたw
企画的な情報収集や実装方法のリサーチ、そして今までにやったことのないデザインテイストに挑戦するなどし、新たに4つのアプリをリリースすることができました。

そしてさらに新年早々、新アプリを申請しました。
これは昨年12月からほぼ1ヶ月で2本のアプリをつくりあげたことになります。

機能を最小限まで絞り込んでいるとはいえ、2〜3週間でアイデアを実現でき、世の中の評価を得られるという現実に、ワクワクしっぱなしです。

本年はぜひこれらを仕事に生かしていきたいと思う所存でございます。
何かございましたら、お声がけいただけますと幸いです。


keygxの アプリ 紹介サイト

お仕事のご相談は infonius.jp まで</summary><link rel='replies' type='application/atom+xml' href='http://keygx.blogspot.com/feeds/7041061742053838617/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://keygx.blogspot.com/2012/01/2012.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/7041061742053838617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/7041061742053838617'/><link rel='alternate' type='text/html' href='http://keygx.blogspot.com/2012/01/2012.html' title='2012年 新年のごあいさつ'/><author><name>keygx</name><uri>http://www.blogger.com/profile/11289141703356272082</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHsNSbCqPVD0qvwNl2kNLp37ZuITqojAm_5qa69HZax1N7N1Ffp5fvzynNaH5ZReKOuIovWn0zg1GzX6zMZPOI1_ddhr51G5rQ-TnXgUU7VetNbdCwgiiaYHks9YaQqck/s220/kg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7895237502018300371.post-5981192455627856975</id><published>2011-11-23T02:43:00.000+09:00</published><updated>2011-11-23T02:43:59.232+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CoronaSDK"/><title type='text'>Corona SDKでのDrag &amp; Drop基本サンプル</title><summary type="text">新しく取りかかり始めたアプリでタッチ操作によるDrag&amp;Dropを実装しようと思い、以前にclipしておいたこのページのDrag&amp;Dropのサンプルコードを動かしてみました。
-- create object
local myObject = display.newRect( 0, 0, 100, 100 )
myObject:setFillColor( 255 )

-- touch listener function
function myObject:touch( event )
  if event.phase == &quot;began&quot; then
    self.markX = self.x    -- store x location of object
    self.markY = self.y    -- store y location of object
  </summary><link rel='replies' type='application/atom+xml' href='http://keygx.blogspot.com/feeds/5981192455627856975/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://keygx.blogspot.com/2011/11/corona-sdkdrag-drop.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/5981192455627856975'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/5981192455627856975'/><link rel='alternate' type='text/html' href='http://keygx.blogspot.com/2011/11/corona-sdkdrag-drop.html' title='Corona SDKでのDrag &amp; Drop基本サンプル'/><author><name>keygx</name><uri>http://www.blogger.com/profile/11289141703356272082</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHsNSbCqPVD0qvwNl2kNLp37ZuITqojAm_5qa69HZax1N7N1Ffp5fvzynNaH5ZReKOuIovWn0zg1GzX6zMZPOI1_ddhr51G5rQ-TnXgUU7VetNbdCwgiiaYHks9YaQqck/s220/kg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7895237502018300371.post-6983007663706236403</id><published>2011-09-17T21:05:00.000+09:00</published><updated>2011-09-17T21:05:50.712+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="CoronaSDK"/><title type='text'>Director ClassとAndroidのKEYイベント[Corona SDK]</title><summary type="text">Corona SDKでAndroidのKEYイベントを取得し、Backキーでひとつ前の画面に戻ったり、Menuボタンで設定画面に遷移したりといった処理を行おうとした際に、Director Classを使っている場合には、ちょっとした注意が必要です。（もちろん私もハマりましたよw）

先日リリースした「Cutie Horoscope」でもAndroidではキー操作によって“戻る”と“メニュー画面を表示”を行っています。
※実際の動きは、アプリをDLして確認ください。

最初はアンスカのAPI解説ページを見て、取得したKEYイベントにあわせてdirector:changeScene()で画面遷移できるんだろうと思って、そのようなコードを書いてみたのですが、画面遷移のアニメーションが効かないという状況に。。。

あれ？

この時すでにライセンスを購入済みだったのでForumを検索してみると、</summary><link rel='replies' type='application/atom+xml' href='http://keygx.blogspot.com/feeds/6983007663706236403/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://keygx.blogspot.com/2011/09/director-classandroidkeycorona-sdk.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/6983007663706236403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/6983007663706236403'/><link rel='alternate' type='text/html' href='http://keygx.blogspot.com/2011/09/director-classandroidkeycorona-sdk.html' title='Director ClassとAndroidのKEYイベント[Corona SDK]'/><author><name>keygx</name><uri>http://www.blogger.com/profile/11289141703356272082</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHsNSbCqPVD0qvwNl2kNLp37ZuITqojAm_5qa69HZax1N7N1Ffp5fvzynNaH5ZReKOuIovWn0zg1GzX6zMZPOI1_ddhr51G5rQ-TnXgUU7VetNbdCwgiiaYHks9YaQqck/s220/kg.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjybDja2CP1Ju46unHUvLSX76TxXRpvA-aWicGf2j8Ac2wIxq7zP2B9U_I3PmAzM4rKYojZtAHm2nVXYLI9KXgqxrbFOxYyIHwL3RpS7jaL2LEqQ0FdctUY6oq1xawJGANDucXvHmbY80Zz/s72-c/%25E5%2590%258D%25E7%25A7%25B0%25E6%259C%25AA%25E8%25A8%25AD%25E5%25AE%259A-2.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7895237502018300371.post-6036997209736924284</id><published>2011-09-16T22:22:00.000+09:00</published><updated>2012-02-06T13:33:46.651+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="CoronaSDK"/><category scheme="http://www.blogger.com/atom/ns#" term="iPhone"/><title type='text'>Corona SDKでアプリをリリースする際に起こった「えっ!?」ってこと</title><summary type="text">Corona SDKでのアプリ開発では、色々と問題も起きます。今回はちょっとキビシイ現実を書きます。

下記は「Cutie Horoscope」のbuild.settingsファイルの中身です。

settings =
{
  iphone =
  {
    plist =
    {
      MinimumOSVersion=&quot;4.0&quot;,
    },
  },
  android =
  {
    versionCode=&quot;2&quot;,
    versionName=&quot;1.1&quot;,
    installLocation=&quot;preferExternal&quot;,
  },
}

まず、iOS向けに「MinimumOSVersion=&quot;4.0&quot;」が設定してあります。
これはiTunes Connectにファイルを送信し終えた時に、たまたまBinary Detailsをクリックすると、なん</summary><link rel='replies' type='application/atom+xml' href='http://keygx.blogspot.com/feeds/6036997209736924284/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://keygx.blogspot.com/2011/09/corona-sdk.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/6036997209736924284'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/6036997209736924284'/><link rel='alternate' type='text/html' href='http://keygx.blogspot.com/2011/09/corona-sdk.html' title='Corona SDKでアプリをリリースする際に起こった「えっ!?」ってこと'/><author><name>keygx</name><uri>http://www.blogger.com/profile/11289141703356272082</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHsNSbCqPVD0qvwNl2kNLp37ZuITqojAm_5qa69HZax1N7N1Ffp5fvzynNaH5ZReKOuIovWn0zg1GzX6zMZPOI1_ddhr51G5rQ-TnXgUU7VetNbdCwgiiaYHks9YaQqck/s220/kg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7895237502018300371.post-8106065135224540506</id><published>2011-09-14T22:11:00.002+09:00</published><updated>2011-09-15T01:38:52.178+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CoronaSDK"/><title type='text'>Director Class 入門 [Corona SDK]</title><summary type="text">アプリ開発を通していくつか書きたいCorona SDKネタがあるのですが、まずはこの「Director Class」について言及して置く必要があるだろうと。

そこで今回は、LTする気持ちでスライドを作成してみました。

Director class入門  View more presentations from keygx 
現状Corona SDKで実際にアプリをリリースしようと思ったときに必要な情報が無さ過ぎるので、今後もできるだけ情報発信していきたいと思っています。</summary><link rel='replies' type='application/atom+xml' href='http://keygx.blogspot.com/feeds/8106065135224540506/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://keygx.blogspot.com/2011/09/director-class-corona-sdk.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/8106065135224540506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/8106065135224540506'/><link rel='alternate' type='text/html' href='http://keygx.blogspot.com/2011/09/director-class-corona-sdk.html' title='Director Class 入門 [Corona SDK]'/><author><name>keygx</name><uri>http://www.blogger.com/profile/11289141703356272082</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHsNSbCqPVD0qvwNl2kNLp37ZuITqojAm_5qa69HZax1N7N1Ffp5fvzynNaH5ZReKOuIovWn0zg1GzX6zMZPOI1_ddhr51G5rQ-TnXgUU7VetNbdCwgiiaYHks9YaQqck/s220/kg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7895237502018300371.post-1055456518297296901</id><published>2011-08-31T21:58:00.003+09:00</published><updated>2011-09-02T15:57:22.561+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="CoronaSDK"/><category scheme="http://www.blogger.com/atom/ns#" term="iPhone"/><title type='text'>Corona SDKでiPhone/Androidアプリをリリース</title><summary type="text">【予告】Corona SDKでiPhone/Androidアプリをリリース（予定）で予告したアプリをリリースしました。

≫アプリ紹介サイト
≫iTunesストア
≫Androidマーケット


    



スクリーンショットを見ていただければ分かるように、女性をターゲットにしたアプリです。
※動画はiPhoneで見せていますが、Androidでも全く同じUI（デザイン）です

このアプリをひと言で表すと「ピンク色の端末に似合うアプリ」です。

Corona SDKでアプリ開発をしようと思った経緯は前回書いた通りなのですが、実際にアプリのアイデアを検討している際に、以下の点から、本アプリを開発することを決定しました。

・無料の星占いAPIを見つけた点
（試してもらうために無料アプリとしてリリースしたかったので）

・カスタマイズ度の高いアプリとして女性向けにデザインされたアプリ</summary><link rel='replies' type='application/atom+xml' href='http://keygx.blogspot.com/feeds/1055456518297296901/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://keygx.blogspot.com/2011/08/corona-sdkiphoneandroid_31.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/1055456518297296901'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/1055456518297296901'/><link rel='alternate' type='text/html' href='http://keygx.blogspot.com/2011/08/corona-sdkiphoneandroid_31.html' title='Corona SDKでiPhone/Androidアプリをリリース'/><author><name>keygx</name><uri>http://www.blogger.com/profile/11289141703356272082</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHsNSbCqPVD0qvwNl2kNLp37ZuITqojAm_5qa69HZax1N7N1Ffp5fvzynNaH5ZReKOuIovWn0zg1GzX6zMZPOI1_ddhr51G5rQ-TnXgUU7VetNbdCwgiiaYHks9YaQqck/s220/kg.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmoCNbNWYMO3QIm7FSTYyiw45alkmy9mgKNlAgB3ng-4OdYZQhN_9NNIEdRlh9nThCDdqBGzU8VEqiBn47NK59A3US6j0mDSJClmNpBSSnpHFeVNMIpfim5xpNKcXgq6O9ez3TXpWgVNRX/s72-c/scr01.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7895237502018300371.post-7352209198552095006</id><published>2011-08-26T16:54:00.001+09:00</published><updated>2011-08-26T17:08:06.373+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CoronaSDK"/><category scheme="http://www.blogger.com/atom/ns#" term="Sqlite3"/><title type='text'>Corona SDKでSqlite3を使う時の簡単なまとめ</title><summary type="text">Corona SDKでSqlite3を使ったアプリ開発をした際に躓いたりしたので、簡単にまとめておこうと思います。

アプリ内ですからそんなに複雑なSQL文はありません。しかし、SQLの種類によって関数の使い分けが必要でした。最初そこが分からずに意図した値が返ってこないことに悩みました。
そう、値が返ってくるかどうかが、ポイントだったのです。

下記のサンプルコードを見ていただくと分かるのですが、簡単にいうと、SELECT文の時は db:row() や db:nrows() を使い、CREATE文やINSERT文の時は db:exec() を使います。
※くわしくはこちら

ドキュメントの読解力が足りず、COUNT関数の実行に db:exec() を使い、ずっと0しか返って来ない… ってことを延々やっていたわけです(^_^;)
お恥ずかしい
-- Include
require(&quot;</summary><link rel='replies' type='application/atom+xml' href='http://keygx.blogspot.com/feeds/7352209198552095006/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://keygx.blogspot.com/2011/08/corona-sdksqlite3.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/7352209198552095006'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/7352209198552095006'/><link rel='alternate' type='text/html' href='http://keygx.blogspot.com/2011/08/corona-sdksqlite3.html' title='Corona SDKでSqlite3を使う時の簡単なまとめ'/><author><name>keygx</name><uri>http://www.blogger.com/profile/11289141703356272082</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHsNSbCqPVD0qvwNl2kNLp37ZuITqojAm_5qa69HZax1N7N1Ffp5fvzynNaH5ZReKOuIovWn0zg1GzX6zMZPOI1_ddhr51G5rQ-TnXgUU7VetNbdCwgiiaYHks9YaQqck/s220/kg.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxqCDraDmJU-W4u_SmFSUnlb7yk7q7vsA-_80Ipu_8_0OHzoRJJ7eGn7eR2K7ug_bi_fS-IiUi1sW59y8G53wwHlW1wnR4E0N3gzHnw28i6st7YXfG_ect5SzEWovlJQJZCaonROOpdSmp/s72-c/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588%25EF%25BC%25882011-08-26+17.04.48%25EF%25BC%2589.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7895237502018300371.post-6369616047221210056</id><published>2011-08-25T22:52:00.000+09:00</published><updated>2011-08-25T22:52:42.002+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CoronaSDK"/><title type='text'>【予告】Corona SDKでiPhone/Androidアプリをリリース（予定）</title><summary type="text">ここ2ヶ月ほど、Corona SDKでのアプリ開発を試行錯誤しつつも進めており、やっとアプリをAppleに申請中というステータスになりました。
※Androidは審査がないので、いつでもリリース可ですw

そもそもCorona SDKでアプリを出そうと思ったきっかけは、まぁ気に入ったからという一言で片付けてしまってもいいのですが、あえて言うと「UIが自由に作れるということは、同じUIでiPhoneとAndroidアプリがつくれそう」という理由からです。

Corona SDKは一般的には2Dゲームに向いたプラットフォームだと思われています。これには全く以て同意なのですが、アプリの画面（シーン）を管理するDirector Classというライブラリを使った時に「普通のアプリと同じような画面遷移が作れるんだ！」ということは「普通のアプリっぽい画面を作れば、ゲームじゃないアプリも作れるよね」「</summary><link rel='replies' type='application/atom+xml' href='http://keygx.blogspot.com/feeds/6369616047221210056/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://keygx.blogspot.com/2011/08/corona-sdkiphoneandroid.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/6369616047221210056'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/6369616047221210056'/><link rel='alternate' type='text/html' href='http://keygx.blogspot.com/2011/08/corona-sdkiphoneandroid.html' title='【予告】Corona SDKでiPhone/Androidアプリをリリース（予定）'/><author><name>keygx</name><uri>http://www.blogger.com/profile/11289141703356272082</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHsNSbCqPVD0qvwNl2kNLp37ZuITqojAm_5qa69HZax1N7N1Ffp5fvzynNaH5ZReKOuIovWn0zg1GzX6zMZPOI1_ddhr51G5rQ-TnXgUU7VetNbdCwgiiaYHks9YaQqck/s220/kg.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7895237502018300371.post-5969848481436302137</id><published>2011-06-09T16:12:00.000+09:00</published><updated>2012-02-09T00:01:57.566+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CoronaSDK"/><title type='text'>CoronaSDKでゲームっぽいものを作ってみた</title><summary type="text">ATNDで募集されていた【CoronaSDK】でスマートフォンアプリを作ろう！（全6回講座・デジハリ渋谷）に参加しました。

タイトルにある通り全6回の講座で、講師は「日本コロナの会」の代表 山本さんがつとめられていて、講座を通してアプリの完成（最後に発表）を目指します。こんな講座が無料とあっては参加するしかないと速攻申し込みをして、全6回を無事終了しました。（講師の山本さん、日本coronaの会の皆様、企画・運営されたHatchupの皆様、ありがとうございました）

以前のエントリにも書いている通り、私はJavaでのAndroidアプリ開発の他、Titanium MobileやAIR for Androidでもアプリ開発経験があり、以前からCoronaの名前は聞いていたものの、さわるのは今回が初めて「見せてもらおうかCoronaの性能とやらを」と興味津々でCoronaSDKの開発に</summary><link rel='replies' type='application/atom+xml' href='http://keygx.blogspot.com/feeds/5969848481436302137/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://keygx.blogspot.com/2011/06/coronasdk.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/5969848481436302137'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/5969848481436302137'/><link rel='alternate' type='text/html' href='http://keygx.blogspot.com/2011/06/coronasdk.html' title='CoronaSDKでゲームっぽいものを作ってみた'/><author><name>keygx</name><uri>http://www.blogger.com/profile/11289141703356272082</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHsNSbCqPVD0qvwNl2kNLp37ZuITqojAm_5qa69HZax1N7N1Ffp5fvzynNaH5ZReKOuIovWn0zg1GzX6zMZPOI1_ddhr51G5rQ-TnXgUU7VetNbdCwgiiaYHks9YaQqck/s220/kg.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/buqiQIvaTIM/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7895237502018300371.post-1457783602263187844</id><published>2011-06-01T18:49:00.007+09:00</published><updated>2011-09-21T02:28:26.191+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Titanium"/><title type='text'>Titanium MobileでのTiwitter OAuth認証</title><summary type="text">先日リリースしたiPhone版「ぐぐっと！急上昇ワード」Ver.1.3.0にツイート機能を付けた時のメモ。

ご存じのようにTitaniumはJSです。JSでOAuth認証ってどうやるの？と思ってましたが、いつも参考にさせていただいているTitanium Mobileで作る！ iPhone／Androidアプリ「第4回 TitaniumでTwitterクライアント──OAuthを使ったAPI呼び出し」で取り上げられていますので、これを参考にすれば簡単にできるんじゃねぇと思っていたのですが、「エラー」で動きませんでした。

というわけでいつものように頼れるGoogle先生で調べました。

「OAuth認証してツイートしてタイムラインを取得できるiPhoneアプリを10分で」
すげーっす。動画で分かり易い。そして、ライブラリまで作られているそうなので、拝借させていただきました。

mogya</summary><link rel='replies' type='application/atom+xml' href='http://keygx.blogspot.com/feeds/1457783602263187844/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://keygx.blogspot.com/2011/06/titanium-mobiletiwitter-oauth.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/1457783602263187844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/1457783602263187844'/><link rel='alternate' type='text/html' href='http://keygx.blogspot.com/2011/06/titanium-mobiletiwitter-oauth.html' title='Titanium MobileでのTiwitter OAuth認証'/><author><name>keygx</name><uri>http://www.blogger.com/profile/11289141703356272082</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHsNSbCqPVD0qvwNl2kNLp37ZuITqojAm_5qa69HZax1N7N1Ffp5fvzynNaH5ZReKOuIovWn0zg1GzX6zMZPOI1_ddhr51G5rQ-TnXgUU7VetNbdCwgiiaYHks9YaQqck/s220/kg.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5-EkeSAnOxBO-DP_I9iQOfNaI1vEd7fFa2kdb-ZLigiOst_zV0oXtwzUegcT9hb9h-EpxwlQ0s4WyGjVtoqKEtVPBKwvIZ2_dx8wGbu2JSm-DaSZH5avYf2eG0Eda3bxYmvKPXpTCh-WZ/s72-c/01.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7895237502018300371.post-7651643968715532915</id><published>2011-05-16T14:28:00.001+09:00</published><updated>2011-05-16T14:28:23.777+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>Androidアプリ公開から1年がたちました</title><summary type="text">Androidアプリ「ぐぐっと！急上昇ワード」をリリースしてから1年が経過しました。

1年間で7万を越えるダウンロードをいただき、とても嬉しく思っています。
ユーザーの皆様、ありがとうございます。

現在も日々ダウンロードされていますので、今年中に10万ダウンロードを越えるように、頑張っていきたいと思っています。（できるだけ要望に応えられるように改善していきたいと思っています）
広告のインプレッションも月間30万を越えました。こちらの数字からも、多くのユーザーの方々に使っていただいている実感を味わっております。

引き続き、よろしくお願い申し上げます。

</summary><link rel='replies' type='application/atom+xml' href='http://keygx.blogspot.com/feeds/7651643968715532915/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://keygx.blogspot.com/2011/05/android1.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/7651643968715532915'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7895237502018300371/posts/default/7651643968715532915'/><link rel='alternate' type='text/html' href='http://keygx.blogspot.com/2011/05/android1.html' title='Androidアプリ公開から1年がたちました'/><author><name>keygx</name><uri>http://www.blogger.com/profile/11289141703356272082</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHsNSbCqPVD0qvwNl2kNLp37ZuITqojAm_5qa69HZax1N7N1Ffp5fvzynNaH5ZReKOuIovWn0zg1GzX6zMZPOI1_ddhr51G5rQ-TnXgUU7VetNbdCwgiiaYHks9YaQqck/s220/kg.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGfoSfY7H69P5N-oCvt2XBVnMDNFhmC3MKDINukA9WsRo2IzkzgltgNgag1EN7GP1Soss73ZzvoDsAkaoQbUu3QPIG03yF9mRVslII_5PfsOr6hDY_R6acbhktV0LaGX67iHbYD0zbUuI5/s72-c/icon_new72.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>