<?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-8027197119886202597</id><updated>2024-10-07T14:15:42.083+09:00</updated><category term="JavaScript"/><category term="Greasemonkey"/><category term="LittleBetterGSearchResults"/><category term="userscripts"/><category term="iPhone"/><category term="Apple"/><category term="Project Euler"/><category term="iOS"/><category term="勉強会"/><category term="API"/><category term="iFieldRec"/><category term="Dropbox"/><category term="Dropbox SDK"/><category term="OpenSocial"/><category term="iPhone SDK"/><category term="mixiアプリ"/><category term="mixiオミクジ"/><category term="Appstore"/><category term="Game"/><category term="Ruby"/><category term="Tetris"/><category term="shibuya.js"/><category term="和訳"/><category term="ActionScript"/><category term="AllUserChangeBookmarkletKun4iKnow"/><category term="AudioFile"/><category term="AutoPagerize4Shortcut"/><category term="Bookmarklet"/><category term="Exif"/><category term="Expect"/><category term="GPS"/><category term="Google Chrome"/><category term="Google Code"/><category term="Greasemetal"/><category term="ID3"/><category term="Java"/><category term="Mozilla"/><category term="Opera"/><category term="PV"/><category term="Safari"/><category term="ShellScript"/><category term="chrome extenstion"/><category term="chrome web store"/><category term="iKnow！"/><category term="iMac"/><category term="linux"/><category term="scp"/><category term="マイミクオミクジ"/><category term="メモリ増設"/><category term="型"/><category term="登録"/><title type='text'>o0＾～o0~&#39;&#39;~0o～＾0o</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://atushiyamazaki.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://atushiyamazaki.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16863559729276846827</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>42</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8027197119886202597.post-8980151497851476663</id><published>2013-07-10T14:10:00.000+09:00</published><updated>2013-07-10T14:11:20.855+09:00</updated><title type='text'>引っ越しました。</title><content type='html'>そういえば引っ越しました。今後は以下の方で何かあったら書きます。&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://blog.yamazaki.atushi.org/&quot;&gt;http://blog.yamazaki.atushi.org/&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://atushiyamazaki.blogspot.com/feeds/8980151497851476663/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8027197119886202597/8980151497851476663' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/8980151497851476663'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/8980151497851476663'/><link rel='alternate' type='text/html' href='http://atushiyamazaki.blogspot.com/2013/07/blog-post.html' title='引っ越しました。'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16863559729276846827</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-8027197119886202597.post-3762343031085345763</id><published>2012-11-09T19:23:00.000+09:00</published><updated>2012-11-09T19:27:13.601+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="API"/><category scheme="http://www.blogger.com/atom/ns#" term="Dropbox"/><category scheme="http://www.blogger.com/atom/ns#" term="Dropbox SDK"/><category scheme="http://www.blogger.com/atom/ns#" term="iOS"/><category scheme="http://www.blogger.com/atom/ns#" term="iPhone"/><title type='text'>o0 How to use the Dropbox SDK for iOS 3 0o</title><content type='html'>&lt;span style=&quot;background-color: white; color: #333333; font-family: inherit; line-height: 19px; text-align: justify;&quot;&gt;&quot;iOSの為のDropbox SDK活用法 その3&quot; 。&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;font-family: inherit; line-height: 19px;&quot;&gt;今までの内容は以下の通りです。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: inherit; line-height: 19px; text-align: justify;&quot;&gt;&lt;a href=&quot;http://atushiyamazaki.blogspot.com/2012/10/o0-how-to-use-dropbox-sdk-for-ios-1-0o.html&quot; target=&quot;_blank&quot;&gt;Dropbox SDKを利用した開発準備(Dropboxへのアプリ登録)&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: inherit; line-height: 19px; text-align: justify;&quot;&gt;&lt;a href=&quot;http://atushiyamazaki.blogspot.jp/2012/10/o0-how-to-use-dropbox-sdk-for-ios-2-0o.html&quot; target=&quot;_blank&quot;&gt;Dropbox SDK付属のデモアプリをシュミレータで動かす&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #660000; font-family: inherit; font-size: large;&quot;&gt;認証 - Authentication&lt;/span&gt;&lt;br /&gt;
&lt;h1 style=&quot;cursor: auto; margin: 9px 0px 24px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: #660000; font-family: inherit; font-size: small; font-weight: normal; line-height: 20px;&quot;&gt;アプリのDrop&lt;span style=&quot;font-family: inherit;&quot;&gt;box認証対応&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #660000; font-size: small; font-weight: normal; line-height: 20px;&quot;&gt; -&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #660000; font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: normal; line-height: 20px;&quot;&gt;&lt;a href=&quot;https://www.dropbox.com/developers/start/authentication#ios&quot; target=&quot;_blank&quot;&gt;Adding authentication to your app&lt;/a&gt;&amp;nbsp;のページを中心に進めて行きます。&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;background-color: white; color: #444444; cursor: auto; font-family: &#39;Open Sans&#39;, &#39;lucida grande&#39;, &#39;Segoe UI&#39;, arial, verdana, &#39;lucida sans unicode&#39;, tahoma, sans-serif; line-height: 20px; margin-bottom: 16px; padding: 0px;&quot;&gt;
Now that you&#39;ve gotten the SDK building with your project, the next step is to integrate it into your app, allowing users to link their Dropbox accounts to your app. The first step is to find your app&#39;s key/secret pair, which can be found on the&amp;nbsp;&lt;a href=&quot;https://www.dropbox.com/developers/apps&quot; style=&quot;color: #1f75cc; cursor: pointer; outline: none; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;My Apps&lt;/a&gt;&amp;nbsp;page.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #444444; cursor: auto; font-family: &#39;Open Sans&#39;, &#39;lucida grande&#39;, &#39;Segoe UI&#39;, arial, verdana, &#39;lucida sans unicode&#39;, tahoma, sans-serif; line-height: 20px; margin-bottom: 16px; padding: 0px;&quot;&gt;
Once you have your app key and secret, you can create the&amp;nbsp;&lt;code style=&quot;cursor: auto;&quot;&gt;DBSession&lt;/code&gt;&amp;nbsp;object for your app. To do this, add the following code in your application delegate&#39;s&amp;nbsp;&lt;code style=&quot;cursor: auto;&quot;&gt;application:didFinishLaunchingWithOptions:&lt;/code&gt;&amp;nbsp;method:&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&quot;これで、あなたのプロジェクトでDropbox SDKのビルドが出来ました。次のステップはDropboxアカウントをアプリにリンクさせます。第１のステップは&amp;nbsp;&lt;a href=&quot;https://www.dropbox.com/developers/apps&quot; style=&quot;background-color: white; color: #1f75cc; cursor: pointer; line-height: 20px; outline: none; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;My Apps&lt;/a&gt;&lt;span style=&quot;background-color: white; color: #444444; line-height: 20px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; line-height: 20px;&quot;&gt;ページからアプリの&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #444444; line-height: 20px;&quot;&gt; key/secret &lt;/span&gt;&lt;span style=&quot;background-color: white; line-height: 20px;&quot;&gt;ペアを見つけて下さい。&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;アプリの&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #444444; line-height: 20px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #444444; line-height: 20px;&quot;&gt;key/secret &lt;/span&gt;&lt;span style=&quot;background-color: white; line-height: 20px;&quot;&gt;ペアから、&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #444444; font-family: monospace; line-height: 20px;&quot;&gt;DBSession &lt;/span&gt;&lt;span style=&quot;background-color: white; line-height: 20px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;オブジェクトを作成出来ます。以下のコードに従って、アプリケーションデリゲートの&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #444444; font-family: monospace; line-height: 20px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #444444; font-family: monospace; line-height: 20px;&quot;&gt;application:didFinishLaunchingWithOptions &lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 20px;&quot;&gt;メソッドに追加して下さい。&lt;/span&gt;&quot;&amp;nbsp;&lt;span style=&quot;background-color: white; line-height: 19px; text-align: justify;&quot;&gt;とかいう内容です。&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 19px; text-align: justify;&quot;&gt;要は認証処理の為の初期設定ですね。&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
もちろん、&lt;a href=&quot;http://atushiyamazaki.blogspot.jp/2012/10/o0-how-to-use-dropbox-sdk-for-ios-2-0o.html&quot; target=&quot;_blank&quot;&gt;前回解説したDropbox SDK付属のデモアプリ&lt;/a&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;[1]&lt;/span&gt;でも利用されているので、どんな処理の間に組み込まれているか把握すると理解しやすいと思います。&lt;/blockquote&gt;
&lt;pre class=&quot;prettyprint&quot; style=&quot;background-color: #fafafa; border: 1px solid rgb(221, 221, 221); color: #444444; cursor: auto; font-size: 12px; margin-bottom: 10px; margin-top: 10px; overflow: auto; padding: 10px;&quot;&gt;&lt;span class=&quot;com&quot; style=&quot;color: #880000; cursor: auto;&quot;&gt;#import &amp;lt;DropboxSDK/DropboxSDK.h&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;...&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066; cursor: auto;&quot;&gt;DBSession&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt; dbSession &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;[[[&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066; cursor: auto;&quot;&gt;DBSession&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt; alloc&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;
      initWithAppKey&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;:@&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800; cursor: auto;&quot;&gt;&quot;APP_KEY&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;
      appSecret&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;:@&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800; cursor: auto;&quot;&gt;&quot;APP_SECRET&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;
      root&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;ACCESS_TYPE&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;color: #880000; cursor: auto;&quot;&gt;// either kDBRootAppFolder or kDBRootDropbox&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;
     autorelease&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;];&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066; cursor: auto;&quot;&gt;DBSession&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt; setSharedSession&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;dbSession&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;];&lt;/span&gt;&lt;span style=&quot;background-color: transparent;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;blockquote&gt;
Somewhere in your app, add an event to launch the Dropbox authentication process, which should look something like this:&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&quot;こんな感じに、アプリのどこかにDropbox認証処理のイベント起動を追加して下さい。&quot;&amp;nbsp;&lt;span style=&quot;background-color: white; line-height: 19px; text-align: justify;&quot;&gt;とかいう内容です。&lt;/span&gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;background-color: white; line-height: 19px; text-align: justify;&quot;&gt;didPressLikメソッドというのは、単なる例のメソッド名なので惑わされないように。&lt;/span&gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;background-color: white; line-height: 19px; text-align: justify;&quot;&gt;処理をみて見ると、先ほどの認証処理の初期設定で作成されたDBSessionオブジェクトを参照して、Dropboxにリンクされたか（isLinked）チェックし、リンク済みならルートコントローラー&lt;/span&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;[2]&lt;/span&gt;&lt;span style=&quot;background-color: white; line-height: 19px; text-align: justify;&quot;&gt;にリンク情報をセット（linkFromController）しているようです。&lt;/span&gt;&lt;/blockquote&gt;
&lt;pre class=&quot;prettyprint&quot; style=&quot;background-color: #fafafa; border: 1px solid rgb(221, 221, 221); color: #444444; cursor: auto; font-size: 12px; margin-bottom: 10px; margin-top: 10px; overflow: auto; padding: 10px;&quot;&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088; cursor: auto;&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;didPressLink &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088; cursor: auto;&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;(![[&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066; cursor: auto;&quot;&gt;DBSession&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt; sharedSession&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt; isLinked&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;])&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;[[&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066; cursor: auto;&quot;&gt;DBSession&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt; sharedSession&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt; linkFromController&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;yourRootController&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;];&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
Calling&amp;nbsp;&lt;code style=&quot;cursor: auto;&quot;&gt;linkFromController:&lt;/code&gt;&amp;nbsp;on the session will open the Dropbox app if it&#39;s installed or show a login view in your app otherwise. From there, the user will be prompted to link his account to your app with the appropriate access type. Once authenticated, your app will be launched with the URL scheme&amp;nbsp;&lt;code style=&quot;cursor: auto;&quot;&gt;db-APP_KEY&lt;/code&gt;. The easiest way to register for this scheme is right-click on your app&#39;s plist file and select&amp;nbsp;&lt;strong style=&quot;cursor: auto;&quot;&gt;Open As → Source Code&lt;/strong&gt;, and add the following code below the first &amp;lt;dict&amp;gt; tag, substituting&amp;nbsp;&lt;code style=&quot;cursor: auto;&quot;&gt;APP_KEY&lt;/code&gt;&amp;nbsp;with your app&#39;s key:&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&quot;セッション（DBSession）上で&amp;nbsp;linkFromController&amp;nbsp;を呼び出すと、Dropboxアプリがログイン画面を表示し起動します。そこから、ユーザは適切なアクセスタイプ&lt;span style=&quot;font-size: xx-small;&quot;&gt;[3]&lt;/span&gt;であなたのアプリにアカウントをリンクされます。一度認証されると、&lt;span style=&quot;font-family: inherit;&quot;&gt;アプリは&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: monospace;&quot;&gt;db-APP_KEY &lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;に設定されたURLスキームで起動されるでしょう。URLスキームを登録する簡単な方法は、アプリのplistファイルをXcode上でソースコードとして編集する事です (右クリックで、&lt;/span&gt;&lt;strong style=&quot;cursor: auto;&quot;&gt;Open As → Source Code&lt;/strong&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;)、そして以下のコードを&amp;lt;dict&amp;gt;タグの内の一番始めに追加し、&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;a href=&quot;https://www.dropbox.com/developers/apps&quot; style=&quot;background-color: white; color: #1f75cc; cursor: pointer; line-height: 20px; outline: none; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;My Apps&lt;/a&gt;&lt;span style=&quot;background-color: white; color: #444444; line-height: 20px;&quot;&gt;&amp;nbsp;ページの&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Open Sans&#39;, &#39;lucida grande&#39;, &#39;Segoe UI&#39;, arial, verdana, &#39;lucida sans unicode&#39;, tahoma, sans-serif; font-size: 12px; line-height: 20px; text-align: right;&quot;&gt;App key &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #444444; line-height: 20px; text-align: right;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;を以下のコードの&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #444444; line-height: 20px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: monospace;&quot;&gt;APP_KEY &lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;に置き換えてください。&quot;&amp;nbsp;&lt;span style=&quot;background-color: white; line-height: 19px; text-align: justify;&quot;&gt;とかいう内容です。&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
こちらも、&lt;a href=&quot;http://atushiyamazaki.blogspot.jp/2012/10/o0-how-to-use-dropbox-sdk-for-ios-2-0o.html&quot; target=&quot;_blank&quot;&gt;前回解説したDropbox SDK付属のデモアプリ&lt;/a&gt;で説明されていますので、分からない場合には確認すると良いと思います。&lt;/blockquote&gt;
&lt;pre class=&quot;prettyprint&quot; style=&quot;background-color: #fafafa; border: 1px solid rgb(221, 221, 221); color: #444444; cursor: auto; font-size: 12px; margin-bottom: 10px; margin-top: 10px; overflow: auto; padding: 10px;&quot;&gt;&lt;span class=&quot;tag&quot; style=&quot;color: #000088; cursor: auto;&quot;&gt;&amp;lt;key&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;CFBundleURLTypes&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;color: #000088; cursor: auto;&quot;&gt;&amp;lt;/key&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;color: #000088; cursor: auto;&quot;&gt;&amp;lt;array&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;color: #000088; cursor: auto;&quot;&gt;&amp;lt;dict&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;color: #000088; cursor: auto;&quot;&gt;&amp;lt;key&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;CFBundleURLSchemes&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;color: #000088; cursor: auto;&quot;&gt;&amp;lt;/key&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;color: #000088; cursor: auto;&quot;&gt;&amp;lt;array&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;color: #000088; cursor: auto;&quot;&gt;&amp;lt;string&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;db-APP_KEY&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;color: #000088; cursor: auto;&quot;&gt;&amp;lt;/string&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;color: #000088; cursor: auto;&quot;&gt;&amp;lt;/array&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;color: #000088; cursor: auto;&quot;&gt;&amp;lt;/dict&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;color: #000088; cursor: auto;&quot;&gt;&amp;lt;/array&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
Now that your app is registered for the correct scheme, you need to add the following code to your application delegate in order to complete the authentication flow:&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&lt;span style=&quot;font-family: inherit;&quot;&gt;&quot;これで、アプリに正しいURLスキームが登録されました。認証処理を完了させるには、アプリケーションデリゲートに以下のコードを追加する必要があります。&lt;/span&gt;&quot;&amp;nbsp;&lt;span style=&quot;background-color: white; line-height: 19px; text-align: justify;&quot;&gt;とかいう内容です。&lt;/span&gt;&lt;/blockquote&gt;
&lt;pre class=&quot;prettyprint&quot; style=&quot;background-color: #fafafa; border: 1px solid rgb(221, 221, 221); color: #444444; cursor: auto; font-size: 12px; margin-bottom: 10px; margin-top: 10px; overflow: auto; padding: 10px;&quot;&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;BOOL&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;application&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;:(&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066; cursor: auto;&quot;&gt;UIApplication&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;*)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;application handleOpenURL&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;:(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;NSURL &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;*)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;url &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088; cursor: auto;&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;([[&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066; cursor: auto;&quot;&gt;DBSession&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt; sharedSession&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt; handleOpenURL&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;url&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;])&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088; cursor: auto;&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;([[&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066; cursor: auto;&quot;&gt;DBSession&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt; sharedSession&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt; isLinked&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;])&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066; cursor: auto;&quot;&gt;NSLog&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;(@&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800; cursor: auto;&quot;&gt;&quot;App linked successfully!&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;color: #880000; cursor: auto;&quot;&gt;// At this point you can start making API calls&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088; cursor: auto;&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt; YES&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;color: #880000; cursor: auto;&quot;&gt;// Add whatever other url handling code your app requires here&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088; cursor: auto;&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt; NO&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; cursor: auto;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; cursor: auto;&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Open Sans&#39;, &#39;lucida grande&#39;, &#39;Segoe UI&#39;, arial, verdana, &#39;lucida sans unicode&#39;, tahoma, sans-serif; line-height: 20px;&quot;&gt;Build and run your app. Find the link button you put in your app and press it. Once you press it, either the Dropbox app or Safari should be launched, and you should have the option to link your app to your Dropbox account. Make sure you are logged in using the same email address you used to create the app keys. Once you link with Dropbox, you should be redirected back to your app. If this happens successfully, you&#39;re ready to move on to the next section and start making requests to Dropbox using the SDK.&lt;/span&gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&quot;アプリを&lt;/span&gt;ビルド・実行し、リンクボタンを押す。そうするとDropboxアプリかSafariが起動されます。そしてあなたのアプリとDropboxアカウントをリンクするか選択し、アプリ登録をした際に使用したメールアドレスと同じアドレスを入力します。するとDropboxにリンクされたあなたのアプリに戻ります。もしうまく行ったなら、次のセッションに移り、Dropbox SDKを使ったリクエストを作り始める準備が出来ています。&quot;&amp;nbsp;&lt;span style=&quot;background-color: white; line-height: 19px; text-align: justify;&quot;&gt;とかいう内容です。&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
何故アプリからDropboxアプリかSafariに、認証時にいったん遷移するかというと、&amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; line-height: 19px; text-align: justify;&quot;&gt;Dropboxはすべての認証 API&amp;nbsp;に&lt;/span&gt;&lt;a href=&quot;http://oauth.net/&quot; style=&quot;-webkit-transition: color 0.3s; color: #009eb8; display: inline; line-height: 19px; outline: none; text-align: justify; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;OAuth&lt;/a&gt;&amp;nbsp;(&lt;a href=&quot;http://ja.wikipedia.org/wiki/OAuth&quot; target=&quot;_blank&quot;&gt;Wikipedia - OAuth&lt;/a&gt;)&lt;span style=&quot;color: #333333; line-height: 19px; text-align: justify;&quot;&gt;を使用しています。&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
詳しくは、以下の情報が参考になると思います。&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.atmarkit.co.jp/fsmart/articles/facebookios01/02.html&quot; style=&quot;font-family: inherit;&quot; target=&quot;_blank&quot;&gt;Facebook Graph API活用&amp;nbsp;iPhoneアプリ開発入門&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://gihyo.jp/dev/feature/01/oauth/0001?page=1&quot; style=&quot;font-family: inherit;&quot; target=&quot;_blank&quot;&gt;第1回 OAuthとは？―OAuthの概念とOAuthでできること&lt;/a&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;ログアウト方法を調べてみる -&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Dropboxの開発者向け情報にない機能の調べ方&lt;/span&gt;&lt;br /&gt;
これで認証の仕方が分かったと思いますが、認証の解除（ログアウト）についてはDropboxの開発者向け情報には記載されていないようです。&lt;br /&gt;
&lt;br /&gt;
Dropbox SDKは、DropboxSDK.frameworkとして提供されています。&lt;br /&gt;
その為、通常はDropboxSDK.framework配下のHeadersにあるヘッダー群しかソースは見れません。&lt;br /&gt;
その為、SDKのインターフェイスからそれっぽいのを特定してみる事にしましょう。&lt;br /&gt;
まず、認証時に DBSession オブジェクトを利用していましたので、Headersの中にあるDBsession.hを覗いてみる事にします。&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot; style=&quot;background-color: #fafafa; border: 1px solid rgb(221, 221, 221); cursor: auto; font-size: 12px; margin-bottom: 10px; margin-top: 10px; overflow: auto; padding: 10px;&quot;&gt;+ (DBSession*)sharedSession;
+ (void)setSharedSession:(DBSession *)session;

