<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>FMSC iPhone Lab</title>
    <link rel="alternate" type="text/html" href="http://www.fourmeisters.com/iphone-lab/ja/" />
    <link rel="self" type="application/atom+xml" href="http://www.fourmeisters.com/iphone-lab/ja/atom.xml" />
    <id>tag:www.fourmeisters.com,2009-08-17:/iphone-lab/ja//14</id>
    <updated>2010-02-12T23:13:49Z</updated>
    
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type Commercial 4.25</generator>

<entry>
    <title>Location Clip 1.3 が Ready for Sale になりました。</title>
    <link rel="alternate" type="text/html" href="http://www.fourmeisters.com/iphone-lab/ja/2010/02/location-clip-13-ready-for-sale.html" />
    <id>tag:www.fourmeisters.com,2010:/iphone-lab/ja//14.374</id>

    <published>2010-02-12T23:12:58Z</published>
    <updated>2010-02-12T23:13:49Z</updated>

    <summary>Location Clip 1.3 が Ready for Sale になりまし...</summary>
    <author>
        <name>hsato</name>
        
    </author>
    
        <category term="Location Clip" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="iPhone Application" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-us" xml:base="http://www.fourmeisters.com/iphone-lab/ja/">
        <![CDATA[Location Clip 1.3 が Ready for Sale になりました。<div>まもなく AppStore に反映されると思いますので、アップデートどうぞよろしくお願いします。</div>]]>
        
    </content>
</entry>

<entry>
    <title>Location Clip 1.3 を審査に出しました。</title>
    <link rel="alternate" type="text/html" href="http://www.fourmeisters.com/iphone-lab/ja/2010/02/location-clip-13.html" />
    <id>tag:www.fourmeisters.com,2010:/iphone-lab/ja//14.373</id>

    <published>2010-02-11T07:36:16Z</published>
    <updated>2010-02-11T07:37:55Z</updated>

    <summary>先ほど、Location Clip 1.3 を審査に出しました。今回のバージョン...</summary>
    <author>
        <name>hsato</name>
        
    </author>
    
        <category term="Location Clip" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="iPhone Application" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-us" xml:base="http://www.fourmeisters.com/iphone-lab/ja/">
        <![CDATA[先ほど、Location Clip 1.3 を審査に出しました。<div>今回のバージョンの新機能は、以下の通りです。どうぞお楽しみに。</div><div><br /></div><div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">1. TwitterのGeo Tagging APIの対応</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">Twitterに投稿するメッセージにGeoタグを付けることができるようになりました。</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">設定画面において、Twitterへの投稿時にGeoタグを付けるかどうかを選択できます。</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'; min-height: 18.0px"><br /></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">2. 写真のサイズの設定</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">以前のバージョンでは、地図上に貼付ける写真のサイズは、長辺を200px固定としていましたが、本バージョンから、地図上に貼付ける写真のサイズが設定できるようになりました。</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">設定画面において、写真の長辺のサイズを180px、200px、240pxの中から選択できます。</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">なお、設定画面にてサイズの変更をした場合には、次に写真を貼付ける時から設定が有効になります。</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">もし、地図上に貼付けられている写真がある状態で設定を変更した場合、その写真のサイズは変更されませんのでご了承ください。</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'; min-height: 18.0px"><br /></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">3. カメラで撮影した写真を保存するかどうかの設定</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">以前のバージョンでは、カメラで撮影した写真を必ずカメラロールに保存するようにしていましたが、本バージョンから、カメラロールに自動保存するかどうかを設定画面において設定できるようになりました。</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'; min-height: 18.0px"><br /></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">4. URLスキーマの公開</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">他のアプリケーションから、Location Clipに連携できるように、URLスキーマを公開します。</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'"><br /></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">URL :</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">com.fourmeisters.locationclip://open</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'; min-height: 18.0px"><br /></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">パラメータ:</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">- 場所を指定したい場合</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">lat: 緯度座標</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">lon: 経度座標</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">※このパラメータが指定されない場合には、現在地を表示します。</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'; min-height: 18.0px"><br /></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">- 地図のタイプを設定したい場合</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">type: 地図のタイプ。m（マップ）、s（航空写真）、h（地図＋写真）。</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">※このパラメータが指定されない場合には、マップ表示します。</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'; min-height: 18.0px"><br /></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">- 地図上に写真を貼付けたい場合（１枚のみ）</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">photo: 写真の貼付け有無。y（貼付ける）、n（貼付けない）。</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">貼付けたい写真の画像（UIImage）がペーストボードに入っていることが前提です。</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'; min-height: 18.0px"><br /></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">pbname: ペーストボードの名前。</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">名前付きペーストボードに写真をセットしている場合には、そのペーストボード名を指定します。</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">このパラメータが指定されない場合には、標準ペーストボードを参照します。</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'; min-height: 18.0px"><br /></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">- LocationClipの処理終了後、呼び出し元アプリに戻りたい場合</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">returnURL: yourapp://xxxxx</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">もし、URLの中にパラメータがある場合には、&amp;や=などの文字は、正しくエンコードしてください。</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">例えば、yourapp://xxxxx?foo=aaa&amp;baa=bbb に戻りたい場合には、yourapp://xxxxx?foo%3Daaa%26baa%3Dbbb となります。</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'; min-height: 18.0px"><br /></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">例:</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">com.fourmeisters.locationclip://open?lat=37.00000&amp;lon=139.00000&amp;type=h</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">com.fourmeisters.locationclip://open?photo=y&amp;pbname=com.foo.baa.pbname</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">com.fourmeisters.locationclip://open?returnURL=yourapp://xxxxx</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'; min-height: 18.0px"><br /></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">5. Copy &amp; Send (Lite) との連携</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">弊社からリリースしているCopy &amp; Send（Lite）をインストールしている場合には、Location Clipでクリップした情報を、Copy &amp; Send (Lite) に渡して他のiPhone/iPod touchに送信することができます。</p><div><font class="Apple-style-span" face="'Hiragino Kaku Gothic ProN', helvetica, hirakakupro-w3, osaka, 'ms pgothic', sans-serif" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br /></span></font></div></div>]]>
        
    </content>
</entry>

<entry>
    <title>Copy &amp; Send 1.1がリリースされました。</title>
    <link rel="alternate" type="text/html" href="http://www.fourmeisters.com/iphone-lab/ja/2010/01/copy-send-11.html" />
    <id>tag:www.fourmeisters.com,2010:/iphone-lab/ja//14.371</id>

    <published>2010-01-15T03:48:10Z</published>
    <updated>2010-01-15T05:11:19Z</updated>

    <summary><![CDATA[4日前に、アップデートを申請してた、Copy &amp; Send 1.1が、A...]]></summary>
    <author>
        <name>kimada</name>
        
    </author>
    
        <category term="Copy &amp; Send" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="copysend" label="Copy &amp; Send" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="リリース情報" label="リリース情報" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://www.fourmeisters.com/iphone-lab/ja/">
        <![CDATA[4日前に、アップデートを申請してた、<a href="http://itunes.apple.com/jp/app/copy-send/id346108063?mt=8">Copy &amp; Send</a> 1.1が、AppStoreにリリースされました。<br /><br /><a href="http://itunes.apple.com/jp/app/copy-send/id346108063?mt=8">Copy &amp; Send</a> (有料版)<br /><a href="http://itunes.apple.com/jp/app/copy-send-lite/id346123234?mt=8">Copy &amp; Send Lite</a> (無料版)<br /><br />このアップデートでは、有料版の永続保存領域に、フォルダの概念を追加しました。<br />これにより、適当なフォルダを作成し、保存しているアイテムを、分類することができます。<br /><br /><div><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><a href="http://www.fourmeisters.com/iphone-lab/ja/2010/01/15/06_FolderList.PNG"><img alt="06_FolderList.PNG" src="http://www.fourmeisters.com/iphone-lab/ja/assets_c/2010/01/06_FolderList-thumb-160x240-39.png" class="mt-image-none" style="" height="240" width="160" /></a></span><br /><br /></div><div>この例では、4つのフォルダを作成してアイテムを分類しています。<br />旧バージョンから引き継いだデータは、アップデート適用直後は、デフォルトフォルダに属していますので、お手数ですが、必要に応じてフォルダを作成し、移動してください。<br /><br />尚、無料版の方は、小規模なバグフィックスと画面表示の変更のみとなっています。<br /></div>]]>
        
    </content>
</entry>

<entry>
    <title>Copy &amp; SendをSafariにブックマークする。</title>
    <link rel="alternate" type="text/html" href="http://www.fourmeisters.com/iphone-lab/ja/2010/01/copy-sendsafari.html" />
    <id>tag:www.fourmeisters.com,2010:/iphone-lab/ja//14.370</id>

    <published>2010-01-13T06:31:10Z</published>
    <updated>2010-01-13T07:36:06Z</updated>

    <summary>iPhoneのSafariで、WebコンテンツからURLや画像などをコピーすると...</summary>
    <author>
        <name>kimada</name>
        
    </author>
    
        <category term="Copy &amp; Send" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="iPhone Tips" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="copysend" label="Copy &amp; Send" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="safari" label="Safari" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="ブックマーク" label="ブックマーク" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://www.fourmeisters.com/iphone-lab/ja/">
        <![CDATA[iPhoneのSafariで、WebコンテンツからURLや画像などをコピーすると、それは標準ペーストボードに格納されます。<br />その状態でSafariを終了し、<a href="http://itunes.apple.com/jp/app/copy-send/id346108063?mt=8">Copy &amp; Send</a>を起動することで、コピーしたデータを参照することが可能です。<br />こういう操作を想定した場合、<a href="http://itunes.apple.com/jp/app/copy-send/id346108063?mt=8">Copy &amp; Send</a>のURLを、Safariのブックマークに登録しておくことで、ワンタッチで起動できるようになり、かなり操作が楽になります。<br />以下に、登録方法を説明します。<br /><br /><font style="font-size: 1.25em;">1. 登録するURLの準備</font><br />以下のいずれかのURLを、通常のコピー操作でコピーしておきます。<br /><br />有料版の場合<br />&nbsp;&nbsp; &nbsp;<a href="com.fourmeisters.copyandsend://open">com.fourmeisters.copyandsend://open</a><br />&nbsp;&nbsp;&nbsp; <br />Lite版の場合<br />&nbsp;&nbsp; &nbsp;<a href="com.fourmeisters.copyandsendlite://open">com.fourmeisters.copyandsendlite://open</a><br /><br />iPhoneのSafariでは、リンクを長押しして表示されるメニューから、「コピー」を選択するのが、最も簡単で確実な方法です。<br /><br /><font style="font-size: 1.25em;">2. とりあえず、現在のページを一旦ブックマークに登録</font><br /><ul><li>画面最下部の[+]アイコンをクリックして、「ブックマークを追加」を選択します。</li></ul><blockquote><br /><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="safari_toolbar_plus.png" src="http://www.fourmeisters.com/iphone-lab/ja/2010/01/13/safari_toolbar_plus.png" class="mt-image-none" style="" width="240" height="34" /></span></blockquote><ul><li>ブックマークの名前を、何かわかりやすいものに変更します。 (ここでは、「Copy &amp; Sendを起動」にしています。)</li></ul><ul><li>この時点では、URLは変更できないので、一旦右上の「保存」ボタンをタップして登録します。</li></ul><br /><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="CopyAndSendBM1x.PNG" src="http://www.fourmeisters.com/iphone-lab/ja/2010/01/13/CopyAndSendBM1x.PNG" class="mt-image-none" style="" width="240" height="180" /></span><br />&nbsp;&nbsp;&nbsp; <br /><font style="font-size: 1.25em;">3.&nbsp;&nbsp; &nbsp;登録したブックマークに正しいURLを設定する。</font><br /><ul><li>画面最下部の本のマークのアイコンをタップし、ブックマーク一覧を表示します。</li></ul><br /><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="safari_toolbar_book.png" src="http://www.fourmeisters.com/iphone-lab/ja/2010/01/13/safari_toolbar_book.png" class="mt-image-none" style="" width="240" height="34" /></span><br /><br /><ul><li>そこで、画面左下の「編集」ボタンをタップした後、先ほどのブックマークを選択します。</li></ul><br /><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="CopyAndSendBM2x.PNG" src="http://www.fourmeisters.com/iphone-lab/ja/2010/01/13/CopyAndSendBM2x.PNG" class="mt-image-none" style="" width="240" height="34" /></span><br /><br /><ul><li>URLのところに事前にコピーしておいたURLをペーストします。(手入力でも構いません)</li></ul><br /><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="CopyAndSendBM3x.PNG" src="http://www.fourmeisters.com/iphone-lab/ja/2010/01/13/CopyAndSendBM3x.PNG" class="mt-image-none" style="" width="240" height="180" /></span><br /><br />画面最下部の「完了」ボタンをタップすることで、登録完了です。<br /><br />あとは、登録したブックマークから、ワンタッチで<a href="http://itunes.apple.com/jp/app/copy-send/id346108063?mt=8">Copy &amp; Send</a>アプリケーションを起動することが可能です。<br /><img src="file:///Users/kimada/Desktop/%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%EF%BC%882010-01-13%2015.12.03%EF%BC%89.png" alt="" /><br /> <div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div>]]>
        
    </content>
</entry>

<entry>
    <title>Copy &amp; Sendで、ペーストボードを有効に活用しましょう</title>
    <link rel="alternate" type="text/html" href="http://www.fourmeisters.com/iphone-lab/ja/2009/12/copy-send-1.html" />
    <id>tag:www.fourmeisters.com,2009:/iphone-lab/ja//14.369</id>

    <published>2009-12-25T09:01:38Z</published>
    <updated>2009-12-25T09:16:10Z</updated>

    <summary> iPhone OSにおいて、アプリケーション間でデータを共有する、最も簡単な方...</summary>
    <author>
        <name>kimada</name>
        
    </author>
    
        <category term="Copy &amp; Send" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Export for Google Documents" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Programming" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="iPhone Development" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="copysend" label="Copy &amp; Send" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="exportforgoogledocuments" label="Export for Google Documents" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="uipasteboard" label="UIPasteboard" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="クリップボード" label="クリップボード" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="ペーストボード" label="ペーストボード" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://www.fourmeisters.com/iphone-lab/ja/">
        <![CDATA[ iPhone OSにおいて、アプリケーション間でデータを共有する、最も簡単な方法は、ペーストボードを使用することです。<br /><br />典型的なパターンをあげてみましょう。<br />ユーザがメモアプリケーションで文字列を選んで「コピー」の操作をし、メール送信画面で「ペースト」操作を行うと、その文字列がメールに貼り付けられます。これは、コピー操作で、メモアプリケーションが文字列をペーストボードに格納し、メールアプリケーションが、ペースト操作の時にそこから文字列を取り出すことで実現されています。それと同じ方法で、どんなアプリケーションでも、ペーストボードを介してデータを受け渡すことが可能です。<br /><br />ペーストボードには、文字列だけでなく、さまざまな種類のデータを格納することができます。例えば、弊社の<a href="%E2%80%9Chttp://itunes.apple.com/jp/app/export-for-google-documents/id328033011?mt=8%E2%80%9D">Export for Google Documents</a>というアプリケーションでは、<a href="%E2%80%9Chttp://docs.google.com/%E2%80%9C">Googleドキュメント</a>からエクスポートしたドキュメントデータを、ペーストボードに格納する機能を持っています。<br /><br />ここでは、どのような形でペーストボードにデータを格納すればいいのか及び、弊社製<a href="%E2%80%9Chttp://itunes.apple.com/jp/app/copy-send/id346108063?mt=8%E2%80%9D">Copy &amp; Send</a>アプリでそのデータを活用する例について簡単に説明したいと思います。<br /><br /><font style="font-size: 1.25em;"><u><b><font style="" 1.25em;"="">UIPasteboardクラス</font></b></u></font><br /><br />iPhone SDKの中では、<a href="%E2%80%9Chttp://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIPasteboard_Class/Reference.html%E2%80%9D">UIPasteboard</a>クラスがペーストボードを表現するオブジェクトになります。システム内には、複数のペーストボードが存在していますが、それぞれが、<a href="%E2%80%9Chttp://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIPasteboard_Class/Reference.html%E2%80%9D">UIPasteboard</a>のインスタンスに対応します。<br /><br />システム標準で用意されているものには、以下の2種類があります。<br /><ul><li>General pasteboard</li><ul><li>システム標準のペーストボードであり、通常のコピー/ペースト操作で使用されます。</li></ul><li>Find pasteboard</li><ul><li>検索バーに入力されたテキストが保存されるペーストボード</li></ul></ul><br />上記以外に、各アプリケーションで固有なものを、自由に作成することができます。標準のペーストボードは、予期しない場面で勝手に上書きされてしまうことがあるので、アプリケーション固有のデータは、固有のペーストボードを使用することをお奨めします。<br /><br />また、各ペーストボードには、一意に識別するための名称が付与されており、名称が不明なペーストボードにはアクセスできないようになっています。<br /><br /><font style="font-size: 1.25em;"><u><b><font style="" 1.25em;"="">ペーストボード内のデータ構造</font></b></u></font><br /><br />ペーストボード内のデータは、アイテムと呼ばれるNSDictionryの集合として管理されています。<br />アイテムのNSDictionryのキーは、データの種類を表す<a href="%E2%80%9Chttp://developer.apple.com/iphone/library/documentation/FileManagement/Conceptual/understanding_utis/understand_utis_intro/understand_utis_intro.html%E2%80%9D">UTI(Uniform Type Identifier)</a>と呼ばれる文字列であり、値としてデータのオブジェクトが格納されています。したがって、アイテムの中には、異なる種類のデータを複数格納することができます。<br />以下に、データ構造の概念図を示します。<br /><br /><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><a href="http://www.fourmeisters.com/iphone-lab/ja/2009/12/25/Pasteboard_items.png"><img alt="Pasteboard_items.png" src="http://www.fourmeisters.com/iphone-lab/ja/assets_c/2009/12/Pasteboard_items-thumb-120x69-31.png" class="mt-image-none" style="" width="120" height="69" /></a></span><br /><br />これは、少し複雑な組合せの例になっています。<br />1つ目のアイテムは、URLとテキストのペアで構成されています。例えば、Safariでハイパーリンクを長押ししてコピーした場合は、この形になります。<br />2つ目のアイテムは、Excelのスプレッドシートを、単独で格納したアイテムの例です。<br />3つ目のアイテムは、JPEG画像とテキストのペアで構成されています。カメラロールの写真をコピーした場合には、この形になります。<br /><br /><a href="http://itunes.apple.com/jp/app/copy-send/id346108063?mt=8">Copy &amp; Send</a>及び、<a href="http://itunes.apple.com/jp/app/copy-send-lite/id346123234?mt=8">Copy &amp; Send Lite</a>で、ペーストボードの内容をブラウズすると、これらのデータ構造を確認することができます。興味がある方は、お試しください。<br /><br /><u><b><font style="font-size: 1.25em;">UIPasteboardのAPIについて</font></b></u><br /><br />アイテムを操作するためのAPIは、以下の種類に分かれます。<br />(詳細は、<a href="%E2%80%9Chttp://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIPasteboard_Class/Reference.html%E2%80%9D">UIPasteboardのリファレンス</a>を参照してください)<br /><br /><ul><li>標準的な単一タイプのデータを扱うためのもの</li><ul><li>データにアクセスするためのプロパティとして定義されています。</li><ul><li>string/strings</li><li>image/images</li><li>URL/URLs</li><li>color/colors </li></ul></ul><li>任意のデータタイプを扱うためのもの</li><ul><li>上記以外に、UTIを明示的に指定してデータを操作するメソッドが用意されています。</li></ul></ul><br /><u><b><font style="font-size: 1.25em;">ペーストボードの活用例</font></b></u><br /><br />一部、冒頭で述べたことの繰り返しになりますが、弊社製の以下のアプリ間で、ペーストボードを使ったデータ連携を実現しています。<br /><ul><li><a href="%E2%80%9Chttp://itunes.apple.com/jp/app/export-for-google-documents/id328033011?mt=8%E2%80%9D">Export for Google Documents</a></li><ul><li>Googleドキュメントからエクスポートしたドキュメントデータを、ペーストボードに格納する。</li></ul><li><a href="http://itunes.apple.com/jp/app/copy-send/id346108063?mt=8">Copy &amp; Send</a> / <a href="http://itunes.apple.com/jp/app/copy-send-lite/id346123234?mt=8">Copy &amp; Send Lite</a></li><ul><li>ペーストボードに格納されているアイテムを活用する機能を実装している。</li></ul></ul><blockquote><blockquote><ul><li>他のデバイスへの送信</li><li>永続領域への保存</li><li>内容のブラウズ</li></ul></blockquote></blockquote>これによって、<a href="%E2%80%9Chttp://itunes.apple.com/jp/app/export-for-google-documents/id328033011?mt=8%E2%80%9D">Export for Google Documents</a>のドキュメントデータを、他のデバイスに送信するといったことができるようになっています。<br /><br /><br />みなさんが作成したアプリケーションでも、<a href="http://itunes.apple.com/jp/app/copy-send/id346108063?mt=8">Copy &amp; Send</a> / <a href="http://itunes.apple.com/jp/app/copy-send-lite/id346123234?mt=8">Copy &amp; Send Lite</a>を有効に活用していただければ幸いです。<br /><br />開発者の方のために、具体的な連携機能の実装方法について、アプリの中からアクセスできるヘルプドキュメントにて説明しています。よろしければ、そちらをご参照いただければと思います。<br /><br />よろしくお願いいたします。<br /><br /> <div><br /></div><div><br /></div>]]>
        
    </content>
</entry>

<entry>
    <title>iPhone OS 3.1から、GameKitでWiFi通信もサポートされていますが。。。</title>
    <link rel="alternate" type="text/html" href="http://www.fourmeisters.com/iphone-lab/ja/2009/12/iphone-os-31gamekitwifi.html" />
    <id>tag:www.fourmeisters.com,2009:/iphone-lab/ja//14.368</id>

    <published>2009-12-25T03:31:02Z</published>
    <updated>2009-12-25T03:46:54Z</updated>

    <summary><![CDATA[Copy &amp; Sendでは、データの送受信に、iPhone OS 3.0...]]></summary>
    <author>
        <name>kimada</name>
        
    </author>
    
        <category term="Copy &amp; Send" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Programming" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="iPhone Development" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="bluetooth" label="Bluetooth" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="copysend" label="Copy &amp; Send" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="gamekit" label="GameKit" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="wifi" label="Wifi" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://www.fourmeisters.com/iphone-lab/ja/">
        <![CDATA[<a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=346108063&amp;mt=8">Copy &amp; Send</a>では、データの送受信に、iPhone OS 3.0から追加されたGameKitを使用しています。当初はBluetoothのみのサポートだったのですが、iPhone OS 3.1からは、WiFi経由での通信もできるようになっていることは、あまり認知されていないように思います。われわれも、<a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=346108063&amp;mt=8">Copy &amp; Send</a>アプリケーションを開発している過程で、偶然気付いたというのが正直なところです。<br />便利な機能なのですが、いくつか制約もあるので、そのときの経験を元に、概要をまとめておきたいと思います。<br /><br /><u><b><font style="font-size: 1.25em;">開発者向けのドキュメントには明記されていない</font></b></u><br /><br />Appleから公開されているGameKitに関するドキュメントは、以下の2つですが、いずれにも、WiFi機能のサポートについては説明されていません。<br /><br /><ul><li><a href="http://developer.apple.com/jp/iphone/library/documentation/NetworkingInternet/Conceptual/GameKit_Guide/GameKit_Guide.pdf">GameKitプログラミングガイド</a></li><li><a href="http://developer.apple.com/iphone/library/documentation/GameKit/Reference/GameKit_Collection/index.html">Game Kit Framework Reference</a></li></ul><br /><a href="https://devforums.apple.com/message/145616#145616">Developer Forums の発言</a>によると、これらのドキュメントは、いずれも3.0レベルのまま更新されていないので、3.1から追加されたWiFi通信機能のことが記載されていないだけのようです。<br /><br /><u><b><font style="font-size: 1.25em;">GKPeerPickerControllerを使った場合は、Bluetoothのみ使用可能である</font></b></u><br /><br />なぜか、<a href="http://developer.apple.com/iphone/library/documentation/GameKit/Reference/GKPeerPickerController_Class/Reference/Reference.html">GKPeerPickerController</a>クラスを使って接続を確立する場合は、Bluetooth通信のみが使用可能なようです。<br />WiFi通信を使うためには、<a href="http://developer.apple.com/iphone/library/documentation/GameKit/Reference/GKSession_Class/Reference/Reference.html">GKSession</a>を使って、自分で接続相手を探して接続する必要があります。<br /><br /><u><b><font style="font-size: 1.25em;">BluetoothとWiFiのどちらを使用するのかを明示的に選択することはできない</font></b></u><br /><br />WiFiとBluetoothの両方が有効な状態の場合、どちらを使って通信するのかということを、明示的に選択することはできません。<a href="http://developer.apple.com/iphone/library/documentation/GameKit/Reference/GameKit_Collection/index.html">Game Kit Framework</a>が、勝手に選んでしまいます。<a href="http://developer.apple.com/iphone/library/documentation/GameKit/Reference/GKPeerPickerController_Class/Reference/Reference.html">GKPeerPickerController</a>を使わないで実装した場合は、暗黙的にWiFiを使ってしまうわけですね。<br />裏を返せば、ドキュメントに記載されていないこととあわせて考えると、<a href="http://developer.apple.com/iphone/library/documentation/GameKit/Reference/GKPeerPickerController_Class/Reference/Reference.html">GKPeerPickerController</a>を使わないで実装した場合にのみ、偶然この機能に気付くということにもなります。<br /><br /><u><b><font style="font-size: 1.25em;">WiFiとBluetoothの状態を検知できない</font></b></u><br /><br /><a href="http://developer.apple.com/iphone/library/documentation/GameKit/Reference/GKPeerPickerController_Class/Reference/Reference.html">GKPeerPickerController</a>を使う場合、Bluetoothが無効な場合に、以下のようなalertメッセージが出ます。<br /><br /><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="Bluetooth_unavail.png" src="http://www.fourmeisters.com/iphone-lab/ja/2009/12/25/Bluetooth_unavail.png" class="mt-image-none" style="" width="279" height="238" /></span><br /><br /><a href="http://developer.apple.com/iphone/library/documentation/GameKit/Reference/GKPeerPickerController_Class/Reference/Reference.html">GKPeerPickerController</a>を使わない場合は、WiFiとBluetoothの状態を検知することができません。<br /><br /><u><b><font style="font-size: 1.25em;">Bluetoothをサポートしていないデバイスでも通信できる</font></b></u><br /><br />同一WiFiネットワーク内に限定されますが、iPod touch 1Gでも、通信することができるのは、メリットかなと思います。<br />あと、iPhone Simulatorとも通信できるで、iPhoneの実機が1台しかなくても、テストが可能になることもうれしいですね。<br /><br /><u><b><font style="font-size: 1.25em;">Copy &amp; Sendアプリケーションへの影響</font></b></u><br /><br /><a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=346108063&amp;mt=8">Copy &amp; Send</a>では、<a href="http://developer.apple.com/iphone/library/documentation/GameKit/Reference/GKPeerPickerController_Class/Reference/Reference.html">GKPeerPickerController</a>を使わないで実装しているので、以下のような影響を受けています。<br /><br /><ul><li>そのときの状況により、WiFiとBluetoothのどちらで通信されるのかを予測することはできません。</li><li>WiFiとBluetoothの両方が無効な状態であっても、そのことをユーザに通知することができません。</li></ul><br />このあたりについては、ユーザのみなさんに不便を感じさせてしまうところだと思うので、もう少しきめ細かい制御ができるようになると、ありがたいところです。<br /><br /><a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=346108063&amp;mt=8">Copy &amp; Send</a>を使用して場合は、お手数ですが、WiFiとBluetoothを予めONにしていただくよう、お願いいたします。<br /><br /><br /><a href="http://developer.apple.com/iphone/library/documentation/GameKit/Reference/GameKit_Collection/index.html"><br /><br /></a><br /> <div><br /></div>]]>
        
    </content>
</entry>

<entry>
    <title>Export for Google Documents 1.2がReady for Saleになりました</title>
    <link rel="alternate" type="text/html" href="http://www.fourmeisters.com/iphone-lab/ja/2009/12/export-for-google-documents-12ready-for-sale.html" />
    <id>tag:www.fourmeisters.com,2009:/iphone-lab/ja//14.367</id>

    <published>2009-12-24T06:03:41Z</published>
    <updated>2009-12-24T06:23:29Z</updated>

    <summary>12/18にアップデートを申請していたExport for Google Doc...</summary>
    <author>
        <name>kimada</name>
        
    </author>
    
        <category term="Copy &amp; Send" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Export for Google Documents" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="copysend" label="Copy &amp; Send" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="exportforgoogledocuments" label="Export for Google Documents" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://www.fourmeisters.com/iphone-lab/ja/">
        <![CDATA[12/18にアップデートを申請していた<a href="http://itunes.apple.com/jp/app/export-for-google-documents/id328033011?mt=8">Export for Google Documents</a>のアップデートが、Ready for Saleになりました。6日間というのは、これまでで最短記録です。<br /><br /><a href="http://itunes.apple.com/jp/app/export-for-google-documents/id328033011?mt=8">Export for Google Documents (AppStore)</a><br /><br />今回は、主に2つの機能追加が中心となっています。<br /><br /><b><font style="font-size: 1.25em;">Copy &amp; Sendアプリケーションとの連携<br /></font></b><br />これまでも、ドキュメントをペーストボードに格納する機能を提供していましたが、そのデータを活用できるアプリケーションが存在していなかったので、中途半端な状態でした。<br />同じデバイスの中に、<a href="http://itunes.apple.com/jp/app/copy-send/id346108063?mt=8">Copy &amp; Send</a>がインストールされていれば、このアプリでペーストボードに格納したドキュメントを利用することができます。<br /><img src="file:///Users/kimada/Documents/vmware/shared/Documents/iPhoneLab/Release/Expt4GDocs/AppDocs/help120/Images/screenshots/06_PasteBoard.png" alt="" /><br /><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="06_PasteBoard.png" src="http://www.fourmeisters.com/iphone-lab/ja/2009/12/24/06_PasteBoard.png" class="mt-image-none" style="" height="460" width="320" /></span><br /><br />ペーストボード状態表示画面で、「Copy &amp; Sendを起動する」ボタンをタップすると、<a href="http://itunes.apple.com/jp/app/copy-send/id346108063?mt=8">Copy &amp; Send</a>が起動されます。あとは、<a href="http://itunes.apple.com/jp/app/copy-send/id346108063?mt=8">Copy &amp; Send</a>の機能を使って、ドキュメントを別のデバイスに送信したり、永続領域に保存するなどできるようになります。<br /><br /><a href="http://itunes.apple.com/jp/app/copy-send/id346108063?mt=8">Copy &amp; Send (有料版) (AppStore)</a><br /><br /><a href="http://itunes.apple.com/jp/app/copy-send-lite/id346123234?mt=8">Copy &amp; Send (無料版) (AppStore)</a><br /><br /><b><font style="font-size: 1.25em;">スプレッドシートからワークシートを選択する</font></b><br /><br />スプレッドシートをPDFとしてエクスポートする場合、ワークシートを選択することができるようになりました。<br /><br /><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="02_ChooseSheet.png" src="http://www.fourmeisters.com/iphone-lab/ja/2009/12/24/02_ChooseSheet.png" class="mt-image-none" style="" height="343" width="277" /></span><br /><br /><br />通常の流れですと、本日中にAppStoreにも出てくるはずですが、米国がクリスマス休暇に入っているため、スムーズに行かない可能性もあります。その場合は、ご了承ください。<br /><br /> <div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div>]]>
        
    </content>
</entry>

<entry>
    <title>Copy &amp; Sendという新しいアプリをリリースしました</title>
    <link rel="alternate" type="text/html" href="http://www.fourmeisters.com/iphone-lab/ja/2009/12/copy-send.html" />
    <id>tag:www.fourmeisters.com,2009:/iphone-lab/ja//14.366</id>

    <published>2009-12-21T01:53:02Z</published>
    <updated>2009-12-21T02:46:06Z</updated>

    <summary>iPhone/iPod touchのペーストボードに格納されているデータを活用す...</summary>
    <author>
        <name>kimada</name>
        
    </author>
    
        <category term="Copy &amp; Send" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="iPhone Application" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="copysend" label="Copy &amp; Send" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://www.fourmeisters.com/iphone-lab/ja/">
        <![CDATA[iPhone/iPod touchのペーストボードに格納されているデータを活用するための、Copy &amp; Sendというアプリをリリースしました。<br />今回は、有料版と無料版の2本立てとなっています。<br /><br /><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="スクリーンショット（2009-12-20 12.32.18）.png" src="http://www.fourmeisters.com/iphone-lab/ja/2009/12/21/%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%EF%BC%882009-12-20%2012.32.18%EF%BC%89.png" class="mt-image-none" style="" height="87" width="471" /></span><br /><br /><font style="font-size: 1.25em;"><a href="http://itunes.apple.com/jp/app/copy-send/id346108063?mt=8">Copy &amp; Send (有料版)</a></font><br /> <div><br /><font style="font-size: 1.25em;"><a href="http://itunes.apple.com/jp/app/copy-send-lite/id346123234?mt=8">Copy &amp; Send Lite (無料版)</a></font><br /></div><div><br /><br /><b><font style="font-size: 1.25em;">主な機能</font></b><br /><br />通常のコピー操作でペーストボードにデータを格納した後、このアプリを起動することで、簡単にデータを活用することができます。<br /><br />主な機能は、以下の通りです。<br /><ul><li>ペーストボード内のデータをブラウズする。</li><ul><li>複数のアイテムがペーストボードに格納されている場合であっても、一覧表示して内容を確認することができます。</li><li>テキスト、画像、ドキュメントについては、内容確認するための簡易的なビューワ機能もあります。<br /></li><li>ペーストボードを使ったアプリを開発している方にも役立つ機能だと思います。<br /></li></ul><li>ペーストボード内のデータを、別のiPhone/iPod touchにBluetooth経由で送信する。</li><ul><li>Copy &amp; Sendがインストールされている別のiPhone/iPod touchに、データを送信して共有することができます。</li><li>例えば、カメラロールにある写真を選択してコピーした後、このアプリを起動して、簡単な操作をすることで、その写真を送ることができます。</li></ul><li>ペーストボード内にあるデータの中で、長く取っておきたいものを、保存する。</li></ul><br /><b><font style="font-size: 1.25em;">有料版と無料版の違いについて</font></b><br /><br />無料版には、若干の機能制限があります。<br /><ul><li>画像送信時のサイズ縮小</li><ul><li>有料版では、サイズを縮小せずに画像を送信することができますが、無料版は常に縮小されます。</li></ul><li>データの保存機能</li><ul><li>有料版では、ローカルデータベースにデータを保存することができますが、無料版では画像をカメラロールに保存する機能のみ利用可能です。</li></ul></ul><br /><b><font style="font-size: 1.25em;">他のアプリとの連携について</font></b><br /><br />他のアプリから、このアプリを起動するためのURLを公開しています。<br />使用方法については、アプリ内のヘルプドキュメントにて説明していますので、そちらをご参照ください。<br /><br /><br />まずは、無料版をお気軽にお試しいただければと思います。<br />よろしくお願いいたします。<br /><br /></div><div><br /></div>]]>
        
    </content>
</entry>

<entry>
    <title>アプリケーション起動時のURLハンドリング</title>
    <link rel="alternate" type="text/html" href="http://www.fourmeisters.com/iphone-lab/ja/2009/11/url.html" />
    <id>tag:www.fourmeisters.com,2009:/iphone-lab/ja//14.365</id>

    <published>2009-11-17T03:16:37Z</published>
    <updated>2009-11-17T10:28:25Z</updated>

    <summary>iPhoneOSでは、各アプリケーションごとに、独自のURLスキームを定義できる...</summary>
    <author>
        <name>kimada</name>
        
    </author>
    
        <category term="Programming" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="iphone" label="iPhone" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="uiapplicationdelegate" label="UIApplicationDelegate" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="url" label="URL" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://www.fourmeisters.com/iphone-lab/ja/">
        <![CDATA[iPhoneOSでは、各アプリケーションごとに、独自のURLスキームを定義できることは、iPhoneアプリケーション開発者のみなさんはご存知のことと思います。そのURLが、-[UIApplication openURL:]メソッドの引数で渡されると、対応するアプリケーションが起動されます。<br />起動される側のアプリケーションは、Application DelegateクラスでそのURLを受け取って、必要な処理を行います。<br />iPhoneOS 2.xまでは、URLのハンドリングは、application:handleOpenURL: メソッドでのみ行うことが可能でしたが。3.0からは、新しく追加された、application:didFinishLaunchingWithOptions: メソッドでも可能となりました。<br />このapplication:didFinishLaunchingWithOptions: メソッドのことを簡単にまとめると、以下のような感じになります。(詳細は、<a href="http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIApplicationDelegate_Protocol/Reference/Reference.html">UIApplicationDelegate Protocol Reference</a> を参照してください)<br /><ul><li>これまでの、applicationDidFinishLaunching: メソッドに、起動時のオプションパラメタを処理する機能が追加されたものである。</li><li>application:didFinishLaunchingWithOptions: メソッドが存在していると、applicationDidFinishLaunching: メソッドと、application:handleOpenURL: メソッドは、呼ばれなくなる。</li><li>引数で渡される起動オプションは、NSDictionaryオブジェクトであり、push notificationまたは、URL起動時のパラメタが格納されている。</li></ul>ということで、applicationDidFinishLaunching: メソッドと、application:handleOpenURL: メソッドを合成したようなものであると言えます。<br /><br />URL起動の場合、起動オプションには、以下の2つのキーが存在します。<br /><ul><li>UIApplicationLaunchOptionsURLKey - 起動URLオブジェクト(NSURL)</li><li>UIApplicationLaunchOptionsSourceApplicationKey - 起動元アプリケーションのバンドル名</li></ul>ふつうに、ホーム画面のアイコンをタップして起動された場合は、起動オプションはnilになります。<br /><br /> ]]>
        
    </content>
</entry>

<entry>
    <title>カメラロールに画像を保存する際は、保存が完了するまでユーザに見届けさせるような配慮をしよう。</title>
    <link rel="alternate" type="text/html" href="http://www.fourmeisters.com/iphone-lab/ja/2009/11/post.html" />
    <id>tag:www.fourmeisters.com,2009:/iphone-lab/ja//14.363</id>

    <published>2009-11-13T06:03:47Z</published>
    <updated>2009-11-13T06:12:20Z</updated>

    <summary>Location Clip 1.2 では、カメラで撮った写真をカメラロールに保存...</summary>
    <author>
        <name>hsato</name>
        
    </author>
    
        <category term="Location Clip" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Programming" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="iPhone Application" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="iPhone Development" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="uiimage" label="UIImage" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://www.fourmeisters.com/iphone-lab/ja/">
        <![CDATA[<div>Location Clip 1.2 では、カメラで撮った写真をカメラロールに保存する機能がありますが、今日は、この機能の実装について取り上げたいと思います。</div><div><br /></div><div>皆さんご存知の通り、写真をカメラロールに保存する際に利用するAPIは・・・</div><div><textarea name="code" class="objc">
void UIImageWriteToSavedPhotosAlbum (
   UIImage  *image,
   id       completionTarget,
   SEL      completionSelector,
   void     *contextInfo
);
</textarea><br /></div><div><div>ですが、以下のような実装だけで終わらせている（保存完了のコールバックを設定していない）サンプルを実によく見かけます。</div><div><textarea name="code" class="objc">
UIImage *image = ...;
UIImageWriteToSavedPhotosAlbum(image, nil, nil, nil);
</textarea><br /></div><div><div>このような実装は、一見簡単でいいように見えますが、もし、このように実装してしまった場合、写真を保存し終わったことをアプリケーションが知る術がなくなってしまい、ちゃんと保存できたのかどうかを、アプリケーションで判断できなくなってしまいます。</div><div>処理が正常に終わったかどうかを確認するために、ちゃんとcompletionTargetとcompletionSelectorを設定するようにしましょう。</div><div><br /></div><div>そしてまた、保存処理中にアプリケーションを終了してしまったりすると、カメラロールに写真が保存できなかったり、サムネイルが保存されなかったりすることがあるため、 UIActivityIndicatorView などを使って保存処理中であることをユーザに対して示すような配慮をしてあげると良いと思います。</div><div><textarea name="code" class="objc">
{
    // UIActivityIndicatorViewなどを使ってユーザに処理中であることを示す。
    [self.activityIndicatorView startAnimating];

    // 写真をカメラロールに保存する
    UIImage *image = ...;
    UIImageWriteToSavedPhotosAlbum(
        image, 
        self,
        @selector(image:didFinishSavingWithError:contextInfo:), 
        nil);
    ...
}

// 保存完了時の処理
- (void)image:(UIImage *)image 
    didFinishSavingWithError:(NSError *)error 
    contextInfo: (void *) contextInfo {

    [self.activityIndicatorView stopAnimating];

    // エラーの場合には、エラー処理
    ...
}
</textarea></div><div><font class="Apple-style-span" color="#000000" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 11px;"><br /></span></font></div></div></div> ]]>
        
    </content>
</entry>

<entry>
    <title>Location Clip 1.2 を、一旦セルフリジェクトし、再提出しました。</title>
    <link rel="alternate" type="text/html" href="http://www.fourmeisters.com/iphone-lab/ja/2009/10/location-clip-12-1.html" />
    <id>tag:www.fourmeisters.com,2009:/iphone-lab/ja//14.362</id>

    <published>2009-10-27T03:10:31Z</published>
    <updated>2009-10-27T03:18:06Z</updated>

    <summary>表題の通り、先日、審査に提出した Location Clip 1.2 を、一旦、...</summary>
    <author>
        <name>hsato</name>
        
    </author>
    
        <category term="Location Clip" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="iPhone Application" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-us" xml:base="http://www.fourmeisters.com/iphone-lab/ja/">
        <![CDATA[表題の通り、先日、審査に提出した Location Clip 1.2 を、一旦、セルフリジェクトし、再提出しました。<div><br /><div>理由は、先日提出したアプリでは、カメラアイコンを使ったボタンをメイン画面に配置していたのですが、これでは、カメラのついていない iPod touch を利用しているユーザ様に誤解を与えるかもしれないため、これを修正したためです。</div><div><br /></div><div>お待たせして申し訳ありませんが、審査の間、しばらくお待ち頂ければと思います。</div><div><br /></div></div>]]>
        
    </content>
</entry>

<entry>
    <title>影付き画像（UIImage）を作成する。</title>
    <link rel="alternate" type="text/html" href="http://www.fourmeisters.com/iphone-lab/ja/2009/10/uiimage.html" />
    <id>tag:www.fourmeisters.com,2009:/iphone-lab/ja//14.361</id>

    <published>2009-10-23T01:00:30Z</published>
    <updated>2009-10-23T01:16:26Z</updated>

    <summary>Location Clip 1.2（現在審査中）では、写真を地図上に貼付ける機能...</summary>
    <author>
        <name>hsato</name>
        
    </author>
    
        <category term="Location Clip" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Programming" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="iPhone Application" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="iPhone Development" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="uiimage" label="UIImage" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://www.fourmeisters.com/iphone-lab/ja/">
        <![CDATA[<div>Location Clip 1.2（現在審査中）では、写真を地図上に貼付ける機能が追加されますが、今日は、この機能の中から、地図上に貼付ける画像に影を付ける部分の実装について取り上げたいと思います。</div><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><a href="http://www.fourmeisters.com/iphone-lab/ja/assets_c/2009/10/locationclip1_2-21.html" onclick="window.open('http://www.fourmeisters.com/iphone-lab/ja/assets_c/2009/10/locationclip1_2-21.html','popup','width=320,height=460,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.fourmeisters.com/iphone-lab/ja/assets_c/2009/10/locationclip1_2-thumb-160x230-21.jpg" width="160" height="230" alt="locationclip1_2.jpg" class="mt-image-none" style="" /></a></span><br /><div><br /></div><div>ポイントは以下の通りです。</div><div>- 作成する画像のサイズは、写真のサイズに影のサイズを加算したサイズにする。</div><div>- 影を付けるには、CGContextSetShadow（または、CGContextSetShadowWithColor）を使う。</div><div>- CGContextSetShadowで、グラフィックスコンテキストに対して、影を有効にした後、画像を描く。</div><div><br /></div><div>以下に、実装例を示します。</div><div>以下の実装例では、写真部分を 320 x 240px、影部分を 12px で出力するものとしています。</div><div><br /></div>
<textarea name="code" class="objc">- (void) imagePickerController:(UIImagePickerController *)picker 
 didFinishPickingMediaWithInfo:(NSDictionary *)info {

    UIImage *image = [info 
            objectForKey:UIImagePickerControllerOriginalImage];
    UIGraphicsBeginImageContext(CGSizeMake(320 + 12, 240 + 12));
    CGContextSetShadow(UIGraphicsGetCurrentContext(), 
                       CGSizeMake(6.0f, -6.0f), // offset
                       6.0f); // blur
    [image drawInRect:CGRectMake(0, 0, 320, 240)];
    UIImage *newImage = UIGraphicsGetImageFromCurrentImageContext();
    UIGraphicsEndImageContext();
    ...
}</textarea><div><br /></div> <div><br /></div><div><br /></div>]]>
        
    </content>
</entry>

<entry>
    <title>Location Clip 1.2 を審査に出しました。</title>
    <link rel="alternate" type="text/html" href="http://www.fourmeisters.com/iphone-lab/ja/2009/10/location-clip-12.html" />
    <id>tag:www.fourmeisters.com,2009:/iphone-lab/ja//14.360</id>

    <published>2009-10-21T05:19:12Z</published>
    <updated>2009-10-21T05:34:47Z</updated>

    <summary>表題の通り、Location Clip 1.2 を審査に出しました。今回のリリー...</summary>
    <author>
        <name>hsato</name>
        
    </author>
    
        <category term="Location Clip" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="iPhone Application" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-us" xml:base="http://www.fourmeisters.com/iphone-lab/ja/">
        <![CDATA[<div>表題の通り、Location Clip 1.2 を審査に出しました。</div><div><br /></div><div>今回のリリースでは、以下の機能が追加されています。</div><div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">- カメラ撮影した写真やフォトアルバムから選択した写真を地図上に貼付ける機能</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">- 緯度経度座標をクリップした地図画像の上部に付加する機能</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">- クリップした位置情報を履歴として保存する機能</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hiragino Kaku Gothic ProN'">- 履歴として保存した位置情報の検索機能、グルーピング機能、表示機能、復元機能</p></div><div><br /></div><div>審査が終わるまでの間、しばらくお待ちくださいませ。</div><div><br /></div>]]>
        
    </content>
</entry>

<entry>
    <title>iPhone Stencil Kitが届きました。</title>
    <link rel="alternate" type="text/html" href="http://www.fourmeisters.com/iphone-lab/ja/2009/10/iphone-stencil-kit-1.html" />
    <id>tag:www.fourmeisters.com,2009:/iphone-lab/ja//14.359</id>

    <published>2009-10-05T01:05:59Z</published>
    <updated>2009-10-05T01:41:33Z</updated>

    <summary>前回のエントリで、iPhone Stencil Kit を、発売元に直接発注した...</summary>
    <author>
        <name>kimada</name>
        
    </author>
    
        <category term="Tools" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="iPhone Development" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="iPhone Tips" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="iphonestencilkit" label="iPhone Stencil Kit" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://www.fourmeisters.com/iphone-lab/ja/">
        <![CDATA[<a href="http://www.fourmeisters.com/iphone-lab/ja/2009/09/iphone-stencil-kit.html">前回のエントリ</a>で、<a href="http://www.designcommission.com/shop/iphone-stencil-kit/">iPhone Stencil Kit</a> を、<a href="http://www.designcommission.com/shop/iphone-stencil-kit/">発売元</a>に直接発注したことを書きましたが、先週ようやく手元に届きました。<br /><br /><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><a href="http://www.fourmeisters.com/iphone-lab/ja/assets_c/2009/10/IMG_0062-18.html" onclick="window.open('http://www.fourmeisters.com/iphone-lab/ja/assets_c/2009/10/IMG_0062-18.html','popup','width=600,height=800,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.fourmeisters.com/iphone-lab/ja/assets_c/2009/10/IMG_0062-thumb-120x160-18.png" alt="IMG_0062.png" class="mt-image-none" style="" width="120" height="160" /></a></span><br /><div><br />タイミング的に円高傾向だったこともあってか、<span class="status-body">定価</span><span class="price">$16.95のところ</span><span class="status-body"><span class="entry-content">送料/手数料込みでも2793円と、金額的には日本で購入するときと、それほど大きく</span>変わりませんでした。</span><br /><br />付属物は、<br /><ul><li>0.7mmのシャープペンシル(写真右側の黄色いもの)</li><li>発売元ロゴのステッカー(裏側に隠れてる赤いもの)</li></ul>です。<br /><br />とりあえず、入手してみましたが、本当にこのようなアナログなツールを使ってデザインするのがいいのかどうかについては、何とも言えないところです ;-)<br /><br />なお、発売元のサイトから、このステンシルに合わせた用紙のテンプレートがダウンロードできます。<br /><br /><pre id="line1"><a href="http:///">iPhone Stencil Kit | Design Commission</a></pre>MS Officeなどで使えるクリップアートみたいなものの方が、現実的には利用価値があるかもしれませんね。<br /><br /></div>]]>
        
    </content>
</entry>

<entry>
    <title>iPhone Stencil Kitを注文してみました。</title>
    <link rel="alternate" type="text/html" href="http://www.fourmeisters.com/iphone-lab/ja/2009/09/iphone-stencil-kit.html" />
    <id>tag:www.fourmeisters.com,2009:/iphone-lab/ja//14.358</id>

    <published>2009-09-18T09:15:06Z</published>
    <updated>2009-09-18T09:29:05Z</updated>

    <summary>iPhone Stencil Kitが、act2.comで販売されていますが、現...</summary>
    <author>
        <name>kimada</name>
        
    </author>
    
        <category term="Tools" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="iPhone Development" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="iPhone Tips" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="iphonestencilkit" label="iPhone Stencil Kit" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://www.fourmeisters.com/iphone-lab/ja/">
        <![CDATA[<a href="http://www.designcommission.com/shop/iphone-stencil-kit/">iPhone Stencil Kit</a>が、<a href="http://www.act2.com/products/iphone-stencil.html">act2.com</a>で販売されていますが、現在、在庫切れになっているようです。<br /><br />米国の<a href="http://www.designcommission.com/shop/iphone-stencil-kit/">発売元のWebサイト</a>からも、購入できるようなので、先ほど注文してみました。<br />(<a href="https://www.paypal.com/j1">PayPal</a>のアカウントが必要です)<br /><br /><a href="http://www.designcommission.com/shop/iphone-stencil-kit/">iPhone Stencil Kit | Design Commission</a><br /><br />納期に関する情報が明示されていないので、いつ届くかわかりませんが、とりあえず待ってみることにします。<br /><br /><br /><br />]]>
        
    </content>
</entry>

</feed>