- (id)initWithAppKey:(NSString *)key appSecret:(NSString *)secret root:(NSString *)root;
- (BOOL)isLinked; // Session must be linked before creating any DBRestClient objects

- (void)&lt;span style=&quot;color: red;&quot;&gt;unlinkAll&lt;/span&gt;;
- (void)&lt;span style=&quot;color: red;&quot;&gt;unlinkUserId&lt;/span&gt;:(NSString *)userId;

- (MPOAuthCredentialConcreteStore *)credentialStoreForUserId:(NSString *)userId;
- (void)updateAccessToken:(NSString *)token accessTokenSecret:(NSString *)secret forUserId:(NSString *)userId;&lt;/pre&gt;
&amp;nbsp;赤字になっている unlinkAll と unlinkUserId は、名前の通り「アンリンク = リンク解除 = 認証解除 = ログアウト」という意味で、All で全てリンク解除か、UserId でユーザ指定という事になりそうですね。&lt;br /&gt;
その為、以下のような処理で簡単にログアウト出来ます。&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot; style=&quot;background-color: #fafafa; border: 1px solid rgb(221, 221, 221); cursor: auto; font-size: 12px; margin-bottom: 10px; margin-top: 10px; overflow: auto; padding: 10px;&quot;&gt;[ [ DBSession sharedSession ] &lt;span style=&quot;color: red;&quot;&gt;unlinkAll &lt;/span&gt;];&lt;/pre&gt;
今回のようなインターフェイスから予測で絞るような方法だとトライ＆エラーになりかねません。恐らくObjective-Cのエキスパート達はもっと正確で効率の良い方法で未知なるframeworkから必要なメソッドを探しだしている筈です。&lt;br /&gt;
&lt;br /&gt;
&quot;How to use the Dropbox SDK for iOS&quot;シリーズを書いて、自分でも曖昧な点がクリアになったので、為になりました。当初の目的である、以下の状態には程遠いですが。&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;a href=&quot;https://twitter.com/atushi/status/260955129480630272&quot; style=&quot;-webkit-transition: color 0.3s; background-color: #fafafa; color: #2b9ead; display: inline; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; outline: none; text-align: justify;&quot; target=&quot;_blank&quot;&gt;こんな事&lt;/a&gt;&lt;span style=&quot;background-color: #fafafa; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;を考えた末、少しでも皆さんに役立つような、興味を持って貰えるような、記事でも書いてみる事にしました。&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
&quot;How to use the Dropbox SDK for iOS&quot;シリーズの続きは気が向けば書きます。&lt;br /&gt;
今度は別のテーマで書くと思います。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #660000; font-size: large;&quot;&gt;宣伝&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Lucida Grande, Lucida Sans Unicode, Arial, Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;フィールドレコーディングを楽しむアプリを作ってます。&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; line-height: 18px;&quot;&gt;録音した音声ファイルを、&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; line-height: 18px;&quot;&gt;録音時のロケーションの&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; line-height: 18px;&quot;&gt;マップ上から&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; line-height: 18px;&quot;&gt;再生。&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; line-height: 18px;&quot;&gt;Dropbox上でShare、Tweetし、音声をTwitter上に共有出来ます。&lt;/span&gt;&lt;br /&gt;
興味があれば、&lt;a href=&quot;https://itunes.apple.com/jp/app/ifieldrec/id456579902?mt=8&quot; target=&quot;_blank&quot;&gt;是非使ってみてください&lt;/a&gt;。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://itunes.apple.com/jp/app/ifieldrec/id456579902?mt=8&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/AVvXsEhxyoWr6FQNR_P4KwjGlBehxar0i5QyDZd3vPRdd9M_W1AoH-9qhlADrXLa_V0LBOZPDqi7g1XaGULbQiNPRxMYyUpblla9HEXVrkX0Vwvtb13Ems__rlwtSN-Q6NXOikjpXUvNw908kKo/s1600/Icon@2x.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;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Helvetica Neue Light, HelveticaNeue-Light, Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 19px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;DBRouletteAppDelega&lt;/span&gt;&lt;span style=&quot;color: #444444;&quot;&gt;te.mのdidFinishLaunchingWithOptionsメソッドの中にあります。&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Helvetica Neue Light, HelveticaNeue-Light, Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 19px;&quot;&gt;Dropbox SDK付属のデモアプリの場合には、PhotoViewControllerになります。丁度、&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: xx-small; text-align: start;&quot;&gt;[1]&lt;/span&gt;&lt;span style=&quot;text-align: start;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;の少し後で処理が行われていますね。&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;text-align: start;&quot;&gt;&lt;span style=&quot;font-family: inherit; font-size: x-small;&quot;&gt;アプリ登録した&lt;span style=&quot;background-color: #fafafa; line-height: 19px; text-align: justify;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;background-color: #fafafa; line-height: 19px; text-align: justify;&quot;&gt;Access level&lt;/span&gt;&lt;span style=&quot;background-color: #fafafa; line-height: 19px; text-align: justify;&quot;&gt;&quot;の事です、意味はわかりますが、用語はタイプかレベルか混乱するので統一して欲しいですね。&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Helvetica Neue Light, HelveticaNeue-Light, Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: #444444; font-size: 14px; line-height: 19px;&quot;&gt;詳しくはアプリ内で呼び出されたDropbox SDKのログイン画面。&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://atushiyamazaki.blogspot.com/feeds/3762343031085345763/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8027197119886202597/3762343031085345763' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/3762343031085345763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/3762343031085345763'/><link rel='alternate' type='text/html' href='http://atushiyamazaki.blogspot.com/2012/11/o0-how-to-use-dropbox-sdk-for-ios-3-0o.html' title='o0 How to use the Dropbox SDK for iOS 3 0o'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16863559729276846827</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/AVvXsEhxyoWr6FQNR_P4KwjGlBehxar0i5QyDZd3vPRdd9M_W1AoH-9qhlADrXLa_V0LBOZPDqi7g1XaGULbQiNPRxMYyUpblla9HEXVrkX0Vwvtb13Ems__rlwtSN-Q6NXOikjpXUvNw908kKo/s72-c/Icon@2x.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8027197119886202597.post-1804355640647269886</id><published>2012-10-27T22:41:00.000+09:00</published><updated>2012-11-09T19:25:56.136+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="API"/><category scheme="http://www.blogger.com/atom/ns#" term="Dropbox"/><category scheme="http://www.blogger.com/atom/ns#" term="Dropbox SDK"/><category scheme="http://www.blogger.com/atom/ns#" term="iOS"/><category scheme="http://www.blogger.com/atom/ns#" term="iPhone"/><title type='text'>o0  How to use the Dropbox SDK for iOS 2 0o</title><content type='html'>&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; line-height: 19px; text-align: justify;&quot;&gt;&quot;iOSの為のDropbox SDK活用法 その2&quot;&amp;nbsp;です。&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; line-height: 19px; text-align: justify;&quot;&gt;&lt;a href=&quot;http://atushiyamazaki.blogspot.jp/2012/10/o0-how-to-use-dropbox-sdk-for-ios-1-0o.html&quot; target=&quot;_blank&quot;&gt;前回&lt;/a&gt;は、Dropbox SDkを利用した開発準備について書きました&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; line-height: 19px; text-align: justify;&quot;&gt;。&lt;span style=&quot;font-size: xx-small;&quot;&gt;[1]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #660000; font-size: large;&quot;&gt;SDK付属のデモアプリをシュミレーターで動かす&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Dropbox SDKは、&lt;a href=&quot;https://www.dropbox.com/developers/reference/sdk&quot; target=&quot;_blank&quot;&gt;ここ&lt;/a&gt;で入手出来ます。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;262&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVGTZAgV3VlJukMB_XaPpOU38ybgw1NLRajR9ZnMsBrn29eiCDWc5N6BR5PkuZn1P4S_a_wuuZifP7v4KMSEYO1HZWVNrtL22oXBiB9iwcerTiJ5ydCkzkZZWdIyHzJZzscF13hwg3710/s640/Dropbox-DevelopmentKits.png&quot; width=&quot;640&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;
iOSの現在の最新バージョン、&lt;span style=&quot;color: #660000;&quot;&gt;dropbox-ios-sdk-1.3.2&lt;/span&gt; をダウンロードしましょう。このバージョンで説明します。&lt;br /&gt;
もちろん &quot;Add to Dropbox&quot; で自分のDropboxにも直接ダウンロード出来ます。&lt;br /&gt;
zipファイルを展開すると、デモアプリは以下のパスにあります。&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
/dropbox-ios-sdk-1.3.2/examples/DBRoulette/&lt;/blockquote&gt;
DBRoulette配下の DBRoulette.xcodeproj からXcodeを起動しましょう。&lt;br /&gt;
このままだと、アプリのKey、Secretが設定されていない為、以下のようなエラーメッセージが表示されて動きません。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCkpRllp4hVe55LQD8Yf5jLLgWXVbpYv1l8faWKv0koZZZwdhd7rWwikJmQPHp6lHjXuZqTH0bG6ivuAzVYv5FDmA8MC_Ugbw9Edodi6sNeakRJRswK4YTKVxwVGIuSnJu9qkrD_MqtLQ/s400/Dropbox-AppKey-Secret%E6%9C%AA%E8%A8%AD%E5%AE%9A%E3%82%A8%E3%83%A9%E3%83%BC.png&quot; width=&quot;225&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;
エラーの内容を確認し、何をすれば良いかを確認する。&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
DBRouletteAppDelegate.m 41行目&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span class=&quot;s2&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; ([&lt;span style=&quot;color: #660000;&quot;&gt;&lt;b&gt;appKey&lt;/b&gt;&lt;/span&gt; &lt;/span&gt;rangeOfCharacterFromSet&lt;span class=&quot;s1&quot;&gt;:[[&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;NSCharacterSet&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;alphanumericCharacterSet&lt;span class=&quot;s1&quot;&gt;] &lt;/span&gt;invertedSet&lt;span class=&quot;s1&quot;&gt;]].&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;location&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; != &lt;/span&gt;NSNotFound&lt;span class=&quot;s1&quot;&gt;) {&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span class=&quot;s1&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&amp;nbsp; errorMsg = &lt;/span&gt;@&quot;&lt;span style=&quot;color: #073763;&quot;&gt;Make sure you set the app key correctly in DBRouletteAppDelegate.m&lt;/span&gt;&quot;&lt;span class=&quot;s1&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span class=&quot;s1&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;} &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;else&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; ([&lt;span style=&quot;color: #660000;&quot;&gt;&lt;b&gt;appSecret&lt;/b&gt;&lt;/span&gt; &lt;/span&gt;rangeOfCharacterFromSet&lt;span class=&quot;s1&quot;&gt;:[[&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;NSCharacterSet&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;alphanumericCharacterSet&lt;span class=&quot;s1&quot;&gt;] &lt;/span&gt;invertedSet&lt;span class=&quot;s1&quot;&gt;]].&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;location&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; != &lt;/span&gt;NSNotFound&lt;span class=&quot;s1&quot;&gt;) {&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span class=&quot;s1&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&amp;nbsp; errorMsg = &lt;/span&gt;@&quot;&lt;span style=&quot;color: #073763;&quot;&gt;Make sure you set the app secret correctly in DBRouletteAppDelegate.m&lt;/span&gt;&quot;&lt;span class=&quot;s1&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;} &lt;span class=&quot;s2&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;if&lt;/span&gt; (&lt;span style=&quot;color: #660000;&quot;&gt;&lt;b&gt;[root &lt;span class=&quot;s4&quot;&gt;length&lt;/span&gt;] == &lt;span class=&quot;s5&quot;&gt;0&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;) {&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span class=&quot;s1&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&amp;nbsp; errorMsg = &lt;/span&gt;@&quot;&lt;span style=&quot;color: #073763;&quot;&gt;Set your root to use either App Folder of full Dropbox&lt;/span&gt;&quot;&lt;span class=&quot;s1&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;} &lt;span class=&quot;s2&quot;&gt;else&lt;/span&gt; {&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span class=&quot;s1&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;&amp;nbsp; NSString&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; *plistPath = [[&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;NSBundle&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;mainBundle&lt;span class=&quot;s1&quot;&gt;] &lt;/span&gt;pathForResource&lt;span class=&quot;s1&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;@&quot;Info&quot;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;ofType&lt;span class=&quot;s1&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;s6&quot;&gt;@&quot;plist&quot;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;];&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;s3&quot; style=&quot;font-size: xx-small;&quot;&gt;NSData&lt;/span&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt; *plistData = [&lt;/span&gt;&lt;span class=&quot;s3&quot; style=&quot;font-size: xx-small;&quot;&gt;NSData&lt;/span&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s4&quot; style=&quot;font-size: xx-small;&quot;&gt;dataWithContentsOfFile&lt;/span&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;:plistPath];&lt;/span&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s3&quot; style=&quot;font-size: xx-small;&quot;&gt;NSDictionary&lt;/span&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt; *loadedPlist =&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;font-size: xx-small;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;NSPropertyListSerialization&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span class=&quot;s1&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; propertyListFromData&lt;span class=&quot;s1&quot;&gt;:plistData &lt;/span&gt;mutabilityOption&lt;span class=&quot;s1&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;format&lt;span class=&quot;s1&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;NULL&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;errorDescription&lt;span class=&quot;s1&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;NULL&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;];&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s3&quot; style=&quot;font-size: xx-small;&quot;&gt;NSString&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;font-size: xx-small;&quot;&gt; *scheme = [[[[loadedPlist &lt;/span&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;objectForKey&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;font-size: xx-small;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;s6&quot; style=&quot;font-size: xx-small;&quot;&gt;@&quot;CFBundleURLTypes&quot;&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;font-size: xx-small;&quot;&gt;] &lt;/span&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;objectAtIndex&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;font-size: xx-small;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;s5&quot; style=&quot;font-size: xx-small;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;font-size: xx-small;&quot;&gt;]&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;objectForKey&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;font-size: xx-small;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;s6&quot; style=&quot;font-size: xx-small;&quot;&gt;@&quot;CFBundleURLSchemes&quot;&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;font-size: xx-small;&quot;&gt;] &lt;/span&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;objectAtIndex&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;font-size: xx-small;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;s5&quot; style=&quot;font-size: xx-small;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;font-size: xx-small;&quot;&gt;];&lt;/span&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s2&quot; style=&quot;font-size: xx-small;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt; (&lt;/span&gt;&lt;span style=&quot;color: #660000; font-size: xx-small;&quot;&gt;&lt;b&gt;[scheme &lt;span class=&quot;s4&quot;&gt;isEqual&lt;/span&gt;:&lt;span class=&quot;s6&quot;&gt;@&quot;db-APP_KEY&quot;&lt;/span&gt;]&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;) {&lt;/span&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;font-size: xx-small;&quot;&gt;errorMsg = &lt;/span&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;@&quot;&lt;/span&gt;&lt;span style=&quot;color: #073763; font-size: xx-small;&quot;&gt;Set your URL scheme correctly in DBRoulette-Info.plist&lt;/span&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;font-size: xx-small;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;}&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
上記ソースの太字4箇所を見てみると、&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;b&gt;1&lt;/b&gt;. &quot;&lt;span style=&quot;color: #660000;&quot;&gt;appKey&lt;/span&gt;&quot; のチェックにより、先ほどのスクリーンショットのエラーメッセージが表示されている事がわかります。メッセージ内容をみるとDBRouletteAppDelegate.mファイルのApp keyを設定すれば解決しそうですね。&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;b&gt;2&lt;/b&gt;. &quot;&lt;span style=&quot;color: #660000;&quot;&gt;appSecret&lt;/span&gt;&quot;&amp;nbsp;のチェックにより、エラーメッセージが表示される事がわかります。メッセージ内容をみるとDBRouletteAppDelegate.mファイルのApp secretを設定すれば未然に解決しそうですね。&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;b&gt;3&lt;/b&gt;. &quot;&lt;span style=&quot;color: #660000;&quot;&gt;[root length] == 0&lt;/span&gt;&quot;&amp;nbsp;のチェックにより、エラーメッセージが表示される事がわかります。メッセージ内容をみるとroot変数に &quot;Access level&quot; を設定してくれとあるので、対応する&amp;nbsp;&quot;Access level&quot;&amp;nbsp;を設定すれば未然に解決しそうですね。今回は、&quot;App folder&quot; で設定します。&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;b&gt;4&lt;/b&gt;. &quot;&lt;span style=&quot;color: #660000;&quot;&gt;[scheme isEqual:@&quot;db-APP_KEY&quot;]&lt;/span&gt;&quot; のチェックにより、エラーメッセージが表示される事がわかります。メッセージ内容をみるとDBRoulette-Info.plistファイルのApp keyを設定すれば未然に解決しそうですね。&lt;/blockquote&gt;
&amp;nbsp;登録したアプリのkeyとsecret、アクセスレベルを設定しましょう。&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;DBRouletteAppDelegate.m&amp;nbsp;32行目&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;// Set these variables before launching the app&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span class=&quot;s2&quot;&gt;NSString&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;* appKey = &lt;/span&gt;@&quot;&lt;span style=&quot;color: #073763;&quot;&gt;登録したアプリのApp key&lt;/span&gt;&quot;&lt;span class=&quot;s1&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;NSString&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;* appSecret = &lt;/span&gt;@&quot;&lt;span style=&quot;color: #073763;&quot;&gt;登録したアプリのApp secret&lt;/span&gt;&quot;&lt;span class=&quot;s1&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span class=&quot;s1&quot;&gt;NSString&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt; *root =&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #073763;&quot;&gt;kDBRootAppFolder&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;; &lt;/span&gt;// Should be set to either kDBRootAppFolder or kDBRootDropbox&amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;DBRoulette-Info.plist&amp;nbsp;7行目&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
ソースコードで表示しましょう（control+クリック -&amp;gt; Open As -&amp;gt; Souce Code）&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
db-APP_KEYなので、&quot;db-&quot;は残して設定して下さい。詳しくは&lt;a href=&quot;https://www.dropbox.com/developers/start/authentication#ios&quot; target=&quot;_blank&quot;&gt;Authenticationページ&lt;/a&gt;に記載されています。&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;lt;dict&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span class=&quot;s2&quot;&gt;&amp;nbsp; &amp;lt;key&amp;gt;&lt;/span&gt;CFBundleURLSchemes&lt;span class=&quot;s2&quot;&gt;&amp;lt;/key&amp;gt;&lt;/span&gt;&amp;nbsp; &amp;lt;array&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;string&amp;gt;db-&lt;span style=&quot;color: #073763;&quot;&gt;登録したアプリのApp key&lt;/span&gt;&amp;lt;/string&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp; &amp;lt;/array&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;lt;/dict&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;
ビルドしシュミレータで動かしてみましょう。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoQl4uEjn9eQxw6oCySgrZrP5i28RkM-ah8MZ0S1KzaRojJG8-Va8X7TF9KO8kZwLEv_K8JMxLVAfNPRH4hxA0l5nxoopY9gS6Ergz2PZ32gM90s8iBHVptp6Lm-p8HzRGgfskYAqpXrU/s400/Dropbox-DEMO%E3%82%A2%E3%83%95%E3%82%9A%E3%83%AA%E8%B5%B7%E5%8B%95.png&quot; width=&quot;225&quot; /&gt;&lt;/div&gt;
&quot;Link Dropbox&quot; ボタンを押してみると、&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhV7JdLk7Eo_35eH5IkYckPGb4m4hkHjonRUYeYjZ4F7HybkxKc34enf2zoGyktiEPPkKngkTQS44S5bTp5kuNGKXjtW0O9WkScJYDjmUzLoR1KTHoamwa8N8alUtyq4q7KM1bQjDTAGXw/s400/Dropbox-DEMO%E3%82%A2%E3%83%95%E3%82%9A%E3%83%AA%E3%83%AD%E3%82%AF%E3%82%99%E3%82%A4%E3%83%B3.png&quot; width=&quot;225&quot; /&gt;&lt;/div&gt;
ログイン情報入力画面が立ち上がります。&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
今回は、アクセスレベルを &lt;span style=&quot;color: #333333; font-family: Helvetica Neue Light, HelveticaNeue-Light, Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;&quot;App folder&quot; にしました。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue Light, HelveticaNeue-Light, Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;This app will create a folder named &lt;/span&gt;&lt;span style=&quot;color: #073763;&quot;&gt;アプリ名&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt; in your Dropbox. The app will only have access to this folder.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&quot;このアプリは &lt;span style=&quot;color: #073763;&quot;&gt;アプリ名&lt;/span&gt; のフォルダをDropboxに作成します。このフォルダにのみアクセスされます。&quot;&amp;nbsp;&lt;span style=&quot;background-color: #fafafa; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; line-height: 19px; text-align: justify;&quot;&gt;とかいう内容です。なので、ユーザにもちゃんとアクセスレベルが通知されています。&lt;/span&gt;&lt;/blockquote&gt;
ログイン情報を入力し、&quot;Sign in&quot; ボタンを押すとjpg写真が無ければ以下の画面になり、エラーメッセージが表示されます。&lt;br /&gt;
また、このタイミングで、Dropboxの&amp;nbsp;&lt;span style=&quot;background-color: #fafafa; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; line-height: 19px; text-align: justify;&quot;&gt;&quot;/Apps/(App nameに記述したアプリ名)&quot; が作成されました。&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYuvPWcvZq-0ZqtdbCnvZUHxduLjPK43OJb995i4WClBLrH73DVGZtGCIA0yrLOkxuV1F49hLvS8D9sK9F5xeHcapoHxaoqiWXIwuEyRDHMsLtrSQZUmyhyphenhyphensyxYdRHuzDuO4tWAuZPsjk/s400/iOS%E3%82%B7%E3%83%9F%E3%83%A5%E3%83%AC%E3%83%BC%E3%82%BF%E3%81%AE%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+2012.10.25+23.52.08.png&quot; width=&quot;225&quot; /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
アプリとしての動作確認は中途半端になりますが、Dropbox SDKの利用デモとしては成立したと思いますので、これで終わろうと思います。&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://atushiyamazaki.blogspot.jp/2012/11/o0-how-to-use-dropbox-sdk-for-ios-3-0o.html&quot; target=&quot;_blank&quot;&gt;次回は、実際のSDKの機能について書こうと思います&lt;/a&gt;。&lt;br /&gt;
&lt;br /&gt;
つづく。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #660000; font-size: large;&quot;&gt;宣伝&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Lucida Grande, Lucida Sans Unicode, Arial, Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;フィールドレコーディングを楽しむアプリを作ってます。&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; line-height: 18px;&quot;&gt;録音した音声ファイルを、&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; line-height: 18px;&quot;&gt;録音時のロケーションの&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; line-height: 18px;&quot;&gt;マップ上から&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; line-height: 18px;&quot;&gt;再生。&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; line-height: 18px;&quot;&gt;Dropbox上でShare、Tweetし、音声をTwitter上に共有出来ます。&lt;/span&gt;&lt;br /&gt;
興味があれば、&lt;a href=&quot;https://itunes.apple.com/jp/app/ifieldrec/id456579902?mt=8&quot; target=&quot;_blank&quot;&gt;是非使ってみてください&lt;/a&gt;。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://itunes.apple.com/jp/app/ifieldrec/id456579902?mt=8&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/AVvXsEhxyoWr6FQNR_P4KwjGlBehxar0i5QyDZd3vPRdd9M_W1AoH-9qhlADrXLa_V0LBOZPDqi7g1XaGULbQiNPRxMYyUpblla9HEXVrkX0Vwvtb13Ems__rlwtSN-Q6NXOikjpXUvNw908kKo/s1600/Icon@2x.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;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;開発に慣れている方なら、&lt;a href=&quot;http://atushiyamazaki.blogspot.jp/2012/10/o0-how-to-use-dropbox-sdk-for-ios-1-0o.html&quot; target=&quot;_blank&quot;&gt;準備&lt;/a&gt;だけ読んどけば問題無くDropbox SDKを利用した開発が出来る筈です。&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://atushiyamazaki.blogspot.com/feeds/1804355640647269886/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8027197119886202597/1804355640647269886' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/1804355640647269886'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/1804355640647269886'/><link rel='alternate' type='text/html' href='http://atushiyamazaki.blogspot.com/2012/10/o0-how-to-use-dropbox-sdk-for-ios-2-0o.html' title='o0  How to use the Dropbox SDK for iOS 2 0o'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16863559729276846827</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/AVvXsEhVGTZAgV3VlJukMB_XaPpOU38ybgw1NLRajR9ZnMsBrn29eiCDWc5N6BR5PkuZn1P4S_a_wuuZifP7v4KMSEYO1HZWVNrtL22oXBiB9iwcerTiJ5ydCkzkZZWdIyHzJZzscF13hwg3710/s72-c/Dropbox-DevelopmentKits.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8027197119886202597.post-6199231252316318894</id><published>2012-10-27T02:35:00.002+09:00</published><updated>2012-10-27T22:47:28.231+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="API"/><category scheme="http://www.blogger.com/atom/ns#" term="Dropbox"/><category scheme="http://www.blogger.com/atom/ns#" term="Dropbox SDK"/><category scheme="http://www.blogger.com/atom/ns#" term="iOS"/><category scheme="http://www.blogger.com/atom/ns#" term="iPhone"/><title type='text'>o0  How to use the Dropbox SDK for iOS 1 0o</title><content type='html'>&lt;a href=&quot;https://twitter.com/atushi/status/260955129480630272&quot; target=&quot;_blank&quot;&gt;こんな事&lt;/a&gt;を考えた末、少しでも皆さんに役立つような、興味を持って貰えるような、記事でも書いてみる事にしました。&lt;br /&gt;
タイトルの通りの内容です。 &quot;iOSの為のDropbox SDK活用法 その1&quot; 。&lt;br /&gt;
結構なボリュームになりそうだったので、数回に分けて書くつもりです。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #660000; font-size: large;&quot;&gt;準備&lt;/span&gt;&lt;br /&gt;
Dropbox SDKを利用するにはアプリケーションの登録が必要です。&lt;br /&gt;
&lt;a href=&quot;https://www.dropbox.com/developers/apps&quot; target=&quot;_blank&quot;&gt;https://www.dropbox.com/developers/apps&lt;/a&gt; にアクセスして下さい。&lt;br /&gt;
※&lt;a href=&quot;http://db.tt/SuqGyIF&quot; target=&quot;_blank&quot;&gt;Dropboxのアカウントがない人はこのリンク&lt;/a&gt;から作成して下さい。&lt;br /&gt;
通常より容量大目に始められます。もちろん僕の方の容量も紹介特典として増えます。&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;Dropbox Developer登録&lt;/span&gt;&lt;br /&gt;
初めて&amp;nbsp;&lt;a href=&quot;https://www.dropbox.com/developers/apps&quot; target=&quot;_blank&quot;&gt;https://www.dropbox.com/developers/apps&lt;/a&gt;&amp;nbsp;にアクセスした場合には、以下の画面が表示され、Dropbox Developerの規約を承認する必要が有ります。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;371&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWP36hegmexR9daVB2vrOVmC7CuMjbWhfT15NP39o48YjN1U_k7kx8HslrupVkY8RvX-w1n0LEbvUqoERClvJWBwU_vXymR0NGfDErBQ44h05Axc77wbGLukQMSzU_Zb_RzUQbZlLTr0c/s640/Dropbox-DropboxAPIAccess.png&quot; width=&quot;640&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;アプリ登録&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;156&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRRRXnmr2r0U-TwNhkOyHzp_V96mXSsKfSOyMA7S6yy7SFxiRN5YqfL4_5SvEOCOHyRk7vai7s8ONNIgW8TBT07lUdy_Beyqs0TzYimc0munQMvnpN_rPU-SMXWdGdNhwtsqy_nMnXjPg/s640/Dropbox-CreateTheApp.edit.png&quot; width=&quot;640&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;
&quot;Create an app&quot; ボタンを押す。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;372&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZUHKkwqA-_JqtTj63onLFqDO7m-t4TXlO3PL_Eczzw9HHLJ1eLKHkdMlvl4Wsvybma1lUfceMuLQyZI3swe6dtiWdBRhE3qNfxNvrQLOksVDEFKo0NSMn9rPQthUUxqRJxyDmMS9-tlM/s640/Dropbox-CreateANewAppPage.png&quot; width=&quot;640&quot; /&gt;&lt;/div&gt;
&quot;App name&quot; には、文字通りSDKを利用したいアプリの名前を記入します。&lt;br /&gt;
&quot;Description&quot; には、アプリの説明を記入します。&lt;br /&gt;
&quot;Access level&quot; は、文字通りDropbox SDK経由でのAPIへのアクセスレベルを設定します。&lt;br /&gt;
※&amp;nbsp;&lt;b&gt;&quot;Access level&quot; は、一旦申請すると現時点では変更不可能&lt;/b&gt;なので、アプリの特性を吟味した上での選択をお勧めします。&lt;br /&gt;
&lt;br /&gt;
&quot;Access level&quot; には &quot;App folder&quot; と &quot;Full Dropbox&quot; の二つのレベルが用意されています。&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&quot;App folder&quot;&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Open Sans&#39;, &#39;lucida grande&#39;, &#39;Segoe UI&#39;, arial, verdana, &#39;lucida sans unicode&#39;, tahoma, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;Your app only needs access to a single folder within the user&#39;s Dropbox (recommended).&lt;/span&gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&quot;あなたのアプリはDropboxユーザの１つのフォルダのみにアクセスされる(お勧め)。&quot;と書いてあります。&amp;nbsp;&lt;/blockquote&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
１つのフォルダとは何なのでしょうか？&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
具体的には &quot;/Apps/(App nameに記述したアプリ名)&quot; です。&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Open Sans&#39;, &#39;lucida grande&#39;, &#39;Segoe UI&#39;, arial, verdana, &#39;lucida sans unicode&#39;, tahoma, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;A dedicated folder named after your app is created within the&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;background-color: white; color: #444444; cursor: auto; font-family: &#39;Open Sans&#39;, &#39;lucida grande&#39;, &#39;Segoe UI&#39;, arial, verdana, &#39;lucida sans unicode&#39;, tahoma, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;Apps&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Open Sans&#39;, &#39;lucida grande&#39;, &#39;Segoe UI&#39;, arial, verdana, &#39;lucida sans unicode&#39;, tahoma, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&amp;nbsp;folder of a person&#39;s Dropbox. You get read and write access to this folder only. People can share content with your app by simply putting stuff in the folder from any of their computers or the Dropbox website.&lt;/span&gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
と詳しくは、&lt;a href=&quot;https://www.dropbox.com/developers/start/core&quot; target=&quot;_blank&quot;&gt;Core concepts&lt;/a&gt;&amp;nbsp;に記載されてます。&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
大まかには、&quot;DropboxユーザのAppsフォルダ配下に、アプリ名のフォルダが作成され、ユーザはそのフォルダのみ、読み書き出来るし、簡単にシェア出来る&quot; とかいう内容です。&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
僕の場合は、以下になります。&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;162&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMLDToW7rjO5noGwawzNjPbe2NgV-NweALFc2r3wdth9r21Gfvyh2GiZpMwH8Mmm6dPSfgcTha3Ew89uiHMEpSoZm9WQnrAkuCV-MGlXuPLpardQcrNTIgn-2rAFXWnSeyNaL3vkEcftA/s640/Dropbox-AppFolder.png&quot; width=&quot;640&quot; /&gt;&lt;a href=&quot;https://itunes.apple.com/jp/app/ifieldrec/id456579902?mt=8&quot; target=&quot;_blank&quot;&gt;&quot;iFieldRec&quot; というのは、僕の公開しているiOSアプリ&lt;/a&gt;です。&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
こちらは種類が&quot;フォルダ&quot;とかかれています。ユーザーが作成出来る通常のフォルダと同じです。&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;a href=&quot;https://itunes.apple.com/jp/app/ifieldrec/id456579902?mt=8&quot;&gt;&quot;iFieldRec&quot;&lt;/a&gt;&amp;nbsp;は、 &quot;Access level&quot; が &quot;Full Dropbox&quot; です。&amp;nbsp;詳しくは、&quot;Full Dropbox&quot;のところで説明します。&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
パスは /Apps/iFieldRec/ です。&lt;/blockquote&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&quot;O&#39;Reilly Media&quot; は、&lt;a href=&quot;http://oreilly.com/&quot; target=&quot;_blank&quot;&gt;oreilly.com&lt;/a&gt;の電子書籍を購入し、Dropbox連携してくれる際に作られた &quot;アプリフォルダ&quot; です。つまり、O&#39;ReillyのDropbox連携は &quot;Access level&quot; が &quot;App folder&quot; で作成されているという事ですね。&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
パスは&amp;nbsp;/Apps/O&#39;Reilly Media/ です。&lt;/blockquote&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&quot;Full Dropbox&quot;&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Open Sans&#39;, &#39;lucida grande&#39;, &#39;Segoe UI&#39;, arial, verdana, &#39;lucida sans unicode&#39;, tahoma, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;Your app needs access to the user&#39;s entire Dropbox.&lt;/span&gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&quot;あなたのアプリはユーザのすべてにアクセス出来ます。&quot;&amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
利用ユーザのDropboxには、アプリに関係ない大事なデータが沢山ある筈ですが、関係無しに何でも出来てしまいます。なので、&amp;nbsp;&quot;App folder&quot; がお勧めされている訳です。&amp;nbsp;&lt;/blockquote&gt;
&lt;ul id=&quot;core-app-list&quot; style=&quot;color: #444444; cursor: auto; font-family: &#39;Open Sans&#39;, &#39;lucida grande&#39;, &#39;Segoe UI&#39;, arial, verdana, &#39;lucida sans unicode&#39;, tahoma, sans-serif; font-size: 13px; margin: 0px; padding: 0px;&quot;&gt;
&lt;li style=&quot;cursor: auto; list-style: none; margin: 0px; padding: 0px;&quot;&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;
You get full access to all the files and folders in a user&#39;s Dropbox. For security reasons, you will need to provide a good reason to request this level of access before your app is approved for wide release.&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;color: black; font-family: &#39;Hiragino Kaku Gothic Pro&#39;; font-size: small;&quot;&gt;と詳しくは、&lt;/span&gt;&lt;a href=&quot;https://www.dropbox.com/developers/start/core&quot; style=&quot;font-family: &#39;Hiragino Kaku Gothic Pro&#39;; font-size: medium;&quot; target=&quot;_blank&quot;&gt;Core concepts&lt;/a&gt;&lt;span style=&quot;color: black; font-family: &#39;Hiragino Kaku Gothic Pro&#39;; font-size: small;&quot;&gt;&amp;nbsp;に記載されてます。&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &#39;Hiragino Kaku Gothic Pro&#39;; font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;color: black; font-family: &#39;Hiragino Kaku Gothic Pro&#39;; font-size: small;&quot;&gt;大まかには、&quot;あなたは、ユーザのDropboxのファイルやフォルダにフルアクセス出来ます。セキュリティの理由から、あなたのアプリがリリースされる前に、このアクセスレベルを要求する理由を提示する必要があるでしょう。&quot; と書かれている（と思います。）&lt;/span&gt;&lt;/blockquote&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
では、（知るかと思われるでしょうが）何故&amp;nbsp;&lt;a href=&quot;https://itunes.apple.com/jp/app/ifieldrec/id456579902?mt=8&quot; target=&quot;_blank&quot;&gt;&quot;iFieldRec&quot;&lt;/a&gt;&amp;nbsp;は&amp;nbsp;&quot;Full Dropbox&quot; なのでしょうか？&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
それは、 &quot;Access level&quot; という仕様が出来る前に、SDK利用登録したアプリなので、 &quot;Access level&quot; は自動的に &quot;Full Dropbox&quot; になりました。 僕も&amp;nbsp;&quot;App folder&quot; が良かったです。しかし残念な事に、途中変更は現時点では出来ないのでそのまま利用してます。&lt;span style=&quot;font-size: xx-small;&quot;&gt;[1]&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
では、入力し終わったら &quot;Create a new app&quot; 画面で &quot;Create&quot; ボタンを押し登録。&lt;br /&gt;
&quot;Access level&quot; を&amp;nbsp;&quot;App folder&quot; で登録すると以下のような画面になります。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3bwWC7vlNdOmZyZjucgLESiyaDNzrZDUSskOfbMk-PkcqecVCzmeDqNFv9javFe2O4DeNPfsqySwqy3BQ8o410PyjeyUJaSB_31QNZeCwPcghZaT60X5mjL5nwOCkL0FCKQoOlNUe6V8/s640/Dropbox-AfterCreateApp.png&quot; width=&quot;500&quot; /&gt;&lt;/div&gt;
&lt;a href=&quot;http://oauth.net/&quot; target=&quot;_blank&quot;&gt;OAuth&lt;/a&gt;&amp;nbsp;で利用する &quot;App key&quot; と &quot;App secret&quot; が発行されました。&lt;br /&gt;
&lt;a href=&quot;https://www.dropbox.com/developers/reference/api&quot; target=&quot;_blank&quot;&gt;REST API ページ&lt;/a&gt;に、以下のように記載されていますので、必ず必要ですね。&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Open Sans&#39;, &#39;lucida grande&#39;, &#39;Segoe UI&#39;, arial, verdana, &#39;lucida sans unicode&#39;, tahoma, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;Dropbox uses&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://oauth.net/&quot; style=&quot;background-color: white; color: #1f75cc; cursor: pointer; font-family: &#39;Open Sans&#39;, &#39;lucida grande&#39;, &#39;Segoe UI&#39;, arial, verdana, &#39;lucida sans unicode&#39;, tahoma, sans-serif; font-size: 13px; line-height: 20px; outline: none; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;OAuth&lt;/a&gt;&lt;span style=&quot;background-color: white; color: #444444; font-family: &#39;Open Sans&#39;, &#39;lucida grande&#39;, &#39;Segoe UI&#39;, arial, verdana, &#39;lucida sans unicode&#39;, tahoma, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&amp;nbsp;to authenticate all API requests.&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&quot;Dropboxはすべての認証 API に&lt;a href=&quot;http://oauth.net/&quot; target=&quot;_blank&quot;&gt;OAuth&lt;/a&gt;を使用します。&quot;&amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;
これでひとまず&lt;b&gt;個人的&lt;/b&gt;に実機やシュミレーターでのDropbox SDKを利用したアプリが作れます。&lt;br /&gt;
&lt;br /&gt;
何故、&lt;b&gt;個人的&lt;/b&gt;なのでしょうか？&lt;br /&gt;
&quot;App status&quot; という項目が登録内容にあります。こちらも重要なので、内容を確認してみます。&lt;br /&gt;
&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;アプリステータスについて&lt;span style=&quot;font-size: xx-small;&quot;&gt;[2]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&quot;App status&quot; には &quot;Development&quot; と &quot;Production&quot; の二つのステータスが用意されています。&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Development status&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 13px;&quot;&gt;When you first create your app, it is initially given development status. This grants you limited user access to the API. While in development, you can start using the API immediately and you have the option of enabling up to five other users to test your app. For wide release, you&#39;ll need to apply for production status.&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot; style=&quot;color: #444444; font-family: &#39;Open Sans&#39;, &#39;lucida grande&#39;, &#39;Segoe UI&#39;, arial, verdana, &#39;lucida sans unicode&#39;, tahoma, sans-serif; font-size: 13px;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &#39;Hiragino Kaku Gothic Pro&#39;; font-size: small;&quot;&gt;と詳しくは、&lt;/span&gt;&lt;a href=&quot;https://www.dropbox.com/developers/start/core&quot; style=&quot;font-family: &#39;Hiragino Kaku Gothic Pro&#39;; font-size: medium;&quot; target=&quot;_blank&quot;&gt;Core concepts&lt;/a&gt;&lt;span style=&quot;color: black; font-family: &#39;Hiragino Kaku Gothic Pro&#39;; font-size: small;&quot;&gt;&amp;nbsp;に記載されてます。&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &#39;Hiragino Kaku Gothic Pro&#39;; font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &#39;Hiragino Kaku Gothic Pro&#39;;&quot;&gt;大まかには、&lt;/span&gt;&quot;初めてあなたのアプリを登録すると初めに付与されるのが、Developmentステータスになります。この権限は、APIへのアクセス制限をしてます。Developmentステータスは、即座にAPIを利用出来、オプションで他に5ユーザまであなたのアプリをテスト出来ます。リリースする際は、Productionステータス変更依頼をする必要があるでしょう。&quot;&amp;nbsp;とかいう内容です。&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&quot;Additional users&quot; 項目で、オプションで5ユーザ追加設定が出来ます。&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&quot;App status&quot; をProductionステータスにするには、&amp;nbsp;&quot;Development&quot;&amp;nbsp;の横の &quot;Apply for production status&quot; のリンクから依頼出来ます。&lt;/blockquote&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Production status&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 13px;&quot;&gt;Once you&#39;re ready to share your app with the world, apply for production status from your app&#39;s info page, accessible via&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://www.dropbox.com/developers/apps&quot; style=&quot;color: #1155cc; font-family: arial, sans-serif; font-size: 13px; outline: none; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;My apps&lt;/a&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 13px;&quot;&gt;. You will be prompted for some additional info, and your app will then be submitted to Dropbox for review. We will review your app to make sure it adheres to the API&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://www.dropbox.com/developers/reference/tos&quot; style=&quot;color: #1155cc; font-family: arial, sans-serif; font-size: 13px; outline: none; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;terms and conditions&lt;/a&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 13px;&quot;&gt;&amp;nbsp;and&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://www.dropbox.com/developers/reference/branding&quot; style=&quot;color: #1155cc; font-family: arial, sans-serif; font-size: 13px; outline: none; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;branding guidelines&lt;/a&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 13px;&quot;&gt;. Once your app is approved for production status, any Dropbox account can link to your app.&lt;/span&gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot; style=&quot;color: #444444; font-family: &#39;Open Sans&#39;, &#39;lucida grande&#39;, &#39;Segoe UI&#39;, arial, verdana, &#39;lucida sans unicode&#39;, tahoma, sans-serif; font-size: 13px;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &#39;Hiragino Kaku Gothic Pro&#39;; font-size: small;&quot;&gt;と詳しくは、&lt;/span&gt;&lt;a href=&quot;https://www.dropbox.com/developers/start/core&quot; style=&quot;font-family: &#39;Hiragino Kaku Gothic Pro&#39;; font-size: medium;&quot; target=&quot;_blank&quot;&gt;Core concepts&lt;/a&gt;&lt;span style=&quot;color: black; font-family: &#39;Hiragino Kaku Gothic Pro&#39;; font-size: small;&quot;&gt;&amp;nbsp;に記載されてます。&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &#39;Hiragino Kaku Gothic Pro&#39;; font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &#39;Hiragino Kaku Gothic Pro&#39;;&quot;&gt;大まかには、&lt;/span&gt;&amp;nbsp;&quot;アプリ情報ページのステータスをProductionへ依頼すると、あなたのアプリが、世界に公開する準備が出来いくつかの追加情報を記入し、Dropboxのレビューに提出されます。私たちはあなたのアプリが&lt;a href=&quot;https://www.dropbox.com/developers/reference/tos&quot; target=&quot;_blank&quot;&gt;条件&lt;/a&gt;や&lt;a href=&quot;https://www.dropbox.com/developers/reference/branding&quot; target=&quot;_blank&quot;&gt;ガイドライン&lt;/a&gt;に従っているか確認します。Productionステータスに承認されると、あなたのアプリに誰でもDropboxアカウントをリンクする事が出来ます。&quot;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Hiragino Kaku Gothic Pro&#39;;&quot;&gt;と書かれている（と思います。）&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
そうです、Dropbox SDKもアプリのレビューが行われます。&amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
しかも、APIのアクセス履歴を確認しているので、テストしないと以下のようにおこられます。&lt;/blockquote&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;190&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1q0_juaPpQstN3yq1uH6hinTVcXIdlGhHPEQtaflfqHUfqE8ft9BiQselTsjWkFZycPk0mgAdrjTsD4HIOkE7T8Z-bCmQUufSCNjwi6VEBSR_Zjps_tmUIEFXuAaO_sprP8b2vVArQGw/s640/Dropbox-ApplyForProductionStatusError.png&quot; width=&quot;640&quot; /&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
Webアプリなどの場合には、Dropboxのレビューの際にURLを提示してくれとか要求される様ですが、iOSの場合には、Developmentステータスのまま、Appleの審査に出す訳にはいかないです。なので、Appleに審査して貰うのでProductionステータスにして欲しいと、レビュー依頼時に書いておきましょう。&lt;br /&gt;
&lt;a href=&quot;https://www.dropbox.com/developers/reference/tos&quot; target=&quot;_blank&quot;&gt;条件&lt;/a&gt;や&lt;a href=&quot;https://www.dropbox.com/developers/reference/branding&quot; target=&quot;_blank&quot;&gt;ガイドライン&lt;/a&gt;から外れていなければ、承認して貰えると思います。&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
以下に、参考になるようなリンクを記載しておきます。&amp;nbsp;&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://typea.info/blg/glob/2012/06/dropbox-android.html&quot; target=&quot;_blank&quot;&gt;Dropbox を利用した Android アプリを公開する&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://sarudeki.jp/mipoiapp/?p=949&quot; target=&quot;_blank&quot;&gt;iOSアプリをDropbox対応(Dropboxに申請)する際に困ったこと。&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://chushoww.blogspot.jp/2012/02/d-7.html&quot; target=&quot;_blank&quot;&gt;D箱のアシスト事件 第7夜 ( 最終回 )&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://min2club.com/talk/talk/2012/04/24/dropbox%E3%81%AEapi%E3%82%92%E4%BD%BF%E3%81%86%E6%99%82%E3%81%AB%E7%9F%A5%E3%81%A3%E3%81%A6%E3%81%8A%E3%81%8D%E3%81%9F%E3%81%84%E3%81%93%E3%81%A8/&quot; target=&quot;_blank&quot;&gt;DropboxのAPIを使う時に知っておきたいこと&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://d.hatena.ne.jp/teru_kusu/20110120/1295501239&quot; target=&quot;_blank&quot;&gt;Dropboxアプリ制作の流れ&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
&quot;My apps&quot; ページでは、以下のようにステータスを確認出来ます。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;324&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiThCUucFAOxpHHS95acpf9W-0mmNrukZpKhG3BzJ_kH4IiZiNGeZ0FiOiCjWcV-I-Nqo3pdu4BDW8EEmb2EuuRIuakbj9khLFrrS0CNVcl4q9OzmNuf-SX1nF7RK-2uNa3Sl3wTqj_mwA/s640/Dropbox-AppList.png&quot; width=&quot;640&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
これで、Dropbox SDKを利用した開発の準備が出来ました。&lt;br /&gt;
&lt;a href=&quot;http://atushiyamazaki.blogspot.jp/2012/10/o0-how-to-use-dropbox-sdk-for-ios-2-0o.html&quot; target=&quot;_blank&quot;&gt;次回は、SDKに付属するデモアプリを動かしてみるところから書こうと思います&lt;/a&gt;。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
つづく。&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #660000; font-size: large;&quot;&gt;宣伝&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Lucida Grande, Lucida Sans Unicode, Arial, Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;フィールドレコーディングを楽しむアプリを作ってます。&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; line-height: 18px;&quot;&gt;録音した音声ファイルを、&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; line-height: 18px;&quot;&gt;録音時のロケーションの&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; line-height: 18px;&quot;&gt;マップ上から&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; line-height: 18px;&quot;&gt;再生。&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; line-height: 18px;&quot;&gt;Dropbox上でShare、Tweetし、音声をTwitter上に共有出来ます。&lt;/span&gt;&lt;br /&gt;
興味があれば、&lt;a href=&quot;https://itunes.apple.com/jp/app/ifieldrec/id456579902?mt=8&quot; target=&quot;_blank&quot;&gt;是非使ってみてください&lt;/a&gt;。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://itunes.apple.com/jp/app/ifieldrec/id456579902?mt=8&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/AVvXsEhxyoWr6FQNR_P4KwjGlBehxar0i5QyDZd3vPRdd9M_W1AoH-9qhlADrXLa_V0LBOZPDqi7g1XaGULbQiNPRxMYyUpblla9HEXVrkX0Vwvtb13Ems__rlwtSN-Q6NXOikjpXUvNw908kKo/s1600/Icon@2x.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;余談ですが、&lt;a href=&quot;https://itunes.apple.com/jp/app/ifieldrec/id456579902?mt=8&quot; target=&quot;_blank&quot;&gt;このアプリ&lt;/a&gt;、&quot;Full Dropbox&quot; なのですが、 &quot;App folder&quot; のように一つのフォルダ(/Apps/iFieldRec/)にしかアクセスさせないように挙動させてます。セキュリティ的には、ユーザからしたらどうせ&amp;nbsp;&quot;Full Dropbox&quot; だろうが、という感じでしょうが。&lt;/li&gt;
&lt;li&gt;もちろん、&quot;Development&quot;&amp;nbsp;の状態で、開発してAppleに申請する前に&amp;nbsp;&quot;Production&quot; に変更しても構いません。説明の都合上、開発前に紹介しただけです。&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://atushiyamazaki.blogspot.com/feeds/6199231252316318894/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8027197119886202597/6199231252316318894' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/6199231252316318894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/6199231252316318894'/><link rel='alternate' type='text/html' href='http://atushiyamazaki.blogspot.com/2012/10/o0-how-to-use-dropbox-sdk-for-ios-1-0o.html' title='o0  How to use the Dropbox SDK for iOS 1 0o'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16863559729276846827</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/AVvXsEhWP36hegmexR9daVB2vrOVmC7CuMjbWhfT15NP39o48YjN1U_k7kx8HslrupVkY8RvX-w1n0LEbvUqoERClvJWBwU_vXymR0NGfDErBQ44h05Axc77wbGLukQMSzU_Zb_RzUQbZlLTr0c/s72-c/Dropbox-DropboxAPIAccess.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8027197119886202597.post-9210069566732585094</id><published>2012-10-16T12:01:00.000+09:00</published><updated>2012-10-16T12:19:07.262+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Apple"/><category scheme="http://www.blogger.com/atom/ns#" term="Appstore"/><category scheme="http://www.blogger.com/atom/ns#" term="iFieldRec"/><category scheme="http://www.blogger.com/atom/ns#" term="iPhone"/><title type='text'>o0 Release -  iFieldRec version2.0.0 0o</title><content type='html'>&lt;table style=&quot;text-align: center; width: auto;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://itunes.apple.com/jp/app/ifieldrec/id456579902?mt=8&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img height=&quot;320&quot; src=&quot;https://lh5.googleusercontent.com/-V9p4a1wRXbA/UHMZOSDUltI/AAAAAAABPBw/W11mfCFPsf8/s320/20121005094011.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
約１年振りに、iOSアプリ&lt;a href=&quot;https://itunes.apple.com/jp/app/ifieldrec/id456579902?mt=8&quot;&gt;iFieldRec&lt;/a&gt;のバージョンアップを行いました。&lt;br /&gt;
I have&amp;nbsp;finally&amp;nbsp;released to upgrade the&amp;nbsp;&lt;a href=&quot;https://itunes.apple.com/en/app/ifieldrec/id456579902?mt=8&quot;&gt;iFieldRec version2.0.0 on Appstore&lt;/a&gt; !&lt;br /&gt;
&lt;table style=&quot;width: auto;&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;img height=&quot;400&quot; src=&quot;https://lh4.googleusercontent.com/-e4-v-z1IZqs/UHMZCw9Fz7I/AAAAAAABPA4/YMl_TSEOd8g/s400/20121005084247.png&quot; width=&quot;267&quot; /&gt;&lt;/td&gt;
&lt;td&gt;&lt;img height=&quot;400&quot; src=&quot;https://lh6.googleusercontent.com/-ggatrMmdXus/UHMZFIUG7fI/AAAAAAABPBA/eblcmIzE364/s400/20121005084259.png&quot; width=&quot;267&quot; /&gt;&lt;/td&gt;
&lt;td&gt;&lt;img height=&quot;400&quot; src=&quot;https://lh6.googleusercontent.com/-eneq5gfv7XA/UHMZNFZ2_MI/AAAAAAABPBo/nypDh1yZGGQ/s400/20121005084404.png&quot; width=&quot;267&quot; /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;h3&gt;
&lt;span style=&quot;color: #660000; font-size: large;&quot;&gt;What&#39;s iFieldRec?&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;background-color: #fafafa; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;　フィールドレコーディングを楽しむアプリです。&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fafafa; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;　録音時に、音声ファイルへ位置情報も追加し、地図を見ながら音声を聞くことが出来ます。&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fafafa; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;　The iFieldRec is a simple field recorder and geolocation application.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fafafa; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;　You can listen to the audio and see the recording location on the map.&lt;/span&gt;&lt;br /&gt;
&lt;h3&gt;

&lt;span style=&quot;background-color: #fafafa; color: #660000; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: large; line-height: 19px; text-align: justify;&quot;&gt;What&#39;s iFieldRec version2.0.0?&lt;/span&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif;&quot;&gt;UIリニューアル&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;color: #333333; font-family: Helvetica Neue Light, HelveticaNeue-Light, Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;background-color: white; font-family: &#39;Lucida Grande&#39;, Geneva, Verdana, Arial; font-weight: bold;&quot;&gt;New UI.&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;background-color: #fafafa; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; line-height: 19px; text-align: justify;&quot;&gt;録音した音声ファイルをDropbox上でShareしTweetを可能に。&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;color: #333333; font-family: Helvetica Neue Light, HelveticaNeue-Light, Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;background-color: white; font-family: &#39;Lucida Grande&#39;, Geneva, Verdana, Arial; font-weight: bold;&quot;&gt;Enable the Sharing Audio file on Dropbox and Tweet.&lt;/span&gt;&lt;/span&gt;

&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;background-color: #fafafa; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; line-height: 19px; text-align: justify;&quot;&gt;iTunes上のファイル共有（inport/export）&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;color: #333333; font-family: Helvetica Neue Light, HelveticaNeue-Light, Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;background-color: white; font-family: &#39;Lucida Grande&#39;, Geneva, Verdana, Arial; font-weight: bold;&quot;&gt;Enable the file sharing on iTunes (inport/export)&lt;/span&gt;&lt;/span&gt;

&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;background-color: #fafafa; line-height: 19px; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Helvetica Neue Light, HelveticaNeue-Light, Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: &#39;Lucida Grande&#39;, Geneva, Verdana, Arial; font-weight: bold;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #fafafa; line-height: 19px; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Helvetica Neue Light, HelveticaNeue-Light, Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;iOS6,iPhone5対応&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;color: #333333; font-family: Helvetica Neue Light, HelveticaNeue-Light, Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;background-color: white; font-family: &#39;Lucida Grande&#39;, Geneva, Verdana, Arial; font-weight: bold;&quot;&gt;Support the iOS6,iPhone5.&lt;/span&gt;&lt;/span&gt;

&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;background-color: #fafafa; line-height: 19px; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Helvetica Neue Light, HelveticaNeue-Light, Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;各種バグ対応&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;color: #333333; font-family: Helvetica Neue Light, HelveticaNeue-Light, Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;background-color: white; font-family: &#39;Lucida Grande&#39;, Geneva, Verdana, Arial; font-weight: bold;&quot;&gt;Bug fixes.&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;table style=&quot;width: auto;&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;img height=&quot;400&quot; src=&quot;https://lh6.googleusercontent.com/-cOHhLZPpogU/UHMY_aFpUkI/AAAAAAABPAo/pEvvobHvads/s400/20121005084006.png&quot; width=&quot;267&quot; /&gt;&lt;/td&gt;
&lt;td&gt;&lt;img height=&quot;400&quot; src=&quot;https://lh5.googleusercontent.com/-3yhqPpUi4WE/UHMZGiP7_dI/AAAAAAABPBI/6ZaN_-qv6MA/s400/20121005084321.png&quot; width=&quot;267&quot; /&gt;&lt;/td&gt;
&lt;td&gt;&lt;img height=&quot;400&quot; src=&quot;https://lh4.googleusercontent.com/-U1y54M7lKlE/UHMZJxoRmHI/AAAAAAABPBY/snjUYPF9ZQk/s400/20121005084338.png&quot; width=&quot;267&quot; /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
また、地図の精度はアレですが、iOS6のMapは描画が高速な為、よりサクサク音声リストの移動が出来るようになってます。&lt;br /&gt;
Then, iOS6 Map has some trouble, but it is to describe so fast, so you like new one more than old one, I think.&lt;br /&gt;
&lt;br /&gt;
万人受けしないアプリですが、興味がある方は是非とも使って楽しんで見て下さい。&lt;br /&gt;
if you have a interest for this app, so please enjoy and use it!&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://sites.google.com/site/atushi/ifieldrec&quot;&gt;Support site&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://twitter.com/ifieldrec&quot;&gt;iFieldRec@Twitter&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://atushiyamazaki.blogspot.com/feeds/9210069566732585094/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8027197119886202597/9210069566732585094' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/9210069566732585094'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/9210069566732585094'/><link rel='alternate' type='text/html' href='http://atushiyamazaki.blogspot.com/2012/10/o0-release-ifieldrec-version200-0o.html' title='o0 Release -  iFieldRec version2.0.0 0o'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16863559729276846827</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://lh5.googleusercontent.com/-V9p4a1wRXbA/UHMZOSDUltI/AAAAAAABPBw/W11mfCFPsf8/s72-c/20121005094011.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8027197119886202597.post-8673996143090324479</id><published>2011-12-06T13:27:00.001+09:00</published><updated>2011-12-06T22:28:22.637+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Apple"/><category scheme="http://www.blogger.com/atom/ns#" term="iFieldRec"/><category scheme="http://www.blogger.com/atom/ns#" term="iOS"/><category scheme="http://www.blogger.com/atom/ns#" term="iPhone"/><title type='text'>o0 iPhoneアプリ開発・運用をちょっと安く行う１例 0o</title><content type='html'>&lt;br /&gt;
僕は、勉強以外の理由で無駄にサーバを運用したり、ソース管理にお金をかけようと思いません。&lt;br /&gt;
iPhoneアプリを開発し、実際に公開して運用している現在での、&lt;br /&gt;
なるべく安上がりなノウハウというものが、参考になる方もいるかもしれないので、書いてみます。&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #990000; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px; line-height: 19px;&quot;&gt;&lt;b&gt;ソース管理&lt;/b&gt;は、&lt;b&gt;dropbox&lt;/b&gt;上にリポジトリを置き自動バックアップ(Gitを利用してます。)&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #990000; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px; line-height: 19px;&quot;&gt;&lt;b&gt;QAサイト&lt;/b&gt;は、&lt;b&gt;&lt;a href=&quot;http://groups.google.com/group/ifieldrec&quot;&gt;Google groups&lt;/a&gt;&lt;/b&gt;を利用する。&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #990000; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;　　　　 iFieldRecでは、誰も利用してないですが、人気のある笠谷さんの&lt;/span&gt;&lt;a href=&quot;http://groups.google.com/group/pocketguitar&quot; style=&quot;font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;Pocketguitar&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #990000; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;では利用されてます。&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #990000; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;　　　　 勿論、&lt;a href=&quot;https://twitter.com/#!/ifieldrec&quot;&gt;&lt;b&gt;アプリ専用のTwitterアカウント&lt;/b&gt;&lt;/a&gt;も活用できます。&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #990000; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px; line-height: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #990000; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px; line-height: 19px;&quot;&gt;&lt;b&gt;サポートサイト&lt;/b&gt;は、&lt;b&gt;&lt;a href=&quot;https://sites.google.com/site/atushi/ifieldrec&quot;&gt;Google site&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #990000; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;を利用する。&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #990000; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;&lt;b&gt;SNSのFanページ&lt;/b&gt;を利用する。&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #990000; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;　　　　 &lt;a href=&quot;http://www.facebook.com/pages/iFieldRec/200665113329980&quot;&gt;Facebook&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #990000; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;　　　　 &lt;a href=&quot;https://plus.google.com/b/117713773747983679847/&quot;&gt;Google+&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #990000; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;　　　　 &lt;a href=&quot;http://page.mixi.jp/view_page_information.pl?page_id=4660&amp;amp;module_id=25491&quot;&gt;Mixi&lt;/a&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #990000; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px; line-height: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #990000; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px; line-height: 19px;&quot;&gt;&lt;b&gt;&lt;a href=&quot;http://www.youtube.com/watch?feature=player_embedded&amp;amp;v=Vqpo1ONC_Lg&quot;&gt;アプリのPV&lt;/a&gt;&lt;/b&gt;は、（持っていれば）&lt;b&gt;ipadの&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #990000;&quot;&gt;&lt;b&gt;iMovie&lt;/b&gt;を利用する。&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
一番注意して欲しいのは、&lt;b&gt;&lt;a href=&quot;http://itunes.apple.com/en/app/ifieldrec/id456579902?mt=8&quot;&gt;僕のアプリ&lt;/a&gt;&lt;/b&gt;は驚く程売れてません。&lt;br /&gt;
&lt;br /&gt;
無闇やたらに○○ページやアカウントを作っただけでは、プロモーションした事になりません。&lt;br /&gt;
何も発展しないし、誰も興味を持たないので、存在しないも同然です。&lt;br /&gt;
（自分の作ったアプリがAppStoreでどれだけ埋もれて見つけ難いか、試すと良くわかります。）&lt;br /&gt;
&lt;br /&gt;
ただ、アプリを維持するためのランニングコストは、&lt;a class=&quot;l&quot; href=&quot;http://developer.apple.com/jp/programs/ios/&quot; style=&quot;background-color: white; color: #1122cc; cursor: pointer; font-family: arial, sans-serif; white-space: nowrap;&quot;&gt;iOS Developer Program&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: black; font-family: &#39;ＭＳ Ｐゴシック&#39;;&quot;&gt;のみなので、&lt;/span&gt;&lt;br /&gt;
体力（資金）の無い、貧弱な個人デベロッパーでも、&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: black; font-family: &#39;ＭＳ Ｐゴシック&#39;;&quot;&gt;ゆっくり・じっくり次の施策を練ったり、開発することが出来ると思います。&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://atushiyamazaki.blogspot.com/feeds/8673996143090324479/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8027197119886202597/8673996143090324479' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/8673996143090324479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/8673996143090324479'/><link rel='alternate' type='text/html' href='http://atushiyamazaki.blogspot.com/2011/12/o0-iphone-0o.html' title='o0 iPhoneアプリ開発・運用をちょっと安く行う１例 0o'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16863559729276846827</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-8027197119886202597.post-5507793391962483065</id><published>2011-08-25T01:21:00.000+09:00</published><updated>2011-09-28T13:02:24.443+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="iFieldRec"/><category scheme="http://www.blogger.com/atom/ns#" term="iOS"/><category scheme="http://www.blogger.com/atom/ns#" term="iPhone"/><category scheme="http://www.blogger.com/atom/ns#" term="PV"/><title type='text'>o0 iFieldRec - PV 0o</title><content type='html'>リリースしたアプリの認知度を上げるための施策の準備としてPVを作ってみました。&lt;br /&gt;
&lt;br /&gt;
この程度の動画撮影、編集なら全てiPad(主にiMovie)のみで作成出来たので、開発や込み入った作業をしなければPCは必要なくなって来たことを実感します。&lt;br /&gt;
&lt;br /&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;345&quot; src=&quot;http://www.youtube.com/embed/Vqpo1ONC_Lg&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://itunes.apple.com/jp/app/ifieldrec/id456579902?mt=8&quot;&gt;iPhone向けアプリiFieldRecはこちら&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://atushiyamazaki.blogspot.com/feeds/5507793391962483065/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8027197119886202597/5507793391962483065' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/5507793391962483065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/5507793391962483065'/><link rel='alternate' type='text/html' href='http://atushiyamazaki.blogspot.com/2011/08/o0-ifieldrec-pv-0o.html' title='o0 iFieldRec - PV 0o'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16863559729276846827</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://img.youtube.com/vi/Vqpo1ONC_Lg/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8027197119886202597.post-5814150427047432339</id><published>2011-08-16T17:46:00.000+09:00</published><updated>2012-06-15T21:16:10.644+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Apple"/><category scheme="http://www.blogger.com/atom/ns#" term="Appstore"/><category scheme="http://www.blogger.com/atom/ns#" term="iFieldRec"/><category scheme="http://www.blogger.com/atom/ns#" term="iOS"/><category scheme="http://www.blogger.com/atom/ns#" term="iPhone"/><category scheme="http://www.blogger.com/atom/ns#" term="iPhone SDK"/><title type='text'>o0  Release - iFieldRec 0o</title><content type='html'>&lt;br /&gt;
本日AppleのAppstoreにて&lt;a href=&quot;http://itunes.apple.com/jp/app/ifieldrec/id456579902?mt=8&quot;&gt;iPhone向けアプリiFieldRec&lt;/a&gt;をリリースしました。&lt;br /&gt;
Today, I released the &lt;a href=&quot;http://itunes.apple.com/en/app/ifieldrec/id456579902?mt=8&quot;&gt;iFieldRec that is iPhone app&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
通常の録音時に、音声ファイルへ位置情報も追加し、フィールドレコーディングを楽しむアプリです。&lt;br /&gt;
iFieldRec is a simple field recorder and geolocation application.&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://itunes.apple.com/jp/app/ifieldrec/id456579902?mt=8&quot;&gt;&lt;img height=&quot;403&quot; src=&quot;https://lh6.googleusercontent.com/-j35WUo_nuQE/Tkor8qa9lWI/AAAAAAAA8gM/HD5yPEdQ6pg/s640/iTunes%2525E5%252585%2525AC%2525E9%252596%25258B%2525E7%252594%2525A8.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://sites.google.com/site/atushi/ifieldrec&quot;&gt;Support サイト&lt;/a&gt;はこちら。&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://twitter.com/#!/ifieldrec&quot;&gt;iFieldRec Twitterアカウント&lt;/a&gt;はこちら。&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
宜しければ、有料（¥85）ですが、ご利用下さいませ。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://atushiyamazaki.blogspot.com/feeds/5814150427047432339/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8027197119886202597/5814150427047432339' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/5814150427047432339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/5814150427047432339'/><link rel='alternate' type='text/html' href='http://atushiyamazaki.blogspot.com/2011/08/o0-release-to-ifieldrec-0o.html' title='o0  Release - iFieldRec 0o'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16863559729276846827</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://lh6.googleusercontent.com/-j35WUo_nuQE/Tkor8qa9lWI/AAAAAAAA8gM/HD5yPEdQ6pg/s72-c/iTunes%2525E5%252585%2525AC%2525E9%252596%25258B%2525E7%252594%2525A8.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8027197119886202597.post-7772859656913341187</id><published>2011-03-13T06:00:00.001+09:00</published><updated>2011-03-13T06:01:10.449+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="chrome extenstion"/><category scheme="http://www.blogger.com/atom/ns#" term="chrome web store"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><category scheme="http://www.blogger.com/atom/ns#" term="LittleBetterGSearchResults"/><category scheme="http://www.blogger.com/atom/ns#" term="userscripts"/><title type='text'>o0 LittleBetterGSearchResults for chrome web store 0o</title><content type='html'>&lt;a href=&quot;http://userscripts.org/scripts/show/22539&quot;&gt;userscripts.orgにて以前から公開していたscript&lt;/a&gt;を、chrome extenstionに移植しました。&lt;br /&gt;&lt;a href=&quot;https://chrome.google.com/webstore/detail/jfcgfplcebbbcilipkfgiooifhkbkimb&quot;&gt;こちらのリンクにてinstall可能&lt;/a&gt;です。&lt;br /&gt;&lt;br /&gt;&lt;table style=&quot;width:auto;&quot;&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;https://picasaweb.google.com/lh/photo/Nfz9fTt1qem-A6rUZkv-AQ?feat=embedwebsite&quot;&gt;&lt;img src=&quot;https://lh6.googleusercontent.com/_895SLocKaug/TXveQlLIQKI/AAAAAAAAzdA/ztjGoCCiNrA/s400/screen-capture.png&quot; height=&quot;271&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;font-family:arial,sans-serif; font-size:11px; text-align:right&quot;&gt;送信者 &lt;a href=&quot;https://picasaweb.google.com/atushi.yamazaki/LittleBetterGSearchResultsForChromeWebStore?feat=embedwebsite&quot;&gt;LittleBetterGSearchResults for chrome web store&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</content><link rel='replies' type='application/atom+xml' href='http://atushiyamazaki.blogspot.com/feeds/7772859656913341187/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8027197119886202597/7772859656913341187' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/7772859656913341187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/7772859656913341187'/><link rel='alternate' type='text/html' href='http://atushiyamazaki.blogspot.com/2011/03/o0-littlebettergsearchresults-for.html' title='o0 LittleBetterGSearchResults for chrome web store 0o'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16863559729276846827</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://lh6.googleusercontent.com/_895SLocKaug/TXveQlLIQKI/AAAAAAAAzdA/ztjGoCCiNrA/s72-c/screen-capture.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8027197119886202597.post-7696818668102536386</id><published>2009-08-28T16:05:00.005+09:00</published><updated>2009-08-28T16:27:13.438+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><category scheme="http://www.blogger.com/atom/ns#" term="mixiアプリ"/><category scheme="http://www.blogger.com/atom/ns#" term="mixiオミクジ"/><category scheme="http://www.blogger.com/atom/ns#" term="OpenSocial"/><category scheme="http://www.blogger.com/atom/ns#" term="マイミクオミクジ"/><title type='text'>o0 マイミクオミクジを一般公開 0o</title><content type='html'>mixiアプリが正式にリリースされ、mixi自体もβバージョンではなくなりましたね。&lt;br /&gt;&lt;br /&gt;以前、mixiオミクジというネタ系mixiアプリを、開発者向けのmixiのみで公開していました。&lt;br /&gt;今回は、mixi運営事務局にカテゴリ掲載申請を行い、mixiにて「&lt;a href=&quot;http://mixi.jp/view_appli.pl?id=2856&quot;&gt;マイミクオミクジ&lt;/a&gt;」として利用出来る様にしました。&lt;br /&gt;（mixiがアプリを公認または支持、提供していると示唆するような名称・メッセージ・機能・デザインに該当する部分が有った為、アプリ名とアイコンの色を若干変更しました。）&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://mixi.jp/view_appli.pl?id=2856&quot;&gt;&lt;img src=&quot;http://lh5.ggpht.com/_895SLocKaug/SpeBGHq1KuI/AAAAAAAAQTY/umIZScQt1Mg/s288/%E3%83%9E%E3%82%A4%E3%83%9F%E3%82%AF%E3%82%AA%E3%83%9F%E3%82%AF%E3%82%B7%E3%82%99%E3%82%A2%E3%82%A4%E3%82%B3%E3%83%B3.jpg&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;今後のアップデート等は予定をしていませんが、問題が発生すれば対応するつもりです。&lt;br /&gt;宜しければ、試して見てください。&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://mixi.jp/view_appli.pl?id=2856&quot;&gt;&lt;img src=&quot;http://lh3.ggpht.com/_895SLocKaug/SpeBHKAru4I/AAAAAAAAQTo/HtQflKC0Rz4/s400/%E3%83%9E%E3%82%A4%E3%83%9F%E3%82%AF%E3%82%AA%E3%83%9F%E3%82%AF%E3%82%B7%E3%82%99%E6%96%B0%E7%9D%80%E3%82%A2%E3%83%95%E3%82%9A%E3%83%AA%E7%B4%B9%E4%BB%8B%E7%94%BB%E9%9D%A2.jpg&quot; /&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://atushiyamazaki.blogspot.com/feeds/7696818668102536386/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8027197119886202597/7696818668102536386' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/7696818668102536386'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/7696818668102536386'/><link rel='alternate' type='text/html' href='http://atushiyamazaki.blogspot.com/2009/08/o0-0o.html' title='o0 マイミクオミクジを一般公開 0o'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16863559729276846827</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="http://lh5.ggpht.com/_895SLocKaug/SpeBGHq1KuI/AAAAAAAAQTY/umIZScQt1Mg/s72-c/%E3%83%9E%E3%82%A4%E3%83%9F%E3%82%AF%E3%82%AA%E3%83%9F%E3%82%AF%E3%82%B7%E3%82%99%E3%82%A2%E3%82%A4%E3%82%B3%E3%83%B3.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8027197119886202597.post-6369890574265047528</id><published>2009-06-20T02:31:00.001+09:00</published><updated>2009-06-20T02:32:16.508+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><category scheme="http://www.blogger.com/atom/ns#" term="mixiアプリ"/><category scheme="http://www.blogger.com/atom/ns#" term="mixiオミクジ"/><category scheme="http://www.blogger.com/atom/ns#" term="OpenSocial"/><title type='text'>o0 mixiオミクジ 絵文字対応 0o</title><content type='html'>試しに作成してみた、mixiアプリである「&lt;a href=&quot;http://platform001.mixi.jp/view_appli.pl?id=2856&quot;&gt;mixiオミクジ&lt;/a&gt;」ですが、何か味気ない感じがしたので絵文字を入れてみました。&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://platform001.mixi.jp/view_appli.pl?id=2856&quot;&gt;&lt;img src=&quot;http://lh5.ggpht.com/_895SLocKaug/SjvK86Vm1WI/AAAAAAAABbI/mgCy2Fga7YI/s400/mixiOmikuji_emoji.png&quot; /&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://atushiyamazaki.blogspot.com/feeds/6369890574265047528/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8027197119886202597/6369890574265047528' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/6369890574265047528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/6369890574265047528'/><link rel='alternate' type='text/html' href='http://atushiyamazaki.blogspot.com/2009/06/o0-mixi-0o.html' title='o0 mixiオミクジ 絵文字対応 0o'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16863559729276846827</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="http://lh5.ggpht.com/_895SLocKaug/SjvK86Vm1WI/AAAAAAAABbI/mgCy2Fga7YI/s72-c/mixiOmikuji_emoji.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8027197119886202597.post-8723839846856773158</id><published>2009-06-09T15:58:00.002+09:00</published><updated>2009-07-04T01:46:53.412+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Expect"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="scp"/><category scheme="http://www.blogger.com/atom/ns#" term="ShellScript"/><title type='text'>o0 expectを利用し複数ファイルscpする 0o</title><content type='html'>諸事情によりssh-agentが利用出来ない場合に、他サーバーに複数ファイルを自動転送したい場合があったのですが、少しハマったのでメモ。&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:blue;&quot;&gt;。o ポイント  o。&lt;/span&gt; &lt;br /&gt;・expect&lt;br /&gt;Expectはtcl/tkの拡張言語で、SQLやtelnetなど会話形式通信をテキストファイル操作で自動的に実行できます。&lt;br /&gt;&lt;br /&gt;・spawnからscpで複数ファイルを扱う&lt;br /&gt;ワイルドカードを利用し「scp /home/user/`date +%Y%m`* user@hostname:/home/user/」と実行出来ませんでした。&lt;br /&gt;その為、lsコマンドで対象ファイルを予め取得し、while文でファイル数分scpコマンドで転送しています。&lt;br /&gt;「100%」の部分で、正常にファイル転送完了を確認し、次のファイル転送を行う様にしています。&lt;br /&gt;&lt;br /&gt;&lt;pre class=&quot;prettyprint&quot;&gt;ls -1 /home/user/`date +%Y%m`*  | while read fname&lt;br /&gt;do&lt;br /&gt;&lt;br /&gt;expect -c &quot;&lt;br /&gt;spawn scp ${fname} user@hostname:/home/user/&lt;br /&gt;expect {&lt;br /&gt;  \&quot;Are you sure you want to continue connecting (yes/no)?\&quot; {&lt;br /&gt;    send \&quot;yes\r\&quot;&lt;br /&gt;    expect \&quot;password:\&quot;&lt;br /&gt;    send \&quot;パスワード\r\&quot;&lt;br /&gt;  } \&quot;password:\&quot; {&lt;br /&gt;    send \&quot;パスワード\r\&quot;&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;expect {&lt;br /&gt;  \&quot;denied\&quot; { exit 0 } \&lt;br /&gt;  \&quot;100%\&quot; { exit 1 }&lt;br /&gt;}&lt;br /&gt;&quot;&lt;br /&gt;&lt;br /&gt;done&lt;br /&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://atushiyamazaki.blogspot.com/feeds/8723839846856773158/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8027197119886202597/8723839846856773158' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/8723839846856773158'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/8723839846856773158'/><link rel='alternate' type='text/html' href='http://atushiyamazaki.blogspot.com/2009/06/o0-expectscp-0o.html' title='o0 expectを利用し複数ファイルscpする 0o'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16863559729276846827</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-8027197119886202597.post-8901173960592312472</id><published>2009-06-06T17:33:00.006+09:00</published><updated>2009-07-04T01:48:04.433+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><category scheme="http://www.blogger.com/atom/ns#" term="mixiアプリ"/><category scheme="http://www.blogger.com/atom/ns#" term="mixiオミクジ"/><category scheme="http://www.blogger.com/atom/ns#" term="OpenSocial"/><title type='text'>o0 mixiオミクジ 0o</title><content type='html'>某氏に、mixiアプリの制作を薦められたので試しに「&lt;a href=&quot;http://platform001.mixi.jp/view_appli.pl?id=2856&quot;&gt;mixiオミクジ&lt;/a&gt;」を作ってみました。&lt;br /&gt;&lt;a href=&quot;http://platform001.mixi.jp/view_appli.pl?id=2856&quot;&gt;&lt;img src=&quot;http://lh6.ggpht.com/_895SLocKaug/SionMCwfOwI/AAAAAAAABas/PFY7EaGGmMw/s288/mixi%E3%82%AA%E3%83%9F%E3%82%AF%E3%82%B8%E3%82%A2%E3%82%A4%E3%82%B3%E3%83%B3.jpg&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:blue;&quot;&gt;。o 機能  o。&lt;/span&gt;&lt;br /&gt;あなたのmixiアカウントと、あなたのマイミクを勝手にオミクジで占います。&lt;br /&gt;単なる乱数でおみくじ結果を生成しているだけなので、なんの根拠もないですが、そもそも、おみくじはそういうものと認識しているので問題ないかと思います。&lt;br /&gt;&lt;a href=&quot;http://platform001.mixi.jp/view_appli.pl?id=2856&quot;&gt;&lt;img src=&quot;http://lh5.ggpht.com/_895SLocKaug/SiomlHsCzSI/AAAAAAAABao/tXigmTLA87s/s400/mixi%E3%82%AA%E3%83%9F%E3%82%AF%E3%82%B8%E7%94%BB%E9%9D%A2%E3%82%A4%E3%83%A1%E3%83%BC%E3%82%B8.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:blue;&quot;&gt;。o 利用  o。&lt;/span&gt;&lt;br /&gt;mixiオミクジは、&lt;a href=&quot;http://platform001.mixi.jp/view_appli.pl?id=2856&quot;&gt;こちらのリンク&lt;/a&gt;から利用出来ます。&lt;br /&gt;※ mixiのアカウントが必要です。&lt;br /&gt;※ mixiアプリの利用は&lt;a href=&quot;http://developer.mixi.co.jp/appli/hello-social-world&quot;&gt;こちらのリンク&lt;/a&gt;が参考になるかと思います。</content><link rel='replies' type='application/atom+xml' href='http://atushiyamazaki.blogspot.com/feeds/8901173960592312472/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8027197119886202597/8901173960592312472' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/8901173960592312472'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/8901173960592312472'/><link rel='alternate' type='text/html' href='http://atushiyamazaki.blogspot.com/2009/06/o0-mix-0o.html' title='o0 mixiオミクジ 0o'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16863559729276846827</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="http://lh6.ggpht.com/_895SLocKaug/SionMCwfOwI/AAAAAAAABas/PFY7EaGGmMw/s72-c/mixi%E3%82%AA%E3%83%9F%E3%82%AF%E3%82%B8%E3%82%A2%E3%82%A4%E3%82%B3%E3%83%B3.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8027197119886202597.post-9003835362602643929</id><published>2009-05-02T05:10:00.000+09:00</published><updated>2009-05-02T05:10:16.558+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Greasemonkey"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><category scheme="http://www.blogger.com/atom/ns#" term="LittleBetterGSearchResults"/><category scheme="http://www.blogger.com/atom/ns#" term="userscripts"/><title type='text'>o0 LittleBetterGSearchResults Installed 1000 times. 0o</title><content type='html'>公開してから、１年ちょっとばかり経ちましたが、何とか１０００インストールを達成することが出来ました。&lt;br /&gt;
&lt;br /&gt;
バージョンアップをすれば、以前にインストールして利用して頂いている方の何人かは、再度インストールしてくれているかなと思いますので、userscripts.orgの仕組み上「インストール数 = ユニークユーザー」という訳ではないですが、少しは需要のある機能が提供出来たという事で、一安心しました。&lt;br /&gt;
&lt;br /&gt;
シンプルさを求められているGoogle検索には、オリジナルの良さを壊さない程度のシンプルな追加機能しか必要ない為、本スクリプトも今後はメンテナンスが必要になったら実施するくらいのモノだと思いますが、気が向いたら利用してみて下さい。</content><link rel='replies' type='application/atom+xml' href='http://atushiyamazaki.blogspot.com/feeds/9003835362602643929/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8027197119886202597/9003835362602643929' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/9003835362602643929'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/9003835362602643929'/><link rel='alternate' type='text/html' href='http://atushiyamazaki.blogspot.com/2009/05/o0-littlebettergsearchresults-installed.html' title='o0 LittleBetterGSearchResults Installed 1000 times. 0o'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16863559729276846827</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-8027197119886202597.post-5257280990173288248</id><published>2009-04-25T05:13:00.010+09:00</published><updated>2009-07-04T01:49:08.986+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Greasemonkey"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><category scheme="http://www.blogger.com/atom/ns#" term="LittleBetterGSearchResults"/><category scheme="http://www.blogger.com/atom/ns#" term="userscripts"/><title type='text'>o0 LittleBetterGSearchResultsに試験的な機能追加 0o</title><content type='html'>ユーザースクリプトの&lt;a href=&quot;http://userscripts.org/scripts/show/22539&quot;&gt;LittleBetterGSearchResults&lt;/a&gt;に、試験的な機能追加をしてみました。&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:blue;&quot;&gt;。o 機能追加の内容 o 。&lt;/span&gt;&lt;br /&gt;結果ページの説明や抜粋されたテキスト(スニペット)の表示幅を、本スクリプトでは42emから60emに横長に変更して表示していますが、ショートカットでも変更可能にしてみました。&lt;br /&gt;&lt;br /&gt;ショートカットの内容は以下の通り、80wと入力したら80emに横幅が広くなります。&lt;br /&gt;&lt;br /&gt;80w  =&gt; 80em&lt;br /&gt;&lt;table style=&quot;width:auto;&quot;&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://picasaweb.google.com/lh/photo/hJcNFpZHMID1bg94ytC7RA?feat=embedwebsite&quot;&gt;&lt;img src=&quot;http://lh5.ggpht.com/_895SLocKaug/SfdVkVps0GI/AAAAAAAABaE/mLKjyUjf4Cw/s800/LittleBetterGSearchResults-Safari80%25-edit.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;font-family:arial,sans-serif; font-size:11px; text-align:right&quot;&gt;送信者 &lt;a href=&quot;http://picasaweb.google.com/atushi.yamazaki/LittleBetterGSearchResults?feat=embedwebsite&quot;&gt;Little Better GSearch Results&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;60w =&gt; 60em&lt;br /&gt;&lt;table style=&quot;width:auto;&quot;&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://picasaweb.google.com/lh/photo/atLGQ_1WnSGcGlBQSmbf3Q?feat=embedwebsite&quot;&gt;&lt;img src=&quot;http://lh6.ggpht.com/_895SLocKaug/SfdVkW09geI/AAAAAAAABZ8/laZFg_F6sS4/s800/LittleBetterGSearchResults-Safari60%25-edit.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;font-family:arial,sans-serif; font-size:11px; text-align:right&quot;&gt;送信者 &lt;a href=&quot;http://picasaweb.google.com/atushi.yamazaki/LittleBetterGSearchResults?feat=embedwebsite&quot;&gt;Little Better GSearch Results&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;10w  =&gt; 10em&lt;br /&gt;&lt;table style=&quot;width:auto;&quot;&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://picasaweb.google.com/lh/photo/65I4uFH01Vay8t8oxpu61w?feat=embedwebsite&quot;&gt;&lt;img src=&quot;http://lh6.ggpht.com/_895SLocKaug/SfdVkDg2MHI/AAAAAAAABZ0/4Z8SaGI5-MI/s800/LittleBetterGSearchResults-Safari20%25-edit.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;font-family:arial,sans-serif; font-size:11px; text-align:right&quot;&gt;送信者 &lt;a href=&quot;http://picasaweb.google.com/atushi.yamazaki/LittleBetterGSearchResults?feat=embedwebsite&quot;&gt;Little Better GSearch Results&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;span style=&quot;color:red;&quot;&gt;&lt;s&gt;※今回は、試験的な機能追加な為、&lt;a href=&quot;http://userscripts.org/scripts/show/22539&quot;&gt;userscripts.org&lt;/a&gt;にはリリースしていません、ご利用の方は&lt;a href=&quot;http://github.com/atushi/little-better-gsearch-results/tree/master&quot;&gt;github&lt;/a&gt;にリリースしてありますので、良かったらお試し下さい。&lt;/s&gt;&lt;br /&gt;※本対応を&lt;a href=&quot;http://userscripts.org/scripts/show/22539&quot;&gt;userscripts.org&lt;/a&gt;にはリリースしました。&lt;br /&gt;&lt;s&gt;※FireFox3で動作確認してます、OperaとSafariではまだ、正常に動かないと思います。&lt;/s&gt;&lt;br /&gt;※OperaとSafariに対応済みです。&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://atushiyamazaki.blogspot.com/feeds/5257280990173288248/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8027197119886202597/5257280990173288248' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/5257280990173288248'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/5257280990173288248'/><link rel='alternate' type='text/html' href='http://atushiyamazaki.blogspot.com/2009/04/o0-littlebettergsearchresults-0o.html' title='o0 LittleBetterGSearchResultsに試験的な機能追加 0o'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16863559729276846827</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="http://lh5.ggpht.com/_895SLocKaug/SfdVkVps0GI/AAAAAAAABaE/mLKjyUjf4Cw/s72-c/LittleBetterGSearchResults-Safari80%25-edit.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8027197119886202597.post-4780162355112035703</id><published>2009-03-01T04:09:00.029+09:00</published><updated>2009-07-04T01:54:25.395+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><category scheme="http://www.blogger.com/atom/ns#" term="型"/><title type='text'>o0 JavaScriptの型について復習 0o</title><content type='html'>JavaScriptへの曖昧な知識を正すべく、復習をしてみました。折角なので公開します。&lt;br /&gt;今回は型についてです。&lt;br /&gt;検証はFirebugで行っている為、console.log()から結果出力をしています。&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:blue;&quot;&gt;。o 数値型 o 。&lt;/span&gt;&lt;blockquote&gt;&lt;a href=&quot;https://developer.mozilla.org/ja/Core_JavaScript_1.5_Guide/Values&quot;&gt;42 や 3.14159 など&lt;/a&gt;、&lt;a href=&quot;http://ja.wikibooks.org/wiki/JavaScript_%E5%9E%8B%E3%81%AE%E8%A7%A3%E8%AA%AC#.E6.95.B0.E5.80.A4.28Number.29.E5.9E.8B&quot;&gt;JavaScriptの数字型は、正負の数値や小数も統一して扱えるが、無限の大きさや小ささの数値を扱えるのではなく、範囲には限りがある。具体的には、JavaScript標準では64ビット浮動小数点型の数値の限りを扱うことになっており、その大きさは整数なら±2の53乗の範囲を扱える。 (整数での最大値は「±9007199254740992」、10進数では10の15乗程度)&lt;/a&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;pre class=&quot;prettyprint&quot;&gt;x = 1;&lt;br /&gt;y = 0.1;&lt;br /&gt;&lt;br /&gt;console.log(x);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;1&lt;/span&gt;　説明：xの値がそのまま出力される&lt;br /&gt;console.log(y);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;0.1&lt;/span&gt;　説明：yの値がそのまま出力される&lt;br /&gt;console.log(x + y);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;1.1&lt;/span&gt;　説明：xの値とyの値が加算される&lt;br /&gt;console.log(x - y);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;0.9&lt;/span&gt;　説明：xの値からyの値が減算される&lt;br /&gt;&lt;br /&gt;x = &#39;1&#39;;&lt;br /&gt;y = &#39;0.1&#39;;&lt;br /&gt;&lt;br /&gt;console.log(x);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;1&lt;/span&gt;　説明：xの値がそのまま出力される&lt;br /&gt;console.log(y);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;0.1&lt;/span&gt;　説明：yの値がそのまま出力される&lt;br /&gt;console.log(x + y);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;10.1&lt;/span&gt;　説明：「&#39;」や「&quot;」で文字列扱いされている場合、&lt;br /&gt;//　xの値とyの値が文字列の連結（&#39;a&#39;+&#39;b&#39;=&#39;ab&#39;）として出力される&lt;br /&gt;console.log(x - y);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;0.9&lt;/span&gt;　説明：xの値からyの値の値が減算される&lt;br /&gt;//　※+演算子以外は全て数値扱いされる&lt;br /&gt;console.log(&#39;2&#39; * &#39;3&#39;);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;6&lt;/span&gt;　説明：上記と同じ理由&lt;br /&gt;&lt;/pre&gt;&lt;a href=&quot;http://ja.wikibooks.org/wiki/JavaScript_%E5%9E%8B%E3%81%AE%E8%A7%A3%E8%AA%AC#.E6.95.B0.E5.80.A4.28Number.29.E5.9E.8B&quot;&gt;数値型には、整数、小数以外にも次のような特別な数値型の値が３つ存在する。&lt;/a&gt;&lt;br /&gt;・+Infinity　正の無限大&lt;br /&gt;・-Infinity　負の無限大&lt;br /&gt;・NaN　Not a Number &lt;a href=&quot;http://ja.wikibooks.org/wiki/JavaScript_%E5%9E%8B%E3%81%AE%E8%A7%A3%E8%AA%AC#.E6.95.B0.E5.80.A4.28Number.29.E5.9E.8B&quot;&gt;計算できない式に対するエラーを指す。&lt;/a&gt;&lt;br /&gt;&lt;pre class=&quot;prettyprint&quot;&gt;console.log(1 + Infinity);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;Infinity&lt;/span&gt;　説明：無限大に1を加算しても無限大&lt;br /&gt;console.log(1 - Infinity);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;-Infinity&lt;/span&gt;　説明：1から無限大を減算した場合、&lt;br /&gt;//　負の無限大&lt;br /&gt;console.log(Infinity + Infinity);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;Infinity&lt;/span&gt;　説明：無限大に無限大を加算しても無限大&lt;br /&gt;console.log(Infinity - Infinity);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;NaN&lt;/span&gt;　説明：無限大から無限大を減算した場合、&lt;br /&gt;//　Not a Number&lt;br /&gt;console.log(0 * Infinity);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;NaN&lt;/span&gt;　説明：0に無限大を乗算した場合、&lt;br /&gt;//　Not a Number&lt;br /&gt;console.log(1 * Infinity);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;Infinity&lt;/span&gt;　説明：1に無限大を乗算した場合、無限大&lt;br /&gt;console.log(Infinity * Infinity);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;Infinity&lt;/span&gt;　説明：無限大に無限大を乗算した場合、無限大&lt;br /&gt;console.log(Infinity / 0);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;Infinity&lt;/span&gt;　説明：無限大に無限大を乗算した場合、無限大&lt;br /&gt;console.log(1 / Infinity);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;0&lt;/span&gt;　説明：1に無限大を除算した場合、0&lt;br /&gt;console.log(Infinity / Infinity);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;NaN&lt;/span&gt;　説明：無限大に無限大を除算した場合、&lt;br /&gt;//　Not a Number&lt;br /&gt;console.log(Infinity % 1);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;NaN&lt;/span&gt;　説明：無限大に1を剰余算した場合、Not a Number&lt;br /&gt;console.log(1 % Infinity);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;1&lt;/span&gt;　説明：1に無限大を剰余算した場合、1&lt;br /&gt;console.log(Infinity % Infinity);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;NaN&lt;/span&gt;　説明：無限大に無限大を剰余算した場合、&lt;br /&gt;//　Not a Number&lt;br /&gt;&lt;/pre&gt;&lt;span style=&quot;color:blue;&quot;&gt;。o 論理値（真偽値）型 o 。&lt;/span&gt;&lt;blockquote&gt;&lt;a href=&quot;https://developer.mozilla.org/ja/Core_JavaScript_1.5_Guide/Values&quot;&gt;true または false&lt;/a&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;pre class=&quot;prettyprint&quot;&gt;x = true;&lt;br /&gt;y = false;&lt;br /&gt;if (x) {&lt;br /&gt;  console.log(&#39;TRUE&#39;);&lt;br /&gt;} else {&lt;br /&gt;  console.log(&#39;FALSE&#39;);&lt;br /&gt;}&lt;br /&gt;// 出力結果：&lt;span style=&quot;font-weight:bold;&quot;&gt;TRUE&lt;/span&gt;&lt;br /&gt;if (y) {&lt;br /&gt;  console.log(&#39;TRUE&#39;);&lt;br /&gt;} else {&lt;br /&gt;  console.log(&#39;FALSE&#39;);&lt;br /&gt;}&lt;br /&gt;// 出力結果：&lt;span style=&quot;font-weight:bold;&quot;&gt;FALSE&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;span style=&quot;color:blue;&quot;&gt;。o 文字列型 o 。&lt;/span&gt;&lt;blockquote&gt;&lt;a href=&quot;https://developer.mozilla.org/ja/Core_JavaScript_1.5_Guide/Values&quot;&gt;&quot;Howdy!&quot; など &lt;/a&gt;、&lt;a href=&quot;http://ja.wikibooks.org/wiki/JavaScript_%E5%9E%8B%E3%81%AE%E8%A7%A3%E8%AA%AC#.E6.96.87.E5.AD.97.E5.88.97.E5.9E.8B&quot;&gt;JavaScriptでは、文字列は内部的にはUTF-16(Unicode)で扱うことに決まっている。 つまりは、アルファベットや数字等の多くの文字コードで1バイト文字として扱われているものも、日本語の文字列等の2バイトのコードも同じ様に扱われる。&lt;/a&gt; &lt;br /&gt;&lt;/blockquote&gt;&lt;pre class=&quot;prettyprint&quot;&gt;x = &#39;hoge&#39;;&lt;br /&gt;y = &#39;fuga&#39;;&lt;br /&gt;console.log(x);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;hoge&lt;/span&gt;　結果：xの値がそのまま出力される&lt;br /&gt;console.log(x + y);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;hogefuga&lt;/span&gt;　結果：xの値とyの値を文字列の連結として出力&lt;br /&gt;console.log(x - y);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;NaN&lt;/span&gt;　結果：xの値もyの値も数値でない為に、&lt;br /&gt;//　Not a Number&lt;br /&gt;&lt;/pre&gt;エスケープシーケンスについて&lt;br /&gt;&lt;a href=&quot;http://ja.wikibooks.org/wiki/JavaScript_%E5%9E%8B%E3%81%AE%E8%A7%A3%E8%AA%AC#.E6.96.87.E5.AD.97.E5.88.97.E5.9E.8B&quot;&gt;キーボードからの入力が困難、または文字列への挿入が文法上問題のあるものは「円記号」（「\」のこと）を使ったエスケープシーケンスを使って挿入する&lt;/a&gt;&lt;br /&gt;・\n　改行&lt;br /&gt;・\t　タブ&lt;br /&gt;・\\　円記号&lt;br /&gt;・\&#39;　シングルクォーテーション&lt;br /&gt;・\&quot;　ダブルクォテーション&lt;br /&gt;・\xXX　ASCII文字挿入&lt;br /&gt;・\uXXXX　ユニコード文字挿入&lt;br /&gt;&lt;pre class=&quot;prettyprint&quot;&gt;console.log(&#39;hoge\nfuga&#39;);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;hoge（改行）fuga&lt;/span&gt;&lt;br /&gt;console.log(&#39;hoge\tfuga&#39;);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;hoge（タブ）fuga&lt;/span&gt;&lt;br /&gt;console.log(&#39;hoge\\fuga&#39;);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;hoge\fuga&lt;/span&gt;&lt;br /&gt;console.log(&#39;hoge\&#39;fuga&#39;);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;hoge&#39;fuga&lt;/span&gt;&lt;br /&gt;console.log(&#39;hoge\&quot;fuga&#39;);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;hoge&quot;fuga&lt;/span&gt;&lt;br /&gt;console.log(&#39;hoge\x23fuga&#39;);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;hoge#fuga&lt;/span&gt;&lt;br /&gt;console.log(&#39;hoge\x22fuga&#39;);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;hoge&quot;fuga&lt;/span&gt;　補足：ASCII文字コードの\x22で「&quot;」&lt;br /&gt;//　を出力する事も可能&lt;br /&gt;console.log(&#39;hoge\u0040fuga&#39;);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;hoge@fuga&lt;/span&gt;&lt;br /&gt;console.log(&#39;hoge&quot;fuga&#39;);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;hoge&quot;fuga&lt;/span&gt;　説明；「&#39;」の中に「&quot;」&lt;br /&gt;//　の場合はそのまま出力可能&lt;br /&gt;console.log(&quot;hoge&#39;fuga&quot;);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;hoge&#39;fuga&lt;/span&gt;　説明；「&quot;」の中に「&#39;」&lt;br /&gt;//　の場合はそのまま出力可能&lt;br /&gt;&lt;/pre&gt;&lt;span style=&quot;color:blue;&quot;&gt;。o null型 o 。&lt;/span&gt;&lt;blockquote&gt;&lt;a href=&quot;https://developer.mozilla.org/ja/Core_JavaScript_1.5_Guide/Values&quot;&gt;null 値を意味する特殊なキーワード。null はプリミティブ値でもある。JavaScript は大文字・小文字を区別するため、null は Null や NULL などとは異なる。&lt;/a&gt; 定義されたが、まだ値が代入されていない状態の変数。&lt;br /&gt;&lt;/blockquote&gt;&lt;pre class=&quot;prettyprint&quot;&gt;x = null;&lt;br /&gt;console.log(x);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;null&lt;/span&gt;　説明：xの値（null型）がそのまま出力される&lt;br /&gt;if (x == &#39;null&#39;) {&lt;br /&gt;  console.log(&#39;TRUE&#39;);&lt;br /&gt;} else {&lt;br /&gt;  console.log(&#39;FALSE&#39;);&lt;br /&gt;}&lt;br /&gt;// 出力結果：&lt;span style=&quot;font-weight:bold;&quot;&gt;FALSE&lt;/span&gt;　説明：nullと文字列の&#39;null&#39;は当然違います。&lt;br /&gt;null = &#39;hoge&#39;;&lt;br /&gt;// ※nullには代入出来ません。&lt;br /&gt;&lt;/pre&gt;&lt;span style=&quot;color:blue;&quot;&gt;。o undefined型 o 。&lt;/span&gt;&lt;blockquote&gt;&lt;a href=&quot;https://developer.mozilla.org/ja/Core_JavaScript_1.5_Guide/Values&quot;&gt;その値が未定義であるトップレベルプロパティ。undefined はプリミティブ値でもある。&lt;/a&gt;&lt;a href=&quot;http://ja.wikibooks.org/wiki/JavaScript_%E5%9E%8B%E3%81%AE%E8%A7%A3%E8%AA%AC#Undefined.E5.9E.8B&quot;&gt;&quot;何のデータも代入されていない状態&quot;を指します。&lt;/a&gt;つまり変数は宣言されたがまだ初期化されていない状態です。&lt;br /&gt;&lt;/blockquote&gt;&lt;pre class=&quot;prettyprint&quot;&gt;var x;&lt;br /&gt;console.log(x);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;undefined&lt;/span&gt;　説明：明示的に変数xをvarで定義し、&lt;br /&gt;//　xを参照するとnullではなくundefinedが出力される&lt;br /&gt;y = undefined;&lt;br /&gt;console.log(y);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;undefined&lt;/span&gt;　説明：yにundefinedが&lt;br /&gt;//　代入された為、undefinedが出力される&lt;br /&gt;console.log(undefined);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;undefined&lt;/span&gt;　説明：undefinedが&lt;br /&gt;//　そのまま出力される&lt;br /&gt;undefined = &#39;hoge&#39;;&lt;br /&gt;console.log(undefined);&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;hoge&lt;/span&gt;　説明：undefinedはプロパティ&lt;br /&gt;//　なので上書きが可能、代入した&#39;hoge&#39;が出力される&lt;br /&gt;undefined = void 0;&lt;br /&gt;console.log(undefined);&lt;br /&gt;//  出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;undefined&lt;/span&gt;　説明：改ざんされたundefinedを&lt;br /&gt;//　元に戻すには、void 0を代入すると、undefinedが出力される&lt;br /&gt;if (undefined == void 0) {&lt;br /&gt;  console.log(&#39;TRUE&#39;);&lt;br /&gt;} else {&lt;br /&gt;  console.log(&#39;FALSE&#39;);&lt;br /&gt;}&lt;br /&gt;// 出力結果：&lt;span style=&quot;font-weight:bold;&quot;&gt;TRUE&lt;/span&gt;&lt;br /&gt;if (null == undefined) {&lt;br /&gt;  console.log(&#39;TRUE&#39;);&lt;br /&gt;} else {&lt;br /&gt;  console.log(&#39;FALSE&#39;);&lt;br /&gt;}&lt;br /&gt;// 出力結果：&lt;span style=&quot;font-weight:bold;&quot;&gt;TRUE&lt;/span&gt;　説明；null型とundefinedプロパティが、&lt;br /&gt;//　同じと評価される。「定義されたが、まだ値が代入されて&lt;br /&gt;//　いない状態の変数」の値と「変数は宣言されたがまだ初期化&lt;br /&gt;//　されていない状態」の値は同じと解釈すれば良い？&lt;br /&gt;//　と考える事が出来る。&lt;br /&gt;if (typeof null == typeof undefined) {&lt;br /&gt;  console.log(&#39;TRUE&#39;);&lt;br /&gt;} else {&lt;br /&gt;  console.log(&#39;FALSE&#39;);&lt;br /&gt;}&lt;br /&gt;// 出力結果：&lt;span style=&quot;font-weight:bold;&quot;&gt;FALSE&lt;/span&gt;　説明：typeof演算子（変数のデータ型を&lt;br /&gt;//　調べるために使う演算子）で評価した場合は、「定義されたが、&lt;br /&gt;//　まだ値が代入されていない状態の変数」の値と「変数は宣言&lt;br /&gt;//　されたがまだ初期化されていない状態」の値は同じと解釈出来る&lt;br /&gt;//　が？型が異なる為、実体は同じと判断されない？と考える事が&lt;br /&gt;//　出来る。&lt;br /&gt;console.log( null === undefined );&lt;br /&gt;// 出力：&lt;span style=&quot;font-weight:bold;&quot;&gt;false&lt;/span&gt;　結果：===で評価した場合には、typedefと&lt;br /&gt;//　同様に型のチェックも行う為 falseとなる&lt;br /&gt;&lt;/pre&gt;&lt;span style=&quot;color:blue;&quot;&gt;。o 参考、引用元 o 。&lt;/span&gt;&lt;br /&gt;・&lt;a href=&quot;https://developer.mozilla.org/ja/Core_JavaScript_1.5_Guide/Values&quot;&gt;Core JavaScript 1.5 Reference - MDC&lt;/a&gt;&lt;br /&gt;・&lt;a href=&quot;http://ja.wikibooks.org/wiki/JavaScript_%E5%9E%8B%E3%81%AE%E8%A7%A3%E8%AA%AC&quot;&gt;JavaScript 型の解説 - Wikibooks&lt;/a&gt;&lt;br /&gt;・&lt;a href=&quot;http://liosk.blog103.fc2.com/blog-entry-30.html&quot;&gt; [JavaScript]nullとundefinedとvoid演算子 / 文系大学的IT系の悲哀&lt;/a&gt;&lt;br /&gt;・&lt;a href=&quot;http://d.hatena.ne.jp/cloned/20060505&quot;&gt;JavaScriptのundefinedとnullは実は同じだった？ - cloned.log&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://atushiyamazaki.blogspot.com/feeds/4780162355112035703/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8027197119886202597/4780162355112035703' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/4780162355112035703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/4780162355112035703'/><link rel='alternate' type='text/html' href='http://atushiyamazaki.blogspot.com/2009/03/o0-javascript-0o.html' title='o0 JavaScriptの型について復習 0o'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16863559729276846827</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-8027197119886202597.post-8880644936585285475</id><published>2009-02-04T13:18:00.003+09:00</published><updated>2009-02-04T13:28:58.397+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AutoPagerize4Shortcut"/><category scheme="http://www.blogger.com/atom/ns#" term="Greasemonkey"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><category scheme="http://www.blogger.com/atom/ns#" term="LittleBetterGSearchResults"/><category scheme="http://www.blogger.com/atom/ns#" term="userscripts"/><title type='text'>o0 AutoPagerize 4 Shortcut 0o</title><content type='html'>ほんの少しだけGoogleの検索結果を見やすくするをコンセプトに公開している&lt;a href=&quot;http://userscripts.org/scripts/show/22539&quot;&gt;Little Better GSearch Results&lt;/a&gt;というUserscriptに、AutoPagerize向けのページ間をショートカットで移動する機能があるのですが、この機能に慣れると他のAutoPagerize対応サイトでもページ間をショートカットで移動したくなりました。&lt;br /&gt;機能的には、&lt;a href=&quot;http://userscripts.org/scripts/show/22539&quot;&gt;Little Better GSearch Results&lt;/a&gt;からページ間をショートカットで移動する機能部分の処理を抜き出しただけなので大した事無いのですが、便利だと思えるので公開します。&lt;br /&gt;※現在は色々試して、微調整段階です。&lt;br /&gt;&lt;br /&gt;宜しければ、ご利用下さい。&lt;br /&gt;&lt;a href=&quot;http://userscripts.org/scripts/show/41499&quot;&gt;スクリプトの入手はこちらのリンク&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://atushiyamazaki.blogspot.com/feeds/8880644936585285475/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8027197119886202597/8880644936585285475' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/8880644936585285475'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/8880644936585285475'/><link rel='alternate' type='text/html' href='http://atushiyamazaki.blogspot.com/2009/02/o0-autopagerize-4-shortcut-0o.html' title='o0 AutoPagerize 4 Shortcut 0o'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16863559729276846827</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-8027197119886202597.post-152903468847774912</id><published>2009-02-04T12:49:00.037+09:00</published><updated>2009-02-04T13:16:00.297+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Greasemonkey"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><category scheme="http://www.blogger.com/atom/ns#" term="LittleBetterGSearchResults"/><category scheme="http://www.blogger.com/atom/ns#" term="Opera"/><category scheme="http://www.blogger.com/atom/ns#" term="Safari"/><category scheme="http://www.blogger.com/atom/ns#" term="userscripts"/><title type='text'>o0 LittleBetterGSearchResultsがOpera,Safariでも対応しました 0o</title><content type='html'>先日、&lt;a href=&quot;http://userscripts.org/topics/21082&quot;&gt;Operaはサポートしてますかと質問&lt;/a&gt;されたので、対応してみました。&lt;br /&gt;
特に、特別な事はしていないスクリプトなので、FireFoxに依存した記述を汎用的に変えただけです。&lt;br /&gt;
※勿論、AutoPagerize向けのページ間をショートカットで移動する機能も利用出来ます。&lt;br /&gt;
※多分、Userscriptをサポートしているブラウザならどれでも動くと思います。&lt;br /&gt;
&lt;br /&gt;
。o Opera o 。&lt;br /&gt;
&lt;a href=&quot;http://picasaweb.google.com/lh/photo/W-J5RttV4WI7CIQHyc4VLg?feat=embedwebsite&quot;&gt;&lt;img src=&quot;http://lh4.ggpht.com/_895SLocKaug/SYkVMxkDaOI/AAAAAAAABWg/4pu2pfWIzAI/s400/LittleBetterGSearchResults_Opera.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
。o Safari o 。&lt;br /&gt;
&lt;a href=&quot;http://picasaweb.google.com/lh/photo/llMwbT5QaoBAPl8wiPMwXQ?feat=embedwebsite&quot;&gt;&lt;img src=&quot;http://lh4.ggpht.com/_895SLocKaug/SYkVNAVy18I/AAAAAAAABWo/-NR0GJ7YBCQ/s400/LittleBetterGSearchResults_Safari.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://userscripts.org/scripts/show/22539&quot;&gt;スクリプトの入手はこちらのリンク&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://atushiyamazaki.blogspot.com/feeds/152903468847774912/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8027197119886202597/152903468847774912' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/152903468847774912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/152903468847774912'/><link rel='alternate' type='text/html' href='http://atushiyamazaki.blogspot.com/2009/02/o0-littlebettergsearchresultsoperasafar.html' title='o0 LittleBetterGSearchResultsがOpera,Safariでも対応しました 0o'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16863559729276846827</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="http://lh4.ggpht.com/_895SLocKaug/SYkVMxkDaOI/AAAAAAAABWg/4pu2pfWIzAI/s72-c/LittleBetterGSearchResults_Opera.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8027197119886202597.post-176620088667842468</id><published>2008-11-15T06:50:00.002+09:00</published><updated>2009-07-04T01:56:12.056+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AllUserChangeBookmarkletKun4iKnow"/><category scheme="http://www.blogger.com/atom/ns#" term="API"/><category scheme="http://www.blogger.com/atom/ns#" term="Greasemonkey"/><category scheme="http://www.blogger.com/atom/ns#" term="iKnow！"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><category scheme="http://www.blogger.com/atom/ns#" term="勉強会"/><title type='text'>o0  iKnow! Developers Conference 0o</title><content type='html'>職業柄と趣味で、色々なWebサービスに登録してますが、自分にとって、数少ない頻繁に使い続けているWebサービスの一つがiKnow!でした。&lt;br /&gt;&lt;br /&gt;そんなiKnow!の動向が最近より活発になり、API公開、と盛り上がっている最中での、API リリース記念プログラミングコンテスト「iKnow! API KICK OFF!」の開催。そして今回の iKnow! Developers Conference の発表を聞きつけ、参加してみました。&lt;br /&gt;&lt;br /&gt;以下、発表された内容をあくまで参考程度に、書いておきます。&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:blue;&quot;&gt;。o ０１. iKnow!の紹介 o 。&lt;/span&gt;&lt;br /&gt;発表者：iKnow!の偉い人&lt;br /&gt;iKnow!の紹介など。。&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:blue;&quot;&gt;。o ０２. API紹介 o 。&lt;/span&gt;&lt;br /&gt;発表者：iKnow!エンジニアさん&lt;br /&gt;・API は&lt;a href=&quot;http://www.mashery.com/&quot;&gt;Mashery&lt;/a&gt;を利用。&lt;br /&gt;・Text To Speach というサービスを利用し、自動生成された音声を提供。　&lt;br /&gt;・&lt;a href=&quot;http://www.opensearch.org/Home&quot;&gt;OpenSearch&lt;/a&gt; に2008/11/17(Mon)に対応予定。&lt;br /&gt;　&lt;a href=&quot;http://ja.wikipedia.org/wiki/OpenSearch&quot;&gt;OpenSearch - WikiPedia&lt;/a&gt;&lt;br /&gt;　※ FireFoxの右上の検索窓で、ユーザやら単語などが検索出来る。&lt;br /&gt;・&lt;a href=&quot;http://oauth.net/&quot;&gt;OAuth&lt;/a&gt;に次（2008/11/17）の次のリリースで対応予定。&lt;br /&gt;・APIには関係ないが、opensocialに対応予定。&lt;br /&gt;・質疑応答の抜粋&lt;br /&gt;　Q：どういう風にお金をもうけていくか？&lt;br /&gt;　A：単語から広告を出したりするような構想などなど。。。&lt;br /&gt;　　学習を行うという事は、長い時間サービスを利用して貰える。-&gt;広告をいっぱい見て貰える。&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:blue;&quot;&gt;。o ０３. iKnow!APIを利用したアプリケーションのライトニングトーク o 。&lt;/span&gt;&lt;br /&gt;発表者：&lt;a href=&quot;http://d.hatena.ne.jp/technohippy/about&quot;&gt;ANDO Yasushi（technohippy）&lt;/a&gt;さん&lt;br /&gt;・&lt;a href=&quot;http://d.hatena.ne.jp/technohippy/20081101#1225549593&quot;&gt;iKnow Web App for iPhone&lt;/a&gt;&lt;br /&gt;・&lt;a href=&quot;http://code.google.com/p/iphone-universal/&quot;&gt;Universal iPhone UL Kit&lt;/a&gt;を利用。&lt;br /&gt;・ポイント&lt;br /&gt;　JavaScriptで音を鳴らす時、embedタグを利用した　mp3のurlを渡すとmp3が再生される。&lt;br /&gt;　width,heightを指定しないと、見ているボタンより広く反応してしまうらしい。&lt;br /&gt;　embedタグは生成して利用が終われば、削除した方がよい。&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:blue;&quot;&gt;。o ０４. a rubygem for iKnow! API o 。&lt;/span&gt;&lt;br /&gt;発表者：iKnow!エンジニアの&lt;a href=&quot;http://www.iknow.co.jp/user/matake&quot;&gt;真武信和（nov）&lt;/a&gt;さん&lt;br /&gt;※　iKnow!でメインサイトとAPIを開発中&lt;br /&gt;・&lt;a href=&quot;http://www.iknow.co.jp/user/matake/journal/2008/11/14/102703-my-presentation-at-iknow-developers-conference&quot;&gt;プレゼン資料&lt;/a&gt;&lt;br /&gt;・&lt;a href=&quot;http://github.com/nov/iknow&quot;&gt;GitHub&lt;/a&gt;&lt;br /&gt;・質疑応答の抜粋&lt;br /&gt;　Q：何故、セレゴ・ジャパンに入ったのか？&lt;br /&gt;　A：英語の勉強をしたい為、将来的に海外に行きたい為、iKnow!ユーザな為、ドリコムを辞めて、セレゴ・ジャパンに最近入社！&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:blue;&quot;&gt;。o ０５. Item extranction - 文章からアイテムを取得 o 。&lt;/span&gt;&lt;br /&gt;発表者：iKnow!エンジニアさん&lt;br /&gt;・来週は日本語にも対応する。&lt;br /&gt;・文字コードはUTF-8&lt;br /&gt;・解析した結果は以下のように、単語毎に対応する単語を返す。&lt;br /&gt;　&quot;ran&quot; なら &quot;run&quot; と &quot;ran&quot; を返す。&lt;br /&gt;　&quot;走った&quot; なら &quot;走った&quot; と &quot;走る&quot; を返す。&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:blue;&quot;&gt;。o ０６. iKnowLyrics.com o 。&lt;/span&gt;&lt;br /&gt;発表者：山内雅さん&lt;br /&gt;・急遽ライトニングトーク&lt;br /&gt;・歌詞とiKnow!とのコラボ&lt;br /&gt;　&lt;a href=&quot;http://lyrics.com/&quot;&gt;Lyrics.com&lt;/a&gt;に協力して貰っている？&lt;br /&gt;・「電脳フィギュアARis」を作っている会社の人らしい。&lt;br /&gt;懇親会で、山内雅さんが「電脳フィギュアARis」の動画を見せて回ってくれていたので、見てみると凄い萌え萌えな感じのやつだった。。。でも技術は凄そうでした。。。&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:blue;&quot;&gt;。o ０７. 学習済み確認サービス o 。&lt;/span&gt;&lt;br /&gt;発表者：？さん&lt;br /&gt;・急遽、APIを利用したサービスの構想を発表&lt;br /&gt;・iKnow!での学習済みの単語を、他の英語サイトでも確認出来て勉強出来るサービス（だったような。。）&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:blue;&quot;&gt;。o ０８. Freebase x iKnow! o 。&lt;/span&gt;&lt;br /&gt;発表者：iKnow!エンジニアさん&lt;br /&gt;・&lt;a href=&quot;http://www.freebase.com/&quot;&gt;Freebase&lt;/a&gt;からデータを取得し、語学のみではなく、あらゆる情報を学ぶサービスを構想。&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:blue;&quot;&gt;。o ０９. 懇親会@東方見聞録 o 。&lt;/span&gt;&lt;br /&gt;色々なエンジニアとiKnow!エンジニアさんと楽しいおしゃべり。日本人と色々な国籍の方が半々の非常にグローバルな会でした。&lt;br /&gt;iPhoneのネイティブアプリをiKnow!から出す予定はあるか聞いたところ、開発中との事なので待ち遠しいです。（iPhone持ってないけど。。）&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:blue;&quot;&gt;。o １０. 番外編 o 。&lt;/span&gt;&lt;br /&gt;たまたま知り合いが、セレゴ・ジャパンで働きiKnow!モバイルサービスを開発してたのでビックリ。&lt;br /&gt;少し、UbuntuやMacで開発している等、iKnow!の現場の話を聞かせて貰いました。&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:blue;&quot;&gt;。o １１. 感想 o 。&lt;/span&gt;&lt;br /&gt;会場に着いて、発表が始まる前からビールとピザで歓迎され、とても親切で明るいスタッフの皆さんでした。&lt;br /&gt;発表中も、海外の方の英語のプレゼンを日本語の出来る海外の方が通訳したり、日本のスタッフが通訳したりと、iKnow!らしい感じで新鮮。&lt;br /&gt;後、懇親会費をセレゴ・ジャパンが殆ど負担して頂けたので、とてもおもてなしをして頂きました。&lt;br /&gt;&lt;br /&gt;iKnow!のイメージは今こんな感じです。&lt;br /&gt;・始め&lt;br /&gt;　iKnow! = 効率的な英語学習サービス&lt;br /&gt;・日本語学習サービス開始&lt;br /&gt;　iKnow! = 効率的な語学学習サービス&lt;br /&gt;・iKnow! Developers Conference 参加後&lt;br /&gt;　iKnow! = 様々な情報の学習サービス&lt;br /&gt;ただ、始めから&lt;a href=&quot;http://www.iknow.co.jp/about&quot;&gt;「セレゴ・ジャパンについて」のページ&lt;/a&gt;で語学に拘っていない事を宣言しているので、僕（等？）は勝手に勘違いをしていたようでした。&lt;br /&gt;今後、iKnow!はもっと面白いサービスになっていきそうですね。&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:blue;&quot;&gt;。o １２. All User Change BookmarkletKun 4 iKnow o 。&lt;/span&gt;&lt;br /&gt;人の感想等ばかりでは微妙なので、ネタで「&lt;a href=&quot;http://userscripts.org/scripts/show/36960&quot;&gt;All User Change BookmarkletKun 4 iKnow&lt;/a&gt;」というユーザのアイコンがぶっくまくんに変わるスクリプトを作ってみました。&lt;br /&gt;※ 残念ながらAPIは使用しておりません。。。&lt;br /&gt;&lt;br /&gt;FireFox Extension の Greasemonkey用なので Userscripts.orgに公開しております。&lt;br /&gt;宜しければ、どうぞ。&lt;br /&gt;&lt;a href=&quot;http://userscripts.org/scripts/show/36960&quot;&gt;スクリプトの入手はこちらのリンク&lt;/a&gt;　</content><link rel='replies' type='application/atom+xml' href='http://atushiyamazaki.blogspot.com/feeds/176620088667842468/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8027197119886202597/176620088667842468' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/176620088667842468'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/176620088667842468'/><link rel='alternate' type='text/html' href='http://atushiyamazaki.blogspot.com/2008/11/o0-iknow-developers-conference-0o.html' title='o0  iKnow! Developers Conference 0o'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16863559729276846827</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-8027197119886202597.post-8287453659457571170</id><published>2008-11-10T21:47:00.001+09:00</published><updated>2008-11-10T21:53:52.155+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><category scheme="http://www.blogger.com/atom/ns#" term="Project Euler"/><title type='text'>o0 Project Euler - Problem 6 0o</title><content type='html'>&lt;span style=&quot;color:yellow;&quot;&gt;。o Problem 6  o。&lt;/span&gt; &lt;blockquote&gt;&lt;br /&gt;
The sum of the squares of the first ten natural numbers is,&lt;br /&gt;
1&lt;sup&gt;2&lt;/sup&gt; + 2&lt;sup&gt;2&lt;/sup&gt; + ... + 10&lt;sup&gt;2&lt;/sup&gt; = 385&lt;br /&gt;
The square of the sum of the first ten natural numbers is,&lt;br /&gt;
(1 + 2 + ... + 10)&lt;sup&gt;2&lt;/sup&gt; = 55&lt;sup&gt;2&lt;/sup&gt; = 3025&lt;br /&gt;
Hence the difference between the sum of the squares of the first ten natural numbers and the square of the sum is 3025 385 = 2640.&lt;br /&gt;
Find the difference between the sum of the squares of the first one hundred natural numbers and the square of the sum.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://odz.sakura.ne.jp/projecteuler/index.php?Problem%206&quot;&gt;※日本語の問題文はこちら&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;span style=&quot;color:yellow;&quot;&gt;。o 解答言語  o。&lt;/span&gt; &lt;div style=&quot;border: 1px solid gray;&quot; align=&quot;left&quot;&gt;JavaScript&lt;/div&gt;&lt;br /&gt;
&lt;span style=&quot;color:yellow;&quot;&gt;。o 解答内容  o。&lt;/span&gt;&lt;pre class=&quot;prettyprint&quot;&gt;var num = 0;
var num2 = 0;
for (var i=1; i&lt;=100; i++) {
  num = num + (i * i);
  num2 = num2 + i; 
}               
alert( (num2 * num2) - num );

&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://atushiyamazaki.blogspot.com/feeds/8287453659457571170/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8027197119886202597/8287453659457571170' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/8287453659457571170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/8287453659457571170'/><link rel='alternate' type='text/html' href='http://atushiyamazaki.blogspot.com/2008/11/o0-project-euler-problem-6-0o.html' title='o0 Project Euler - Problem 6 0o'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16863559729276846827</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-8027197119886202597.post-2454966978219402925</id><published>2008-10-12T04:42:00.009+09:00</published><updated>2009-07-04T01:58:00.340+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AudioFile"/><category scheme="http://www.blogger.com/atom/ns#" term="Exif"/><category scheme="http://www.blogger.com/atom/ns#" term="GPS"/><category scheme="http://www.blogger.com/atom/ns#" term="ID3"/><title type='text'>o0 About the information of position of the audio file 0o</title><content type='html'>About the information of position of the audio file - 音声ファイルへの位置情報埋めこみについて &lt;br /&gt;&lt;br /&gt;GPSからの位置情報を利用し、音声ファイルとの連携を実現をしたいと思いましたが、はて。。。&lt;br /&gt;そもそもファイルへの情報埋めこみについての知識が全くない為、調べてみました。&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:blue;&quot;&gt;。o 音声ファイル（mp3）にある「アーティスト名」、「曲名」などの埋めこみ情報とは何か？  o。&lt;/span&gt;&lt;br /&gt;　&lt;a href=&quot;http://ja.wikipedia.org/wiki/MP3&quot;&gt;Wikipediaの「MP3」ページ&lt;/a&gt;を読んでみると、仕様にタグ情報は「ID3タグ(ID3 v1, ID3 v2)」を使用しているとありました。&lt;br /&gt;&lt;a href=&quot;http://ja.wikipedia.org/wiki/ID3%E3%82%BF%E3%82%B0&quot;&gt;Wikipediaの「ID3タグ」ページ&lt;/a&gt;を読んでみると、&lt;blockquote&gt;ID3タグ（アイディースリータグ、ID3 tag）は、MP3ファイルの中に「アーティスト、作成年、曲名」などの情報を書き込むための規格。&lt;/blockquote&gt;と、有りましたのでID3タグがMP3限定で音楽情報の埋めこみを行っている事が解ります。&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:blue;&quot;&gt;。o 「ID3タグ」に「位置情報」は埋めこみ情報に存在するのか？ o。&lt;/span&gt;&lt;br /&gt;　しかし、「ID3タグ」には幾つかバージョンが有りましたがバージョン「&lt;a href=&quot;http://ja.wikipedia.org/wiki/ID3%E3%82%BF%E3%82%B0#ID3v1&quot;&gt;ID3v1&lt;/a&gt;」「&lt;a href=&quot;http://ja.wikipedia.org/wiki/ID3%E3%82%BF%E3%82%B0#ID3v1.1&quot;&gt;ID3v1.1&lt;/a&gt;」「&lt;a href=&quot;http://www.geocities.co.jp/SiliconValley-Oakland/3664/id3v2.html&quot;&gt;ID3v2&lt;/a&gt;」にも位置情報のタグ（フレーム？）が無いようです。&lt;br /&gt;今迄は、あまり音声情報に位置情報を付加するニーズが無かったのでしょうか。&lt;br /&gt;音楽好きがフィールドレコーディングしたり、ビジネスマンなどが会議やインタビューを行った時に日時情報を付加するように、位置情報も必要（あったら便利）だと思うんですが。。。&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:blue;&quot;&gt;。o 画像ファイルにある「位置情報」の埋めこみ情報とは何か？ o。&lt;/span&gt;&lt;br /&gt;　画像ファイル(JPEG ファイル)には、シャッター速度や絞りなど写真撮影の各種データを記録する「Exif」という領域が有る様です。&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:blue;&quot;&gt;。o Exif - Exchangeable image file formatとは？ o。&lt;/span&gt;&lt;br /&gt;　&lt;a href=&quot;http://ja.wikipedia.org/wiki/Exchangeable_image_file_format&quot;&gt;Wikipediaの「Exchangeable image file format」ページ&lt;/a&gt;を読んでみると、JPEG、TIFF、HD Photoの画像ファイルのフォーマットに対してのみ対応しているらしい。富士フイルムが開発し日本電子工業振興協会 (JEIDA)で規格された画像メタデータのフォーマットとあるので日本発の規格らしいです。海外ではよく利用されているのでしょうかね？しかし、&lt;a href=&quot;http://ja.wikipedia.org/wiki/Exchangeable_image_file_format#.E8.A8.98.E9.8C.B2.E3.81.95.E3.82.8C.E3.82.8B.E3.83.A1.E3.82.BF.E3.83.87.E3.83.BC.E3.82.BF&quot;&gt;記録されるメタデータ&lt;/a&gt;に肝心な位置情報についてたまたま？有りませんでしたが&lt;a href=&quot;http://homepage1.nifty.com/gigo/DC/GPS/gpsifd.html&quot;&gt;「Exif 2.1のGPS IFDで使われるタグ」というページ&lt;/a&gt;にGPS情報がありました。色々な言語でもExif対応のフレームワーク等が有る様です。&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:blue;&quot;&gt;。o まとめ o。&lt;/span&gt;&lt;br /&gt;音声ファイルには位置情報の埋めこみは普通に出来るよ、若しくはやった事あるよ、いい方法あるよ、という指摘やアドバイス等有りましたら、宜しくお願いします。&lt;br /&gt;とりあえずは、ID3タグの仕様から外れて勝手に位置情報を埋めこむ方向で試して行こうと思います。&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:blue;&quot;&gt;。o 参考 o。&lt;/span&gt;&lt;br /&gt;　&lt;a href=&quot;http://ja.wikipedia.org/wiki/MP3&quot;&gt;MP3 - Wikipedia&lt;/a&gt;&lt;br /&gt;　&lt;a href=&quot;http://ja.wikipedia.org/wiki/ID3%E3%82%BF%E3%82%B0&quot;&gt;ID3タグ - Wikipedia&lt;/a&gt;&lt;br /&gt;　&lt;a href=&quot;http://www.geocities.co.jp/SiliconValley-Oakland/3664/id3v2.html&quot;&gt;ID3v2 バージョン差異&lt;/a&gt;&lt;br /&gt;　&lt;a href=&quot;http://www.id3.org/id3v2.4.0-frames&quot;&gt;id3v2.4.0-structure - ID3.org&lt;/a&gt;&lt;br /&gt;　&lt;a href=&quot;http://www.platypus.st/ExifGPS/addGPS2Exif.html&quot;&gt;位置情報をデジカメの画像ファイル(JPEG ファイル)に記録する&lt;/a&gt;&lt;br /&gt;　&lt;a href=&quot;http://itpro.nikkeibp.co.jp/article/COLUMN/20080703/310071/&quot;&gt;画像ファイルから位置情報を取り出そう&lt;/a&gt;&lt;br /&gt;　&lt;a href=&quot;http://ja.wikipedia.org/wiki/Exchangeable_image_file_format&quot;&gt;Exchangeable image file format - Wikipedia&lt;/a&gt;&lt;br /&gt;　&lt;a href=&quot;http://homepage1.nifty.com/gigo/DC/GPS/gpsifd.html&quot;&gt;Exif 2.1のGPS IFDで使われるタグ&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://atushiyamazaki.blogspot.com/feeds/2454966978219402925/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8027197119886202597/2454966978219402925' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/2454966978219402925'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/2454966978219402925'/><link rel='alternate' type='text/html' href='http://atushiyamazaki.blogspot.com/2008/10/o0-about-information-of-position-of.html' title='o0 About the information of position of the audio file 0o'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16863559729276846827</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-8027197119886202597.post-5577225676859283507</id><published>2008-09-11T10:59:00.005+09:00</published><updated>2008-09-11T11:58:39.335+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Google Chrome"/><category scheme="http://www.blogger.com/atom/ns#" term="Greasemetal"/><category scheme="http://www.blogger.com/atom/ns#" term="Greasemonkey"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><category scheme="http://www.blogger.com/atom/ns#" term="LittleBetterGSearchResults"/><category scheme="http://www.blogger.com/atom/ns#" term="userscripts"/><title type='text'>o0 LittleBetterGSearchResultsがGreasemetalで動きました 0o</title><content type='html'>特に何も変更してませんが、そのまま動く様ですね。&lt;br /&gt;&lt;a href=&quot;http://greasemetal.31tools.com/&quot;&gt;Greasemetal&lt;/a&gt;を速攻で作られた奥さんに感謝です。</content><link rel='replies' type='application/atom+xml' href='http://atushiyamazaki.blogspot.com/feeds/5577225676859283507/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8027197119886202597/5577225676859283507' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/5577225676859283507'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/5577225676859283507'/><link rel='alternate' type='text/html' href='http://atushiyamazaki.blogspot.com/2008/09/o0-littlebettergsearchresultsgreasemeta.html' title='o0 LittleBetterGSearchResultsがGreasemetalで動きました 0o'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16863559729276846827</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-8027197119886202597.post-6684269919455630482</id><published>2008-08-27T21:39:00.000+09:00</published><updated>2008-08-27T21:45:18.018+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Greasemonkey"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><category scheme="http://www.blogger.com/atom/ns#" term="LittleBetterGSearchResults"/><category scheme="http://www.blogger.com/atom/ns#" term="userscripts"/><title type='text'>o0 LittleBetterGSearchResults Ver0.0.06 0o</title><content type='html'>Google Suggestが本家のGoogle検索に取り込まれたタイミングか不明ですが、結果ページの説明や抜粋されたテキスト(スニペット)の幅の変更機能が無効になってしまった為、修正し公開しました。&lt;br /&gt;
&lt;br /&gt;
宜しければ、どうぞ。&lt;br /&gt;
&lt;a href=&quot;http://userscripts.org/scripts/show/22539&quot;&gt;スクリプトの入手はこちらのリンク&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://atushiyamazaki.blogspot.com/feeds/6684269919455630482/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8027197119886202597/6684269919455630482' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/6684269919455630482'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/6684269919455630482'/><link rel='alternate' type='text/html' href='http://atushiyamazaki.blogspot.com/2008/08/o0-littlebettergsearchresults-ver0006.html' title='o0 LittleBetterGSearchResults Ver0.0.06 0o'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16863559729276846827</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-8027197119886202597.post-2950724341826537540</id><published>2008-08-09T21:37:00.002+09:00</published><updated>2008-08-09T21:49:09.240+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><category scheme="http://www.blogger.com/atom/ns#" term="Project Euler"/><title type='text'>o0 Project Euler - Problem 5 0o</title><content type='html'>&lt;span style=&quot;color:yellow;&quot;&gt;。o Problem 5  o。&lt;/span&gt; &lt;blockquote&gt;&lt;br /&gt;
2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder.&lt;br /&gt;
What is the smallest number that is evenly divisible by all of the numbers from 1 to 20?&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://odz.sakura.ne.jp/projecteuler/index.php?Problem%205&quot;&gt;※日本語の問題文はこちら&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;span style=&quot;color:yellow;&quot;&gt;。o 解答言語  o。&lt;/span&gt; &lt;div style=&quot;border: 1px solid gray;&quot; align=&quot;left&quot;&gt;JavaScript&lt;/div&gt;&lt;br /&gt;
&lt;span style=&quot;color:yellow;&quot;&gt;。o 解答内容  o。&lt;/span&gt;&lt;pre class=&quot;prettyprint&quot;&gt;var MAX_NUM = 20;
var ans = 0;
var i = 1;

while (1) {
  var flag = 0;
  /*
   * 20,19は既に評価対象(ans)に代入する時点で
   * 保証されているので18から評価する
   */
  var check_num = MAX_NUM -2;                           
  ans = (MAX_NUM * (MAX_NUM -1)) * i;             
                                                  
  while (1) {                                     
    if (ans % check_num != 0) {                   
      flag = 1;                                   
      break;                                      
    }                                             
    check_num--;                                  
    if (check_num == 0) break;                    
  }                                               
  if (flag == 0) {     
    alert(ans);        
    break;             
  }                    
  i++;                 
}                      

&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://atushiyamazaki.blogspot.com/feeds/2950724341826537540/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8027197119886202597/2950724341826537540' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/2950724341826537540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/2950724341826537540'/><link rel='alternate' type='text/html' href='http://atushiyamazaki.blogspot.com/2008/08/o0-project-euler-problem-5-0o.html' title='o0 Project Euler - Problem 5 0o'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16863559729276846827</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-8027197119886202597.post-8058286477234671845</id><published>2008-08-02T16:41:00.009+09:00</published><updated>2008-08-02T17:18:55.087+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><category scheme="http://www.blogger.com/atom/ns#" term="Project Euler"/><title type='text'>o0 Project Euler - Problem 4 0o</title><content type='html'>&lt;span style=&quot;color:yellow;&quot;&gt;。o Problem 4  o。&lt;/span&gt; &lt;blockquote&gt;&lt;br /&gt;
A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91  99.&lt;br /&gt;
&lt;br /&gt;
Find the largest palindrome made from the product of two 3-digit numbers.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://odz.sakura.ne.jp/projecteuler/index.php?Problem%204&quot;&gt;※日本語の問題文はこちら&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;span style=&quot;color:yellow;&quot;&gt;。o 解答言語  o。&lt;/span&gt; &lt;div style=&quot;border: 1px solid gray;&quot; align=&quot;left&quot;&gt;JavaScript&lt;/div&gt;&lt;br /&gt;
&lt;span style=&quot;color:yellow;&quot;&gt;。o 解答内容  o。&lt;/span&gt;&lt;pre class=&quot;prettyprint&quot;&gt;var ans = function() {
  var maxNum = 999;
  var num1 = 999;  
  var num2 = 999;  
  var rtn  = 0;
        
  while (1) {      
    while (1) {    
      var flg = 0; 
      var num = num1 * num2;
      if (rtn &gt; num) break;
      var chk2 = num.toString().length -1;
      for (var chk1 = 0; 
           chk1 &lt; parseInt(num.toString().length / 2); 
           chk1++) {
        if (num.toString().charAt(chk1) 
         != num.toString().charAt(chk2)) {
          flg = 1;  
          break;    
        }          
        chk2--;    
      }              
      if (flg == 0 &amp;&amp; rtn &lt; num) rtn = num;
      if (num1 == num2) break;
      num1--;              
    }                      
    num1 = maxNum;            
    num2--;
    if (num2 == 0) return rtn;
  }                      
}();

alert(ans);
   
&lt;/pre&gt;
&lt;span style=&quot;color:yellow;&quot;&gt;。o 補足  o。&lt;/span&gt;&lt;br&gt;
・&lt;a href=&quot;http://ja.wikipedia.org/wiki/%E5%9B%9E%E6%96%87%E6%95%B0&quot;&gt;回文数 - Wikipedia&lt;/a&gt;&lt;br&gt;
999 * 999&lt;br /&gt;
999 * 998, 998 * 998&lt;br /&gt;
999 * 997, 998 * 997, 997 * 997&lt;br /&gt;
... の順で結果を評価し一番始めに得られる結果が「924 * 962  = 888888」だが「913 * 993  = 906609」があるので注意が必要。</content><link rel='replies' type='application/atom+xml' href='http://atushiyamazaki.blogspot.com/feeds/8058286477234671845/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8027197119886202597/8058286477234671845' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/8058286477234671845'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8027197119886202597/posts/default/8058286477234671845'/><link rel='alternate' type='text/html' href='http://atushiyamazaki.blogspot.com/2008/08/o0-project-euler-problem-4-0o.html' title='o0 Project Euler - Problem 4 0o'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16863559729276846827</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></feed>