<?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-9187333757492610886</id><updated>2024-08-30T05:05:37.235+09:00</updated><category term="Eclipse"/><category term="Android"/><category term="ADT"/><category term="Mac"/><category term="Windows"/><category term="CDT"/><category term="Eclox(Doxygen)"/><category term="Java"/><category term="C++"/><category term="CppUnit"/><category term="ECUT"/><category term="Git"/><category term="SVN"/><title type='text'>Kitsugi&#39;s Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://masahikokitsugi.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://masahikokitsugi.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Masahiko Kitsugi</name><uri>http://www.blogger.com/profile/10111770670048264628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizW6hBvJjwWmgxl4EZJdhpZe2aZr5kH3AwJ57ZN80yIVhY4n1H-2bxlr2Lbw4LvFAqoY07iF2STZzP1alOF2VMPocZpRASHHMZdfkdc0ujW3GWc7tcu2G2HppQaFIst0U/s220/P1020188.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>19</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9187333757492610886.post-4158076895057876114</id><published>2010-12-07T03:26:00.004+09:00</published><updated>2010-12-08T10:16:21.937+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ADT"/><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Eclipse"/><title type='text'>Android2.3 SDK アップデート手順</title><content type='html'>Android2.3(Gingerbread)がGoogleよりリリースされました。&lt;br /&gt;
あわせてADT(8.0.0)、SDK(2.3)、NDK(r5)もリリースされています。&lt;br /&gt;
ここではADTとSDKのEclipseで開発するためのバージョンアップ手順を紹介します。&lt;br /&gt;
&lt;br /&gt;
新規で開発環境をセットアップする場合は以下を参照してください。&lt;br /&gt;
&lt;a href=&quot;http://masahikokitsugi.blogspot.com/2010/05/eclipse-35-galileo-android-for-windows.html&quot;&gt;Windowsの場合&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://masahikokitsugi.blogspot.com/2010/02/eclipse-35-galileo-android.html&quot;&gt;MacOS Xの場合&lt;/a&gt;&lt;br /&gt;
Eclipse3.5でAndroid2.1の手順ですがほぼ同じです。&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;a href=&quot;http://developer.android.com/sdk/index.html&quot;&gt;ここ&lt;/a&gt;から最新のSDKを入手し、既存のSDKと置き換えてください。&lt;/li&gt;
&lt;li&gt;Eclipseを起動し、「Help」→「Install new Software...」をクリックし、インストール済みのADTを選択するか https://dl-ssl.google.com/android/eclipse を入力します。&lt;/li&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEie_u8qmj03EjlFTK39ZhdyygTzCiimoPyXH_-iA8vA0xA6WNszNbqMHGf2PruiRmC4AYDSr3vT-xG-94H8neSZDWmfWN9v-XVkzX1STRQzsTB50nQjszu3ysosFIHLN4VViK7DyZZOGeU/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588%25EF%25BC%25882010-12-07+2.35.28%25EF%25BC%2589.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;248&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEie_u8qmj03EjlFTK39ZhdyygTzCiimoPyXH_-iA8vA0xA6WNszNbqMHGf2PruiRmC4AYDSr3vT-xG-94H8neSZDWmfWN9v-XVkzX1STRQzsTB50nQjszu3ysosFIHLN4VViK7DyZZOGeU/s320/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588%25EF%25BC%25882010-12-07+2.35.28%25EF%25BC%2589.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;li&gt;DeveloperToolsが表示されるので、展開します。バージョンが8.0.0が確認できたらDeveloperToolsにチェックを入れ、「Next」をクリックします。&lt;/li&gt;
&lt;li&gt; 「accept」「Next」「Finish」でインストールを完了させます。ADTのバージョンアップは以上です。&lt;/li&gt;
&lt;li&gt;「Window」→「Android SDK and AVD Manager」を選択し、「Available Packages」を選びます。&lt;/li&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoK7XgUf28hk0fMYINO1wnoDsRiD-QUg4Lz6JoZtKtxZgg-EjrJYn1tPnLcUtvmwp34iJVZmj7wCyYJmb-EIJ76fc7fcbNVQxKdof-sedBtPJ8r5cVO2j4Nc1dJJcPaR9XdiZ3DxL-S9A/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588%25EF%25BC%25882010-12-07+2.54.39%25EF%25BC%2589.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;198&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoK7XgUf28hk0fMYINO1wnoDsRiD-QUg4Lz6JoZtKtxZgg-EjrJYn1tPnLcUtvmwp34iJVZmj7wCyYJmb-EIJ76fc7fcbNVQxKdof-sedBtPJ8r5cVO2j4Nc1dJJcPaR9XdiZ3DxL-S9A/s320/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588%25EF%25BC%25882010-12-07+2.54.39%25EF%25BC%2589.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;li&gt;Android RepositoryとThird party Add-onsにチェックを入れ「Install Selected」をクリックします。&lt;/li&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOxFLxZr63Y7c49G69NQftQ5-neTowb678bMT_n2wMdbGAxiUQGEVHvXBFyGj4WTeTtYarI0icodcESbiRhfbyf39tNKVX6XVfOXMw4hPtd7RZTctH5sksxDaJew6ySjmttwTnqQ2-4ac/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588%25EF%25BC%25882010-12-07+2.54.47%25EF%25BC%2589.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;175&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOxFLxZr63Y7c49G69NQftQ5-neTowb678bMT_n2wMdbGAxiUQGEVHvXBFyGj4WTeTtYarI0icodcESbiRhfbyf39tNKVX6XVfOXMw4hPtd7RZTctH5sksxDaJew6ySjmttwTnqQ2-4ac/s320/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588%25EF%25BC%25882010-12-07+2.54.47%25EF%25BC%2589.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;li&gt;「Accept All」を選択し「Install」をクリックすると、SDKのダウンロードとインストールが開始します。時間がかかりますが、これでアップデートは完了です。&lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;
Androidプロジェクトのビルドターゲットを最新（API Level 9）にして動作するか確かめましょう。</content><link rel='replies' type='application/atom+xml' href='http://masahikokitsugi.blogspot.com/feeds/4158076895057876114/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://masahikokitsugi.blogspot.com/2010/12/android23-sdk.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/4158076895057876114'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/4158076895057876114'/><link rel='alternate' type='text/html' href='http://masahikokitsugi.blogspot.com/2010/12/android23-sdk.html' title='Android2.3 SDK アップデート手順'/><author><name>Masahiko Kitsugi</name><uri>http://www.blogger.com/profile/10111770670048264628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizW6hBvJjwWmgxl4EZJdhpZe2aZr5kH3AwJ57ZN80yIVhY4n1H-2bxlr2Lbw4LvFAqoY07iF2STZzP1alOF2VMPocZpRASHHMZdfkdc0ujW3GWc7tcu2G2HppQaFIst0U/s220/P1020188.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEie_u8qmj03EjlFTK39ZhdyygTzCiimoPyXH_-iA8vA0xA6WNszNbqMHGf2PruiRmC4AYDSr3vT-xG-94H8neSZDWmfWN9v-XVkzX1STRQzsTB50nQjszu3ysosFIHLN4VViK7DyZZOGeU/s72-c/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588%25EF%25BC%25882010-12-07+2.35.28%25EF%25BC%2589.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9187333757492610886.post-6895352115115849515</id><published>2010-11-03T14:56:00.004+09:00</published><updated>2010-11-03T15:08:19.510+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>Android 静的に画面作成</title><content type='html'>次のような画面を作成してみます。&lt;br /&gt;
ボタンのサイズが不揃いなのは分かりやすくするためです。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimJjOM4qmntHhkfnhMPyx4ZBBds7xL4PKoz0CQGDxqN_JevdM7GxKF_bIhe_AR1zRIKUhxX40KV07-QSCXp1Vm3VGLW7O2NpdegVBhG4m9n5L0zxfOuT8N_Txd_v5wDq89uOZ1Trw2O7Y/s1600/device3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimJjOM4qmntHhkfnhMPyx4ZBBds7xL4PKoz0CQGDxqN_JevdM7GxKF_bIhe_AR1zRIKUhxX40KV07-QSCXp1Vm3VGLW7O2NpdegVBhG4m9n5L0zxfOuT8N_Txd_v5wDq89uOZ1Trw2O7Y/s320/device3.png&quot; width=&quot;192&quot; /&gt;&lt;/a&gt;&lt;/div&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;/div&gt;&lt;br /&gt;
Androidでは静的な画面の作成は XML で記述出来ます。&lt;br /&gt;
以下の XML が今回の画面を作成するために必要な記述です。&lt;br /&gt;
ちょっとごちゃごちゃしていますが、順を追って説明したいと思います。&lt;br /&gt;
&lt;pre class=&quot;xml&quot; name=&quot;code&quot;&gt;&lt;scrollview android:layout_height=&quot;fill_parent&quot; android:layout_width=&quot;fill_parent&quot; xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;&gt;

&lt;linearlayout android:layout_height=&quot;wrap_content&quot; android:layout_width=&quot;wrap_content&quot; android:orientation=&quot;vertical&quot;&gt;

 &lt;linearlayout android:gravity=&quot;fill_vertical&quot; android:layout_height=&quot;wrap_content&quot; android:layout_width=&quot;wrap_content&quot; android:orientation=&quot;horizontal&quot;&gt;  

  &lt;checkbox android:id=&quot;@+id/CheckBox_yaku01&quot; android:layout_height=&quot;wrap_content&quot; android:layout_width=&quot;wrap_content&quot;&gt;
  &lt;/checkbox&gt;

  &lt;textview android:gravity=&quot;center_vertical&quot; android:id=&quot;@+id/TextView1&quot; android:layout_height=&quot;wrap_content&quot; android:layout_width=&quot;wrap_content&quot; android:text=&quot;textview1&quot; android:textsize=&quot;20dip&quot;&gt;
  &lt;/textview&gt;

  &lt;button android:id=&quot;@+id/Button1&quot; android:layout_height=&quot;wrap_content&quot; android:layout_width=&quot;wrap_content&quot; android:text=&quot;Button1&quot; android:textsize=&quot;25dip&quot;&gt;
  &lt;/button&gt;

 &lt;/linearlayout&gt;

 &lt;linearlayout android:gravity=&quot;fill_vertical&quot; android:layout_height=&quot;wrap_content&quot; android:layout_width=&quot;wrap_content&quot; android:orientation=&quot;horizontal&quot;&gt;

  &lt;checkbox android:id=&quot;@+id/CheckBox2&quot; android:layout_height=&quot;wrap_content&quot; android:layout_width=&quot;wrap_content&quot;&gt;
  &lt;/checkbox&gt;

  &lt;textview android:gravity=&quot;center_vertical&quot; android:id=&quot;@+id/TextView2&quot; android:layout_height=&quot;55dip&quot; android:layout_width=&quot;100dip&quot; android:text=&quot;textview2&quot; android:textsize=&quot;20dip&quot;&gt;
  &lt;/textview&gt;

  &lt;button android:id=&quot;@+id/Button2&quot; android:layout_height=&quot;100dip&quot; android:layout_width=&quot;150dip&quot; android:text=&quot;Button2&quot; android:textsize=&quot;25dip&quot;&gt;
  &lt;/button&gt;

 &lt;/linearlayout&gt;

&lt;/linearlayout&gt;

&lt;/scrollview&gt;

&lt;/pre&gt;&lt;br /&gt;
1行目：&amp;lt; scrollview &amp;gt;&lt;br /&gt;
読んで字の如く画面をスクロールさせるために必要なタグになります。&lt;br /&gt;
今回の画面ではスクロールが発生することはありませんが、とりあえず配置しました。&lt;br /&gt;
このタグは33行目で閉じでいて、画面全体の最親要素となっています。&lt;br /&gt;
&lt;br /&gt;
3行目： &amp;lt; linearlayout &amp;gt;&lt;br /&gt;
このタグはAndroidでTextView、Buttonなどを綺麗に配置するためによく利用されるタグです。&lt;br /&gt;
キモとなるのは、その属性にある &lt;b style=&quot;color: blue;&quot;&gt;android:orientation&lt;/b&gt; です。&lt;br /&gt;
&lt;b&gt;android:orientation=&quot;&lt;span style=&quot;background-color: white; color: magenta;&quot;&gt;vertical&lt;/span&gt;&quot;&lt;/b&gt;とすると、linearlayoutの子要素が&lt;span style=&quot;color: magenta;&quot;&gt;縦方向&lt;/span&gt;に配置されます。&lt;br /&gt;
3行目の &amp;lt; linearlayout &amp;gt; は31行目で閉じられているので、全て縦方向に配置されることになります。&lt;br /&gt;
&lt;br /&gt;
しかし、画面を見ての通りcheckbox,textview,buttonは画面上に横方向に配置されています。&lt;br /&gt;
そこで&lt;br /&gt;
&lt;br /&gt;
5行目：&amp;lt; linearlayout &amp;gt;&lt;br /&gt;
ここのlinearlayoutは&lt;b&gt;android:orientation=&quot;&lt;span style=&quot;color: lime;&quot;&gt;horizontal&lt;/span&gt;&quot;&lt;/b&gt;になっています。&lt;br /&gt;
&quot;horizontal&quot;にすることにより、linearlayoutの子要素が&lt;span style=&quot;color: lime;&quot;&gt;横方向&lt;/span&gt;に配置されるようになります。&lt;br /&gt;
このlinearlayoutは16行目で閉じられており、5行目のlinearlayoutの子要素です。&lt;br /&gt;
よって、5〜16のlinearlayoutの子要素のcheckbox,textview1,button1は横方向に並んでいます。&lt;br /&gt;
&lt;br /&gt;
勘の良い人ならもうお気づきだと思います。&lt;br /&gt;
つまり、3〜31行目のlinearlayoutは5〜16行目と18〜29行目のlinearlayoutの&lt;b style=&quot;color: red;&quot;&gt;2つだけ&lt;/b&gt;を縦方向に並べていることになります。&lt;br /&gt;
&lt;br /&gt;
7,8行目：&amp;lt; checkbox &amp;gt;&lt;br /&gt;
チェックボックスです。5〜16行目のlinearlayoutの左側に配置されます。&lt;br /&gt;
&lt;br /&gt;
10,11行目：&amp;lt; textview &amp;gt;&lt;br /&gt;
テキストを表示するためのViewです。5〜16行目のlinearlayoutの真ん中に配置されます。&lt;br /&gt;
&lt;br /&gt;
13,14行目：&amp;lt; button &amp;gt;&lt;br /&gt;
ボタンです。5〜16行目のlinearlayoutの右側に配置されます。&lt;br /&gt;
&lt;br /&gt;
18〜29行目は5〜16行目の繰り返しです。&lt;br /&gt;
textview,buttonの大きさが違うのはそれぞれの属性にある android:layout_height と android:layout_width の値によるものです。&lt;br /&gt;
&lt;br /&gt;
5〜16行目内のtextview,buttonのそれぞれの値は全て&lt;b&gt;&quot;wrap_content&quot;&lt;/b&gt;となっています。このように設定すると、GUI要素を表示するための最小のサイズ、つまり表示しているテキストが表示されるのに最低のサイズです。&lt;br /&gt;
ちなみにここを&lt;b&gt;&quot;fill_parent&quot;&lt;/b&gt;とすると画面一杯のサイズになります。&lt;br /&gt;
&lt;br /&gt;
18〜29行目内のtextview,buttonは具体的なサイズを&quot;dip&quot;という単位で設定しています。&lt;br /&gt;
&lt;br /&gt;
今回の画面は説明のため、不格好ですが、android:layout_height と android:layout_width を揃えることによって、綺麗に配置できます。そろえるとこんな感じになります。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMvbk0AV44EOcD_IDoFZT2UXQ-koZQjFrZV6hfqWnAKrg_DC_nz5cs2jsnWxOAPaHKC1t_OgNX_8FTx2u4SfQ2UxGAQsze4_doXysNOf5djPeeq6ASpy2k28u6UAwxvCBfZ9c_1UD6DD0/s1600/device4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMvbk0AV44EOcD_IDoFZT2UXQ-koZQjFrZV6hfqWnAKrg_DC_nz5cs2jsnWxOAPaHKC1t_OgNX_8FTx2u4SfQ2UxGAQsze4_doXysNOf5djPeeq6ASpy2k28u6UAwxvCBfZ9c_1UD6DD0/s320/device4.png&quot; width=&quot;192&quot; /&gt;&lt;/a&gt;&lt;/div&gt;簡単な画面であれば、linearlayoutを使うことにより、かなりカバーできるのではないかと思います。&lt;br /&gt;
次回は今回静的に作成した画面を動的に作成する方法を紹介したいと思います。</content><link rel='replies' type='application/atom+xml' href='http://masahikokitsugi.blogspot.com/feeds/6895352115115849515/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://masahikokitsugi.blogspot.com/2010/11/android.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/6895352115115849515'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/6895352115115849515'/><link rel='alternate' type='text/html' href='http://masahikokitsugi.blogspot.com/2010/11/android.html' title='Android 静的に画面作成'/><author><name>Masahiko Kitsugi</name><uri>http://www.blogger.com/profile/10111770670048264628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizW6hBvJjwWmgxl4EZJdhpZe2aZr5kH3AwJ57ZN80yIVhY4n1H-2bxlr2Lbw4LvFAqoY07iF2STZzP1alOF2VMPocZpRASHHMZdfkdc0ujW3GWc7tcu2G2HppQaFIst0U/s220/P1020188.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimJjOM4qmntHhkfnhMPyx4ZBBds7xL4PKoz0CQGDxqN_JevdM7GxKF_bIhe_AR1zRIKUhxX40KV07-QSCXp1Vm3VGLW7O2NpdegVBhG4m9n5L0zxfOuT8N_Txd_v5wDq89uOZ1Trw2O7Y/s72-c/device3.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9187333757492610886.post-3237664043831492066</id><published>2010-07-14T01:24:00.000+09:00</published><updated>2010-07-14T01:24:38.717+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>Android アプリでSDカードを使う方法</title><content type='html'>AndroidアプリでSDカードにデータを読み書きする方法です。&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;エミュレータでは必要ありませんが、実機でSDカードを使用する場合は以下のコードを AndroidManifest.xml に記述します。この記述がないと例えばファイル書き込みをした際に FileNotFoundException がthrowされます。権限がないのです。&lt;/li&gt;

&lt;pre class=&quot;xml&quot; name=&quot;code&quot;&gt;&lt;uses-permission android:name=&quot;android.permission.WRITE_EXTERNAL_STORAGE&quot;&gt;
&lt;/uses-permission&gt;&lt;/pre&gt;
&lt;li&gt;あとは普通にファイル入出力するだけです。以下はファイル書き込みのサンプルです。注意点はSDカードのパスです。パスは /sdcard/ です。&lt;/li&gt;

&lt;pre class=&quot;java&quot; name=&quot;code&quot;&gt;import java.io.BufferedWriter;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;

import android.app.Activity;

private void save() throws IOException {

    String fileName = &quot;/sdcard/&quot; + getPackageName() + &quot;/sample.txt&quot;;

    File file = new File(fileName);
    file.getParentFile().mkdir();

    FileOutputStream fos = new FileOutputStream(file, true);
    OutputStreamWriter osw = new OutputStreamWriter(fos, &quot;UTF-8&quot;);
    BufferedWriter bw = new BufferedWriter(osw);

    bw.write(&quot;ファイル書き込みテスト&quot;);
    bw.flush();
    bw.close();
}
&lt;/pre&gt;
&lt;li&gt;作成されたか DDMS の File Explorer で見てみましょう。getPackageName()でパッケージ名をディレクトリ名に指定しているので、サンプルでは sdcard/com.kitsugim/sample.txt となっています。&lt;/li&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmgl4EAU7ygms9LfSVdjsJQBiIdcV70-qIExvbq2n5_ZPNrOz0fRVK4pu4RG2ZbD08UYqfTfOTG2Ejs7yvDPm7frBvOGqtgtHLt3GXIA0ZFIPOhI0wWAoL01kgnVxA0Xy8jmQH4vMwWNM/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882010-07-14+1.12.06%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmgl4EAU7ygms9LfSVdjsJQBiIdcV70-qIExvbq2n5_ZPNrOz0fRVK4pu4RG2ZbD08UYqfTfOTG2Ejs7yvDPm7frBvOGqtgtHLt3GXIA0ZFIPOhI0wWAoL01kgnVxA0Xy8jmQH4vMwWNM/s320/%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-07-14+1.12.06%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;li&gt;ファイルは出来ているようなので、最後にちゃんと書き込みが出来ているかの確認です。同じくDDMS の FileExplorer からファイルをPCに保存できるので、保存してからテキストエディタで開いてみます。 &lt;/li&gt;
&lt;/ol&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHgW-Quh35zppzUD5PV_R-zSInyJuuSP3GeN4AZgJSWSfkxCH7qLR0qVYweQavTYrjzhqPOz4V64uBFz02R43h8d4n4cgbocUsn7_55pFE6eIZ-iSrg3qe5NCmuwpnfaRbGnNAKUuToqo/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882010-07-14+1.19.12%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHgW-Quh35zppzUD5PV_R-zSInyJuuSP3GeN4AZgJSWSfkxCH7qLR0qVYweQavTYrjzhqPOz4V64uBFz02R43h8d4n4cgbocUsn7_55pFE6eIZ-iSrg3qe5NCmuwpnfaRbGnNAKUuToqo/s320/%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-07-14+1.19.12%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
はい、ちゃんと書き込みもできてます。</content><link rel='replies' type='application/atom+xml' href='http://masahikokitsugi.blogspot.com/feeds/3237664043831492066/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://masahikokitsugi.blogspot.com/2010/07/android-sd.html#comment-form' title='1 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/3237664043831492066'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/3237664043831492066'/><link rel='alternate' type='text/html' href='http://masahikokitsugi.blogspot.com/2010/07/android-sd.html' title='Android アプリでSDカードを使う方法'/><author><name>Masahiko Kitsugi</name><uri>http://www.blogger.com/profile/10111770670048264628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizW6hBvJjwWmgxl4EZJdhpZe2aZr5kH3AwJ57ZN80yIVhY4n1H-2bxlr2Lbw4LvFAqoY07iF2STZzP1alOF2VMPocZpRASHHMZdfkdc0ujW3GWc7tcu2G2HppQaFIst0U/s220/P1020188.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmgl4EAU7ygms9LfSVdjsJQBiIdcV70-qIExvbq2n5_ZPNrOz0fRVK4pu4RG2ZbD08UYqfTfOTG2Ejs7yvDPm7frBvOGqtgtHLt3GXIA0ZFIPOhI0wWAoL01kgnVxA0Xy8jmQH4vMwWNM/s72-c/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882010-07-14+1.12.06%EF%BC%89.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9187333757492610886.post-6673860562461443588</id><published>2010-07-07T00:48:00.000+09:00</published><updated>2010-07-07T00:48:19.675+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C++"/><category scheme="http://www.blogger.com/atom/ns#" term="CDT"/><category scheme="http://www.blogger.com/atom/ns#" term="Eclipse"/><title type='text'>Eclipse 3.6 Herios で C/C++ 開発</title><content type='html'>Eclipse3.6 Herios に C++ 開発環境を整えるには２つ方法があります。&lt;br /&gt;
１つ目はとっても簡単。Eclipseのダウンロードページに C++ 開発環境入りのEclipseが提供されていますので、&lt;a href=&quot;http://www.eclipse.org/downloads/&quot;&gt;こちら&lt;/a&gt;で &lt;span class=&quot;title&quot;&gt;Eclipse IDE for C/C++ Developers&lt;/span&gt; をダウンロードするだけ。&lt;br /&gt;
&lt;br /&gt;
これをダウンロードしなかった人はプラグインの CDT をインストールする必要があります。こちらも手順は非常にシンプルです。&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Eclipseを起動し、「Help」→「Install New Software...」を選択します。&lt;/li&gt;
&lt;li&gt;ドロップダウンに Helios - http://download.eclipse.org/releases/helios があるので選択します。&lt;/li&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2KQRdNCJ-oPMZCo69s1SDHll-7jsqykfUhIakv0ahsfGZ9SytqDKi5SL_aKLJvIG4edu6nSY7Lfk83LyDSw96C6uxmEx-_pCa8tS2D1_tCema311UCAh9700-3fJNmFQQ1RQW2cMSS8E/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882010-07-07+0.40.02%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2KQRdNCJ-oPMZCo69s1SDHll-7jsqykfUhIakv0ahsfGZ9SytqDKi5SL_aKLJvIG4edu6nSY7Lfk83LyDSw96C6uxmEx-_pCa8tS2D1_tCema311UCAh9700-3fJNmFQQ1RQW2cMSS8E/s320/%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-07-07+0.40.02%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;li&gt;いくつかプラグインのリストが表示されますが、今回はCDTをインストールしたいので、「Programing Language」→「C/C++ Development Tools」にチェックを入れ[Next]をクリック。&lt;/li&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgApTMwTQqeeoggPqbjmLqd0f3AKMEs-U9jr4-r6k_Xgo-c23mJ5hTBumEoxhJb6WXQZ20YweWVMmsmSfcG6ncfmkRcMggAGyrDNSh3hRSCh1pe0gROkgNsePWwa43eUBgOXGGm5Epsf9w/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882010-07-07+0.42.49%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgApTMwTQqeeoggPqbjmLqd0f3AKMEs-U9jr4-r6k_Xgo-c23mJ5hTBumEoxhJb6WXQZ20YweWVMmsmSfcG6ncfmkRcMggAGyrDNSh3hRSCh1pe0gROkgNsePWwa43eUBgOXGGm5Epsf9w/s320/%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-07-07+0.42.49%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;li&gt;次の画面でも[NEXT]&lt;/li&gt;
&lt;li&gt;I accept the terms of the license agreement を選択し、[Finish]をクリック。&lt;/li&gt;
&lt;li&gt;インストールが完了すると、再起動しろと言われるので[Restart Now]をクリックして終了です。&lt;/li&gt;
&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://masahikokitsugi.blogspot.com/feeds/6673860562461443588/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://masahikokitsugi.blogspot.com/2010/07/eclipse-36-herios-cc.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/6673860562461443588'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/6673860562461443588'/><link rel='alternate' type='text/html' href='http://masahikokitsugi.blogspot.com/2010/07/eclipse-36-herios-cc.html' title='Eclipse 3.6 Herios で C/C++ 開発'/><author><name>Masahiko Kitsugi</name><uri>http://www.blogger.com/profile/10111770670048264628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizW6hBvJjwWmgxl4EZJdhpZe2aZr5kH3AwJ57ZN80yIVhY4n1H-2bxlr2Lbw4LvFAqoY07iF2STZzP1alOF2VMPocZpRASHHMZdfkdc0ujW3GWc7tcu2G2HppQaFIst0U/s220/P1020188.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2KQRdNCJ-oPMZCo69s1SDHll-7jsqykfUhIakv0ahsfGZ9SytqDKi5SL_aKLJvIG4edu6nSY7Lfk83LyDSw96C6uxmEx-_pCa8tS2D1_tCema311UCAh9700-3fJNmFQQ1RQW2cMSS8E/s72-c/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882010-07-07+0.40.02%EF%BC%89.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9187333757492610886.post-9196836132175681133</id><published>2010-07-07T00:16:00.002+09:00</published><updated>2010-07-08T01:23:51.502+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ADT"/><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Eclipse"/><category scheme="http://www.blogger.com/atom/ns#" term="Mac"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>Eclipse 3.6 Herios で Android 環境構築</title><content type='html'>いつの間にか Eclipse3.6 Herios がリリースされてました。&lt;br /&gt;
早速、最新のEclipseにAndroidの開発環境を整えます。&lt;br /&gt;
手順は........Eclipse3.5と全く同じです。&lt;br /&gt;
ということで、手順は以前書いております。下記リンク先の手順３からがADTのインストール方法です。&lt;br /&gt;
&lt;a href=&quot;http://masahikokitsugi.blogspot.com/2010/05/eclipse-35-galileo-android-for-windows.html&quot;&gt;Windowsの場合&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://masahikokitsugi.blogspot.com/2010/02/eclipse-35-galileo-android.html&quot;&gt;MacOS Xの場合&lt;/a&gt;&lt;br /&gt;
WinもMacもほとんど違いはないんですけどね。</content><link rel='replies' type='application/atom+xml' href='http://masahikokitsugi.blogspot.com/feeds/9196836132175681133/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://masahikokitsugi.blogspot.com/2010/07/eclipse-36-herios-android.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/9196836132175681133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/9196836132175681133'/><link rel='alternate' type='text/html' href='http://masahikokitsugi.blogspot.com/2010/07/eclipse-36-herios-android.html' title='Eclipse 3.6 Herios で Android 環境構築'/><author><name>Masahiko Kitsugi</name><uri>http://www.blogger.com/profile/10111770670048264628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizW6hBvJjwWmgxl4EZJdhpZe2aZr5kH3AwJ57ZN80yIVhY4n1H-2bxlr2Lbw4LvFAqoY07iF2STZzP1alOF2VMPocZpRASHHMZdfkdc0ujW3GWc7tcu2G2HppQaFIst0U/s220/P1020188.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9187333757492610886.post-4470180169748369240</id><published>2010-06-06T17:06:00.001+09:00</published><updated>2010-06-06T17:10:57.868+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Eclipse"/><category scheme="http://www.blogger.com/atom/ns#" term="Mac"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>Android Emulator に実行ファイルがインストールされない！？</title><content type='html'>&lt;a href=&quot;http://masahikokitsugi.blogspot.com/2010/02/android-hello-world.html&quot;&gt;以前の記事&lt;/a&gt;で Emulator を使ってアプリケーションの動かし方を説明しました。Emulatorを作成して最初の実行時には何の問題もなく動いていましたが、たまに変な動きをしだすようになりました。&lt;br /&gt;
&lt;br /&gt;
どんな現象かというと、コードを変更して再度 Emulator の起動から実行すると、変更したコード（実行ファイル）が Emulator に反映されていないっぽいのです。&lt;br /&gt;
&lt;br /&gt;
通常 Eclipse 上から Emulator を実行すると&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Emulatorが起動する&lt;/li&gt;
&lt;li&gt;実行ファイル（.apkファイル）がインストールされる&lt;/li&gt;
&lt;/ol&gt;という手順で Emulator 上で実行することができます。&lt;br /&gt;
&lt;br /&gt;
通常 Emulator 起動後に Eclipse のコンソールにはアプリケーションのインストールを開始する旨のメッセージ、&lt;br /&gt;
&lt;div style=&quot;color: blue;&quot;&gt;Uploading &lt;b&gt;hogehoge.apk&lt;/b&gt; onto device &#39;emulator-&lt;b&gt;XXXX&lt;/b&gt;&#39;&lt;/div&gt;&lt;div style=&quot;color: blue;&quot;&gt;Installing &lt;b&gt;hogehoge.apk&lt;/b&gt;...&lt;/div&gt;&lt;span style=&quot;color: blue;&quot;&gt;成功!&lt;/span&gt;&lt;br /&gt;
と出力されます。&lt;br /&gt;
&lt;br /&gt;
私が遭遇した現象は Emulator の起動までは問題ないのですが、起動後にいくら待っても実行ファイルのインストールが始まりません。&lt;br /&gt;
&lt;br /&gt;
これが仕様なのかなんかのかは関係なく、結構悩んだので対処法を書きます。&lt;br /&gt;
対処法は非常に簡単で、&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Emulator が起動している状態&lt;/b&gt;で Eclipse からもう一回実行するだけ。&lt;br /&gt;
&lt;br /&gt;
実行すると Android Device Chooser が立ち上がり、現在起動中のデバイス（ここではEmulator）が表示されるので、選択して [OK] をクリックします。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiELZFLwGICXflaYn2qL_axcbvzn6g3b2nK8bIwjf-nC9Pjtb92Qt_5agKmJLBIETQgiUCBFlKMRjD_HY8wNQWbbFG7zUkCeJSnJffZg8nWaC_JjQY8FiutddsI2_4IDFYegA5hi_3wZ0s/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882010-06-06+16.33.04%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiELZFLwGICXflaYn2qL_axcbvzn6g3b2nK8bIwjf-nC9Pjtb92Qt_5agKmJLBIETQgiUCBFlKMRjD_HY8wNQWbbFG7zUkCeJSnJffZg8nWaC_JjQY8FiutddsI2_4IDFYegA5hi_3wZ0s/s320/%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-06-06+16.33.04%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
こうすると実行ファイルのインストールだけ行います。&lt;br /&gt;
この「Emulator が起動している状態」という考えが今まで無かったので、毎回長い時間 Emulator の起動を待って、挙句には実行ファイルがインストールされないという状態にイライラしていたのです。&lt;br /&gt;
&lt;br /&gt;
この方法でインストールされなかったことは１度もありませんが、もしこれでもダメな場合は、ターミナル（Windowsはコマンドプロンプト）から直接コマンドを実行する手もあります。 ではコマンドで実行する手順を Emulator の起動から紹介します。&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;『emulator @&lt;b&gt;エミュレータ名&lt;/b&gt;』を入力します。エミュレータ名はエミュレータ作成した際に自分で付けた名前です。&lt;/li&gt;
&lt;li&gt; Emulator の起動を待ちましょう。以下の画面が表示されたら起動完了です。&lt;/li&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj97TgdUqWGHCZOb4Vo_JeQYfHHWXQyOXSdEEp7F8NibZMaa6ls1MC7ltRIu5mXK09HNJ1c63v9IaNzwgXnAyh3tpc_TI4aVG7cex-MlBY-TJMt8kH5pnvMwg4vwNRU2UYj31IwMnXHLIY/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882010-06-06+16.50.05%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj97TgdUqWGHCZOb4Vo_JeQYfHHWXQyOXSdEEp7F8NibZMaa6ls1MC7ltRIu5mXK09HNJ1c63v9IaNzwgXnAyh3tpc_TI4aVG7cex-MlBY-TJMt8kH5pnvMwg4vwNRU2UYj31IwMnXHLIY/s320/%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-06-06+16.50.05%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;li&gt;現在開いているターミナル（コマンドプロンプト）はそのままにして、&lt;b&gt;新規にターミナル（コマンドプロンプト）を開きます&lt;/b&gt;。 &lt;/li&gt;
&lt;li&gt;インストールコマンド『adb install -r &lt;b&gt;hogehoge.apk&lt;/b&gt;』を入力します。&lt;/li&gt;
&lt;/ol&gt;インストールコマンドの説明をします。&lt;br /&gt;
-r は既に同じアプリケーションがインストールされていた場合は上書きする。という意味です。新規でインストールする際は付けなくても良いですが付けても問題ないです。上書きの際は付けないとインストールできません。&lt;br /&gt;
最後に実行ファイル名をフルパスで指定します。Eclipse で開発をしている場合は、ワークスペースの bin ディレクトリに作成されるのでそれを指定しましょう。&lt;br /&gt;
&lt;br /&gt;
インストールコマンドを実行すると以下のメッセージが表示されます。&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;486 KB/s (24129 bytes in 0.048s)&lt;/span&gt;&lt;br style=&quot;color: blue;&quot; /&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pkg: /data/local/tmp/&lt;/span&gt;&lt;b style=&quot;color: blue;&quot;&gt;hogehoge.apk&lt;/b&gt;&lt;br style=&quot;color: blue;&quot; /&gt;&lt;span style=&quot;color: blue;&quot;&gt;Success&lt;/span&gt;&lt;br /&gt;
１行目はおそらく転送速度が表示されているので、毎回数値が異なります。&lt;br /&gt;
２行目はインストール先です。Androidのアプリケーションはファイルシステムの/data/local/tmpにインストールされます。&lt;br /&gt;
&lt;br /&gt;
Eclipseでインストールする場合もコマンドでインストール場合も Emulator は常に起動したままで構いません。Emulator の起動は遅いので待ってられませんもんね。</content><link rel='replies' type='application/atom+xml' href='http://masahikokitsugi.blogspot.com/feeds/4470180169748369240/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://masahikokitsugi.blogspot.com/2010/06/android-emulator.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/4470180169748369240'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/4470180169748369240'/><link rel='alternate' type='text/html' href='http://masahikokitsugi.blogspot.com/2010/06/android-emulator.html' title='Android Emulator に実行ファイルがインストールされない！？'/><author><name>Masahiko Kitsugi</name><uri>http://www.blogger.com/profile/10111770670048264628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizW6hBvJjwWmgxl4EZJdhpZe2aZr5kH3AwJ57ZN80yIVhY4n1H-2bxlr2Lbw4LvFAqoY07iF2STZzP1alOF2VMPocZpRASHHMZdfkdc0ujW3GWc7tcu2G2HppQaFIst0U/s220/P1020188.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiELZFLwGICXflaYn2qL_axcbvzn6g3b2nK8bIwjf-nC9Pjtb92Qt_5agKmJLBIETQgiUCBFlKMRjD_HY8wNQWbbFG7zUkCeJSnJffZg8nWaC_JjQY8FiutddsI2_4IDFYegA5hi_3wZ0s/s72-c/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882010-06-06+16.33.04%EF%BC%89.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9187333757492610886.post-7397193106167394074</id><published>2010-05-23T00:50:00.008+09:00</published><updated>2010-06-12T19:02:22.191+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ADT"/><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Eclipse"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>Android 環境構築 for Windows(Android SDKとADTのインストール)</title><content type='html'>手順１：&lt;a href=&quot;http://masahikokitsugi.blogspot.com/2010/05/java-for-windows.html&quot;&gt;Android 環境構築 for Windows(JREとJDTのインストール)&lt;/a&gt;&lt;br /&gt;
手順２：&lt;a href=&quot;http://masahikokitsugi.blogspot.com/2010/05/eclipse-35-galileo-for-windows.html&quot;&gt;Android 環境構築 for Windows(Eclipseインストール)&lt;/a&gt;&lt;br /&gt;
手順３：Android 環境構築 for Windows(Android SDKとADTのインストール)&lt;ol&gt;&lt;/ol&gt;&lt;ol&gt;&lt;/ol&gt;Androidアプリ開発環境構築手順の最後になりました。今回はAndroid SDKとADTのインストールを行います。 &lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;a href=&quot;http://developer.android.com/intl/ja/sdk/index.html&quot;&gt;Android  Developers&lt;/a&gt; で SDK  のダウンロードし、C:¥android に解凍します。フォルダがない場合は作成してください。&lt;/li&gt;
&lt;li&gt;環境変数を設定します。マイコンピュータを右クリックしてプロパティを選びます。「詳細設定」タブを選び「環境変数」ボタンをクリックします。システム環境変数にある『Path』を選択し[編集]をクリックします。変数値には既に値が入っていると思いますので一番後ろに&lt;b&gt;;C:¥android¥android-sdk-windows¥tools&lt;/b&gt;と入力します。頭の&lt;b&gt;;&lt;/b&gt;（セミコロン） を忘れずに！「OK」クリックで終了です。&lt;/li&gt;
&lt;li&gt;Eclipseに「Android Development Tools（ADT）」プラグインをインストールします。「ヘルプ」→「新規ソフトウェアのインストール...」でインストールダイアログが表示されるの で、[追加]ボタンをクリックします。 &lt;/li&gt;
&lt;li&gt;サイトの追加ダイアログが表示されるので、ロケーションに「https://dl-ssl.google.com/android/eclipse/」か 「http://dl-ssl.google.com/android/eclipse/」を入力し、OKボタンをクリックします。（名前は何でも構いません。）&lt;/li&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFrRkzNL8Oe_C4fHs7FNPFJ3n4Sh5QpQnyWVyxIh3JSVD6GuyLeSPtYpM6A2GV9Em9z1ZVOdrLYtjxUaAzDnBpuQasRByiXyTQWa57RqW6WGQKP9KTAqSFKyNhj4Fs5OWMLK0zo3lqPaM/s1600-h/%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-02-17+23.11.13%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFrRkzNL8Oe_C4fHs7FNPFJ3n4Sh5QpQnyWVyxIh3JSVD6GuyLeSPtYpM6A2GV9Em9z1ZVOdrLYtjxUaAzDnBpuQasRByiXyTQWa57RqW6WGQKP9KTAqSFKyNhj4Fs5OWMLK0zo3lqPaM/s320/%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-02-17+23.11.13%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;li&gt;Developer Toolsにチェックを付け、[次へ]をクリックします。&lt;/li&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhx3Nlnabc7RInLxKlM0MR8IGwG-cS7kHaUJglSQ_ZZ9c3LF0M2pXnnJy0T01MbX3gLC0yjOH81uuHlo6QNXiw4JvvO6Q754_nPQCyC8pRw8hmvYsxiGy0Et-BxrQBtaHbAHmhTRKBoTlA/s1600-h/%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-02-17+23.11.44%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhx3Nlnabc7RInLxKlM0MR8IGwG-cS7kHaUJglSQ_ZZ9c3LF0M2pXnnJy0T01MbX3gLC0yjOH81uuHlo6QNXiw4JvvO6Q754_nPQCyC8pRw8hmvYsxiGy0Et-BxrQBtaHbAHmhTRKBoTlA/s320/%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-02-17+23.11.44%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;li&gt;インストール詳細ウィンドウが開くのでそのまま[次へ]をクリックします。&lt;/li&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxVWK-JzxM4dKFhscPUEBSPtTl8BDouxVYk574pI_GwL6DbEI1iQoPYLgehhK4D2SBWO0anwdu40IWv2_txIYfVOf-pWTnI3powkkqBOy1Aqh0B6yN64AClleCZVSFJWTACAJCtvKVKUo/s1600-h/%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-02-17+23.12.00%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxVWK-JzxM4dKFhscPUEBSPtTl8BDouxVYk574pI_GwL6DbEI1iQoPYLgehhK4D2SBWO0anwdu40IWv2_txIYfVOf-pWTnI3powkkqBOy1Aqh0B6yN64AClleCZVSFJWTACAJCtvKVKUo/s320/%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-02-17+23.12.00%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;li&gt;「使用条件の条項に同意します」を選択し、[完了]をクリックします。終了したらEclipseを再起動します。&lt;/li&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoOGGYhxXqDyjihe7GW4BzZEkLGDvrrF1rPAVTqBuxWFFm4rxCzah6-LVcCnhsVBzzR1rSN28QoHYPBaC0vQvf3_OSq3Ju3lbkNY3bYujvsa1f-Q9dd_yb64V0OoK0T1_5JpY3qZHpRw8/s1600-h/%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-02-17+23.12.08%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoOGGYhxXqDyjihe7GW4BzZEkLGDvrrF1rPAVTqBuxWFFm4rxCzah6-LVcCnhsVBzzR1rSN28QoHYPBaC0vQvf3_OSq3Ju3lbkNY3bYujvsa1f-Q9dd_yb64V0OoK0T1_5JpY3qZHpRw8/s320/%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-02-17+23.12.08%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;li&gt;「ウィンドウ」→「設定」→「Android」でSDKロケーションに解凍した SDK のディレクトリ（C:¥android¥android-sdk-windows）を指定します。&lt;/li&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhzIbx2tF1mUJqTMukentyPka2hLA0NG2EU6KrxcMfPXxErXfH3lm9O2hejpipy_MV0RYfxWC5SzHE4voIewTpLML2pywEw7bxbE0Gh0ULZRgmeKSSYNGYdcuW-EH8Ua27RmOn6miIprA/s1600/sdksetting.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhzIbx2tF1mUJqTMukentyPka2hLA0NG2EU6KrxcMfPXxErXfH3lm9O2hejpipy_MV0RYfxWC5SzHE4voIewTpLML2pywEw7bxbE0Gh0ULZRgmeKSSYNGYdcuW-EH8Ua27RmOn6miIprA/s320/sdksetting.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;li&gt;「ウィンドウ」→「Android SDK and AVD Manager」を選択します。&lt;/li&gt;
&lt;li&gt;Available Package を選択し、右側のチェックボックスにチェックし、[Install Selected]をクリックします。&lt;/li&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkHwBQRZBrKUcrvi9knm3s5uo0qLHQVfqAT568s6-qMh_SM5Way7PXOnRnvZKxRlUL1f_steLUz5H275mY1CoFf6I16rg07p2A9IlovvmPG-xSnb-m1o0YgoRIC_GluWwJMGC5zHIP1Jw/s1600/sdkinnstall.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkHwBQRZBrKUcrvi9knm3s5uo0qLHQVfqAT568s6-qMh_SM5Way7PXOnRnvZKxRlUL1f_steLUz5H275mY1CoFf6I16rg07p2A9IlovvmPG-xSnb-m1o0YgoRIC_GluWwJMGC5zHIP1Jw/s320/sdkinnstall.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;li&gt;Accept All を選択し、[インストール]をクリックします。結構時間がかかります。&lt;/li&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKnDPkXbBMztcIp0PCQ3YWV-w3Kg1w7tI4yWrV0vZ62nlPlzWlSxRFrq4TSb8_qb6ld2q4uAIYHjWN_gksmVKoteT3XPcTFgMjl_mvetiDG9QoSx9hnsk4CVXaLKrm-fnbxtuR_I9GyOw/s1600/sdkaccept.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKnDPkXbBMztcIp0PCQ3YWV-w3Kg1w7tI4yWrV0vZ62nlPlzWlSxRFrq4TSb8_qb6ld2q4uAIYHjWN_gksmVKoteT3XPcTFgMjl_mvetiDG9QoSx9hnsk4CVXaLKrm-fnbxtuR_I9GyOw/s320/sdkaccept.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;li&gt;エミュレータの設定を行うため、もう一度「ウィンドウ」→「Android SDK and AVD Manager」を選択します。&lt;/li&gt;
&lt;li&gt;Virtual Device で[新規]をクリックし、エミュレータの設定を行います。名前は任意ですがどのバージョンに設定するかわかりやすい名前が良いと思います。ここでは VirtualDevice2.2とします。ターゲットは Google APIs(Google Inc.) - API Level 8 を選択しました。[Create AVD]をクリックします。エミュレータの追加が行われたのが確認出来ると思います。エミュレータの設定は作成するバージョンに合わせた方が良いので特にここで設定しなくても大丈夫です。Android 2.1のプロジェクトを動かす場合はエミュレータもそれに合わせた方が良いでしょう。&lt;/li&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWp08SzcBEO-Yzlb5zgjAZ3ebhX4asEA7FKguYKD3b2V5m1q0oxlJiasR9O1Kfxt7h5oxI0G9kF4RtQS0zXzwwevaGmLR800AwWftv9pPgwRhwR4pENg3huJlyOCh_bn2J1gimEDl6igg/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882010-05-23+1.01.53%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWp08SzcBEO-Yzlb5zgjAZ3ebhX4asEA7FKguYKD3b2V5m1q0oxlJiasR9O1Kfxt7h5oxI0G9kF4RtQS0zXzwwevaGmLR800AwWftv9pPgwRhwR4pENg3huJlyOCh_bn2J1gimEDl6igg/s320/%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-05-23+1.01.53%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/ol&gt;これでEclipseでAndroid開発環境の構築が完了しました。&lt;br /&gt;
気づいた方もいるかもしれませんが、ここに載せてある画像のほとんどがMacの画像になっています。Eclipseの設定なんで実はあまり変わらないんですよね。（全く同じにしてくれれば良いのに・・・）&lt;br /&gt;
&lt;br /&gt;
それではおなじみの&lt;a href=&quot;http://masahikokitsugi.blogspot.com/2010/02/android-hello-world.html&quot;&gt;お試しプロジェクトを作成&lt;/a&gt;してみましょう。</content><link rel='replies' type='application/atom+xml' href='http://masahikokitsugi.blogspot.com/feeds/7397193106167394074/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://masahikokitsugi.blogspot.com/2010/05/eclipse-35-galileo-android-for-windows.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/7397193106167394074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/7397193106167394074'/><link rel='alternate' type='text/html' href='http://masahikokitsugi.blogspot.com/2010/05/eclipse-35-galileo-android-for-windows.html' title='Android 環境構築 for Windows(Android SDKとADTのインストール)'/><author><name>Masahiko Kitsugi</name><uri>http://www.blogger.com/profile/10111770670048264628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizW6hBvJjwWmgxl4EZJdhpZe2aZr5kH3AwJ57ZN80yIVhY4n1H-2bxlr2Lbw4LvFAqoY07iF2STZzP1alOF2VMPocZpRASHHMZdfkdc0ujW3GWc7tcu2G2HppQaFIst0U/s220/P1020188.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFrRkzNL8Oe_C4fHs7FNPFJ3n4Sh5QpQnyWVyxIh3JSVD6GuyLeSPtYpM6A2GV9Em9z1ZVOdrLYtjxUaAzDnBpuQasRByiXyTQWa57RqW6WGQKP9KTAqSFKyNhj4Fs5OWMLK0zo3lqPaM/s72-c/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882010-02-17+23.11.13%EF%BC%89.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9187333757492610886.post-9141290983669165280</id><published>2010-05-22T23:53:00.007+09:00</published><updated>2010-06-12T19:00:48.249+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Eclipse"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>Android 環境構築 for Windows(Eclipseのインストール)</title><content type='html'>手順１：&lt;a href=&quot;http://masahikokitsugi.blogspot.com/2010/05/java-for-windows.html&quot;&gt;Android 環境構築 for Windows(JREとJDTのインストール)&lt;/a&gt;&lt;br /&gt;
手順２：Android 環境構築 for Windows(Eclipseのインストール)&lt;br /&gt;
手順３：&lt;a href=&quot;http://masahikokitsugi.blogspot.com/2010/05/eclipse-35-galileo-android-for-windows.html&quot;&gt;Android 環境構築 for Windows(Android SDKとADTのインストール)&lt;/a&gt;&lt;br /&gt;
&lt;ol&gt;&lt;/ol&gt;次は統合開発環境であるEclipseをインストールします。2010年5月現在で最新であるEclipse3.5(Galileo)を使用します。日本語化されているものをインストールするので、Pleiades使います。 &lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;a href=&quot;http://mergedoc.sourceforge.jp/&quot;&gt;こちら&lt;/a&gt;よりAll in One のEclipseがダウンロードできます。「Eclipse 3.5 Galileo Pleiades All in One」のアイコンを選びます。ダウンロード出来るものがいくつか表示されますが、今回は JavaのFull All in One（JREあり）をダウンロードします。&lt;/li&gt;
&lt;li&gt;ダウンロードしたファイルをダブルクリックして実行します。インストーラが起動しますので、「インストール」をクリックします。インストールはこれで終了です。簡単です。&lt;/li&gt;
&lt;li&gt; インストールフォルダ（C:¥pleiades）下のeclipseフォルダの中にEclipse.exeがあるので、デスクトップにショートカット作っておくと良いでしょう。&lt;/li&gt;
&lt;li&gt;起動するとワークスペースの選択ダイアログが表示されます。ここで変更しなくても後で変更できるので、よく分からない人はそのままでOKです。&lt;/li&gt;
&lt;li&gt;ついでなので、Javaプロジェクトを作ってみましょう。Javaがインストールされているのが条件です。「ファイル」→「プロジェクト」→「Javaプロジェクト」を選択し[次へ]をクリックします。&lt;/li&gt;
&lt;li&gt;Javaプロジェクトの作成ダイアログが表示されるので、プロジェクト名に任意のプロジェクト名を入力し[完了]をクリックします。&lt;/li&gt;
&lt;li&gt;パッケージ・エクスプローラに作成したプロジェクトが表示されているので「＋」をクリックして展開します。&lt;/li&gt;
&lt;li&gt;展開すると【src】という名前のフォルダがあるので、ここで右クリックして「新規」→「クラス」を選択します。&lt;/li&gt;
&lt;li&gt;名前（M）の所に任意の名前を付けます。ここではとりあえず『Hello』とします。どのメソッド・スタブを作成しますか？の部分にある『public static void main(String[] args)(V)』のところにチェックを入れて[完了]をクリックします。&lt;/li&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBhp4DTDlVU2v3EuF2x3-LTpg7oNJqZ5o8bgRt0fOOMfhE7wUpa3HWTutShyphenhyphenqOpf-qdhYemkDqTTSKobXMzlPbVj9TKTfICvIBq4cuh-P3us8BhsLTOI_De03Uc0YYFLuR6c2QJ_mfcOk/s1600/classcreate.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBhp4DTDlVU2v3EuF2x3-LTpg7oNJqZ5o8bgRt0fOOMfhE7wUpa3HWTutShyphenhyphenqOpf-qdhYemkDqTTSKobXMzlPbVj9TKTfICvIBq4cuh-P3us8BhsLTOI_De03Uc0YYFLuR6c2QJ_mfcOk/s320/classcreate.JPG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;li&gt;Hello.javaというファイルが作成されて、中央のウィンドウにファイル内容が表示されます。以下のようにソースを書きます。&lt;/li&gt;

&lt;pre class=&quot;java&quot; name=&quot;code&quot;&gt;public class Hello {

    /**
     * @param args
     */
    public static void main(String[] args) {
        // TODO 自動生成されたメソッド・スタブ

        System.out.println(&quot;Hello World!!&quot;);
    }
}
&lt;/pre&gt;
&lt;li&gt;メニューの「実行」→「実行」か、メニューバーの部分にある矢印（下の画像の赤丸部分）をクリックします。&lt;/li&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgMVHGRLHTVtf1RpqxI7M-jzrT-_z-osO9tPYqv1knFZ5ZcAUhxdQlZrRNuy5NIR7dlDSRNktt685MumKq8CqK1biaN5eQWhdaaani69JsSCB00kZvTBcutR5HzBSJ9iOoYvtjKW8zhyE/s1600/projectdisp.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgMVHGRLHTVtf1RpqxI7M-jzrT-_z-osO9tPYqv1knFZ5ZcAUhxdQlZrRNuy5NIR7dlDSRNktt685MumKq8CqK1biaN5eQWhdaaani69JsSCB00kZvTBcutR5HzBSJ9iOoYvtjKW8zhyE/s320/projectdisp.JPG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;li&gt;画面下のコンソールに Hello World!! と表示されれば成功です。&lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;
これでEclipseのインストールは終了です。Android開発の為にはもう少し頑張る必要がります。最後に&lt;a href=&quot;http://masahikokitsugi.blogspot.com/2010/05/eclipse-35-galileo-android-for-windows.html&quot;&gt;Android SDK と ADT のインストール&lt;/a&gt;を行います。&lt;br /&gt;
&lt;ol&gt;&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://masahikokitsugi.blogspot.com/feeds/9141290983669165280/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://masahikokitsugi.blogspot.com/2010/05/eclipse-35-galileo-for-windows.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/9141290983669165280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/9141290983669165280'/><link rel='alternate' type='text/html' href='http://masahikokitsugi.blogspot.com/2010/05/eclipse-35-galileo-for-windows.html' title='Android 環境構築 for Windows(Eclipseのインストール)'/><author><name>Masahiko Kitsugi</name><uri>http://www.blogger.com/profile/10111770670048264628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizW6hBvJjwWmgxl4EZJdhpZe2aZr5kH3AwJ57ZN80yIVhY4n1H-2bxlr2Lbw4LvFAqoY07iF2STZzP1alOF2VMPocZpRASHHMZdfkdc0ujW3GWc7tcu2G2HppQaFIst0U/s220/P1020188.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBhp4DTDlVU2v3EuF2x3-LTpg7oNJqZ5o8bgRt0fOOMfhE7wUpa3HWTutShyphenhyphenqOpf-qdhYemkDqTTSKobXMzlPbVj9TKTfICvIBq4cuh-P3us8BhsLTOI_De03Uc0YYFLuR6c2QJ_mfcOk/s72-c/classcreate.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9187333757492610886.post-1230295499836957387</id><published>2010-05-21T23:31:00.002+09:00</published><updated>2010-05-21T23:50:57.384+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>Android SDK を Version Up しよう！</title><content type='html'>2010年5月21日にGoogleがAndroidの最新バージョンをリリースしました。&lt;br /&gt;
バージョンは2.2です。&lt;br /&gt;
SDKも同時にリリースされましたので、バージョンアップ手順を紹介したいと思います。&lt;br /&gt;
新規でインストールする場合は&lt;a href=&quot;http://masahikokitsugi.blogspot.com/2010/02/eclipse-35-galileo-android.html&quot;&gt;こちら&lt;/a&gt;を参照してください。2.1をインストールしたときに書いたものですが、手順は同じです。 &lt;br /&gt;
Mac OS X でEclipseからの手順ですが、Windowsでも通用すると思われます。&lt;br /&gt;
&lt;br /&gt;
2.1からアップデートの普通にアップデートしたら失敗しました。エラーメッセージを読むと、どうやらEclipseのプラグイン（ADT）のバージョンアップが必要みたいです。なので始めにプラグインのバージョンアップをします。&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Eclipseで「ヘルプ」→「新規ソフトウェアのインストール」→「すでにインストールされている」をクリックします。&lt;/li&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkDocx1YZ6LB7feDMQMZwn0uUpN27mNCLCUzzoUR0SSlA__o2Fo8bl8isy3zFUjEVcdQT3qzhR4PFiJVdza9rJoiOt4mtVhzqN5UDkMgSmd5yFyG4iRzShnKZeW18d6dV8shaTtgzaBhk/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882010-05-21+21.24.13%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkDocx1YZ6LB7feDMQMZwn0uUpN27mNCLCUzzoUR0SSlA__o2Fo8bl8isy3zFUjEVcdQT3qzhR4PFiJVdza9rJoiOt4mtVhzqN5UDkMgSmd5yFyG4iRzShnKZeW18d6dV8shaTtgzaBhk/s320/%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-05-21+21.24.13%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;li&gt;Android DDMS と Android 開発ツール を選択して「更新」をクリックして更新を完了してください。&lt;/li&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgp0dtA1-kjtd-JbWwnqir_aPa_Q4gNcmU6Vh0dLYLuchH4aMTRc_RoaVw8a3ELPvJ90bLoaFT2TuTIWzPuY4VnkRRlUioQAVLr-JuniVezR8LHKQ8fjisw_7ZKdwy8RltD_FbBHR35nXo/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882010-05-21+21.21.25%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgp0dtA1-kjtd-JbWwnqir_aPa_Q4gNcmU6Vh0dLYLuchH4aMTRc_RoaVw8a3ELPvJ90bLoaFT2TuTIWzPuY4VnkRRlUioQAVLr-JuniVezR8LHKQ8fjisw_7ZKdwy8RltD_FbBHR35nXo/s320/%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-05-21+21.21.25%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;li&gt;更新が完了し、Eclipseを再起動します。「ウィンドウ」→「Android SDK and AVD Manager」を選択し、「Available Packages」を選び、チェックボックスにチェックします。&lt;/li&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisnTSrHtUGVCN5oAbr0vmGxJVkpCp52986qKZlm5-jPLgO9OkNzOOsb6fzCnDv9hYxmumdeRUTqZILBC_WnRPKXB6vpzlY-eKuB1VSI-ar8hn3JVb3XlSxkCHnn5TPBzjKa_UFkBHTbwQ/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882010-05-21+21.32.30%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisnTSrHtUGVCN5oAbr0vmGxJVkpCp52986qKZlm5-jPLgO9OkNzOOsb6fzCnDv9hYxmumdeRUTqZILBC_WnRPKXB6vpzlY-eKuB1VSI-ar8hn3JVb3XlSxkCHnn5TPBzjKa_UFkBHTbwQ/s320/%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-05-21+21.32.30%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;li&gt;インストール一覧が表示されますので、チェックボックスはそのままで「Install Selected」をクリックします。&lt;/li&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRkcZ617_PjZQ9ND2DJa_4glezJTuEgQsZy6pt33QIZ40RhSxJDRLBQ2W9Z-3sEIAw0xb7Rrc_XFY1DeHWNCAfjLo1D5hVU7tRo2bbYPIXBzM2IfBHc1gXEZYMXL1ySpSBey0KskfNsO4/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882010-05-21+21.33.24%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRkcZ617_PjZQ9ND2DJa_4glezJTuEgQsZy6pt33QIZ40RhSxJDRLBQ2W9Z-3sEIAw0xb7Rrc_XFY1DeHWNCAfjLo1D5hVU7tRo2bbYPIXBzM2IfBHc1gXEZYMXL1ySpSBey0KskfNsO4/s320/%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-05-21+21.33.24%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;li&gt;次もそのまま「インストール」をクリックします。結構時間かかります。&lt;/li&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiE8MwhvaPh6jr00mbau6F8W61HNSU-SP2oykIj-0x0X57kJSLowhayW8sM2AI5jl4LZH9udMmbJscC6RT5zgvjeIkYCzbJ5feTa-thRY6IbtxK0URXAmVvzLxPBHCIyQoej3pdYqzeY3g/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882010-05-21+21.34.31%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiE8MwhvaPh6jr00mbau6F8W61HNSU-SP2oykIj-0x0X57kJSLowhayW8sM2AI5jl4LZH9udMmbJscC6RT5zgvjeIkYCzbJ5feTa-thRY6IbtxK0URXAmVvzLxPBHCIyQoej3pdYqzeY3g/s320/%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-05-21+21.34.31%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;li&gt;完了するとエラーが出ますが、PCを再起動させればOKみたいです。&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;これでバージョンアップは完了です。既存プロジェクトのビルドターゲットを最新（API Level 8）にして動作するか確かめましょう。エミュレータの設定も忘れずに！！&lt;br /&gt;
&lt;ol&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;/ol&gt;&lt;ol&gt;&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://masahikokitsugi.blogspot.com/feeds/1230295499836957387/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://masahikokitsugi.blogspot.com/2010/05/android-sdk-version-up.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/1230295499836957387'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/1230295499836957387'/><link rel='alternate' type='text/html' href='http://masahikokitsugi.blogspot.com/2010/05/android-sdk-version-up.html' title='Android SDK を Version Up しよう！'/><author><name>Masahiko Kitsugi</name><uri>http://www.blogger.com/profile/10111770670048264628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizW6hBvJjwWmgxl4EZJdhpZe2aZr5kH3AwJ57ZN80yIVhY4n1H-2bxlr2Lbw4LvFAqoY07iF2STZzP1alOF2VMPocZpRASHHMZdfkdc0ujW3GWc7tcu2G2HppQaFIst0U/s220/P1020188.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkDocx1YZ6LB7feDMQMZwn0uUpN27mNCLCUzzoUR0SSlA__o2Fo8bl8isy3zFUjEVcdQT3qzhR4PFiJVdza9rJoiOt4mtVhzqN5UDkMgSmd5yFyG4iRzShnKZeW18d6dV8shaTtgzaBhk/s72-c/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882010-05-21+21.24.13%EF%BC%89.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9187333757492610886.post-2812485113509057981</id><published>2010-05-16T01:29:00.009+09:00</published><updated>2010-06-12T18:59:35.203+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>Android 環境構築 for Windows(JREとJDTのインストール)</title><content type='html'>手順１：Android 環境構築 for Windows(JREとJDTのインストール)&lt;br /&gt;
手順２：&lt;a href=&quot;http://masahikokitsugi.blogspot.com/2010/05/eclipse-35-galileo-for-windows.html&quot;&gt;Android 環境構築 for Windows(Eclipseインストール)&lt;/a&gt;&lt;br /&gt;
手順３：&lt;a href=&quot;http://masahikokitsugi.blogspot.com/2010/05/eclipse-35-galileo-android-for-windows.html&quot;&gt;Android 環境構築 for Windows(Android SDKとADTのインストール)&lt;/a&gt;&lt;br /&gt;
&lt;ol&gt;&lt;/ol&gt;AndroidアプリはJavaで書くのでJavaがなければ始まりません。&lt;br /&gt;
ということで、手始めにJavaの環境を整えます。&lt;br /&gt;
&lt;br /&gt;
インストールの前に既にインストールされているかもしれないので確認してみましょう。&lt;br /&gt;
コマンドプロンプトで&lt;br /&gt;
&lt;b&gt;java -version&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;javac -version&lt;/b&gt;&lt;br /&gt;
とそれぞれ入力して、バージョン情報が出ればインストール済です。&lt;br /&gt;
ちなみに前者がJRE（Javaの実行環境）、後者がJDK（Javaの開発環境）のバージョン情報です。&lt;br /&gt;
最新バージョンがインストールされていない場合はインストールされていない場合と同じ手順です。&lt;br /&gt;
&lt;br /&gt;
それではインストールされていない場合の手順です。&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;JREのダウンロードとインストール&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;a href=&quot;http://java.com/ja/&quot;&gt;こちら&lt;/a&gt;からダウンロードします。ダウンロードが完了したら、ダウンロードしたファイルをダブルクリックして実行します。【インストール先のフォルダを変更する】チェックを入れて「インストール」をクリックします。「変更」をクリックし、インストール先のフォルダに[C:¥Java]を指定してください。フォルダがない場合は作ってください。「次へ」をクリックしインストール完了です。&lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;
&lt;b&gt;JDKのダウンロードとインストール&lt;/b&gt; &lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;a href=&quot;http://java.sun.com/javase/ja/6/download.html&quot;&gt;Sun Developer Network(SDN)&lt;/a&gt;にアクセスします。いくつかダウンロードするものがありますが、「Java Download」のアイコンをクリックします。 &lt;/li&gt;
&lt;li&gt;はい、ダウンロードページに飛んできましたね。英語のページですがビビることはありません。Downloadボタンをクリックします。Platformの 部分はOSを勝手に判別してWindowsになっているはずですが、もし違ったらWindowsを選択してください。 &lt;/li&gt;
&lt;li&gt;これでダウンロードが始まると思いきや、User  NameとPasswordを入力しろと。このページを見てる人は多分アカウントなんか持っていないと思いますが、アカウントの作成しなくていいです。一番 下の「Skip this Step」をクリックしてください。これでダウンロードが始まります。&lt;/li&gt;
&lt;li&gt;ダウンロードが完了したら、ダウンロードしたファイルをダブルクリックして実行します。手順は簡単です。「同意する」→「次へ」だけです。特に指定しなけ れば[C:¥Program Files¥Java]にインストールされていると思います。「jdk&lt;span style=&quot;color: red;&quot;&gt;x.x.x_xx&lt;/span&gt;」（&lt;span style=&quot;color: red;&quot;&gt;x.x.x_xx&lt;/span&gt;はバージョン）とう名前のフォルダがそれです。[C:¥Java]にフォルダごと移動してください。 &lt;/li&gt;
&lt;/ol&gt;&lt;b&gt;環境変数の設定&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&lt;/b&gt;JREはインストーラが自動で最新バージョンを指すようにしてくれますが、JDKは自分で設定しなければなりません。※WindowsXPの場合を説明します。&lt;br /&gt;
&lt;ol&gt;&lt;li&gt; マイコンピュータを右クリックしてプロパティを選びます。「詳細設定」タブを選び「環境変数」ボタンをクリックします。&lt;/li&gt;
&lt;li&gt;システム環境変数に『JAVA_HOME』を設定します。変数名に既に『JAVA_HOME』がある場合は「編集」を、ない場合は「新規」をクリックします。新規の場合は変数名に&lt;b&gt;JAVA_HOME&lt;/b&gt;と入力します。変数値は両者共通でJDKのインストールフォルダを入力します。ここでは&lt;b&gt;C:¥Java¥jdk&lt;/b&gt;&lt;b style=&quot;color: red;&quot;&gt;x.x.x_xx&lt;/b&gt;（&lt;b style=&quot;color: red;&quot;&gt;x.x.x_xx&lt;/b&gt;はバージョン）ですね。&lt;/li&gt;
&lt;li&gt;システム環境変数『Path』の設定です。これで最後です！『Path』は既に変数名にあると思いますので「編集」をクリックします。変数値には既に値が入っていると思いますので一番後ろに&lt;b&gt;;%JAVA_HOME%¥bin&lt;/b&gt;と入力します。頭の&lt;b&gt;％&lt;/b&gt;の前の&lt;b&gt;;&lt;/b&gt;（セミコロン） を忘れずに！「OK」クリックで終了です。変数値に値がなかった場合はセミコロンを抜いたものを入力します。&lt;/li&gt;
&lt;/ol&gt;環境は整ったので、きちんとインストール＆設定がされているか確認します。&lt;br /&gt;
コマンドプロンプトで&lt;br /&gt;
&lt;b&gt;java -version&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;javac -version&lt;/b&gt;&lt;br /&gt;
と それぞれ入力して、インストールしたバージョン情報が出ればOKです。&lt;br /&gt;
&lt;b style=&quot;color: red;&quot;&gt;&#39;java&#39;は、内部コマンドまたは外部コマンド、操作可能なプログラムまたはバッチファイルとして認識されていません。&lt;/b&gt;&lt;br /&gt;
とか&lt;br /&gt;
&lt;b style=&quot;color: red;&quot;&gt;&#39;javac&#39;は、内部コマンドまたは外部コマンド、操作可能なプログラムまたはバッチファイルとして認識されていません。&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
と言われたら、インストール先のフォルダと環境変数で設定した値が一致していない可能性があります。ここで紹介した手順はインストール先フォルダを変更しているので注意してください。&lt;br /&gt;
&lt;br /&gt;
Javaのインストールが終わったら、次は&lt;a href=&quot;http://masahikokitsugi.blogspot.com/2010/05/eclipse-35-galileo-for-windows.html&quot;&gt;Eclipse（統合開発環境）のインストール&lt;/a&gt;をします。Eclipseの手順も簡単なのでもう少し頑張りましょう。</content><link rel='replies' type='application/atom+xml' href='http://masahikokitsugi.blogspot.com/feeds/2812485113509057981/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://masahikokitsugi.blogspot.com/2010/05/java-for-windows.html#comment-form' title='1 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/2812485113509057981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/2812485113509057981'/><link rel='alternate' type='text/html' href='http://masahikokitsugi.blogspot.com/2010/05/java-for-windows.html' title='Android 環境構築 for Windows(JREとJDTのインストール)'/><author><name>Masahiko Kitsugi</name><uri>http://www.blogger.com/profile/10111770670048264628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizW6hBvJjwWmgxl4EZJdhpZe2aZr5kH3AwJ57ZN80yIVhY4n1H-2bxlr2Lbw4LvFAqoY07iF2STZzP1alOF2VMPocZpRASHHMZdfkdc0ujW3GWc7tcu2G2HppQaFIst0U/s220/P1020188.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9187333757492610886.post-4315350328982776485</id><published>2010-04-04T22:54:00.002+09:00</published><updated>2010-04-23T00:12:59.456+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>Android Maps API</title><content type='html'>AndroidでGoogle Mapを表示するアプリを作ろうとすると、API keyが必要になります。&lt;br /&gt;
ネットで検索すると取得方法はかなり書かれていますが、それでも書きます。&lt;br /&gt;
&lt;br /&gt;
とりあえずAndroidの開発環境が整っていることと、Macであることが前提になっています。&lt;br /&gt;
&lt;br /&gt;
まずは&lt;a href=&quot;http://code.google.com/intl/ja/android/maps-api-signup.html&quot;&gt;API key取得ページ&lt;/a&gt;に行きます。&lt;br /&gt;
英語であーだこーだ書いてあります。&lt;br /&gt;
ページの最下部に移動して、チェックボックスにチェックします。&lt;br /&gt;
&lt;br /&gt;
「My certificate&#39;s MD5 fingerprint」&lt;br /&gt;
&lt;br /&gt;
ここにMD5値を入力します。&lt;br /&gt;
なんだそれ？って思うかもしれませんが、そんなことはあまり考えず、ターミナルで&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;keytool -list -keystore ~/.android/debug.keystore&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
を実行します。&lt;br /&gt;
パスワード聞かれますが無視してEnterで大丈夫です。&lt;br /&gt;
&lt;br /&gt;
一番下にMD5値が表示されてるので、コロンも含めて全部コピー。&lt;br /&gt;
で、先程のサイトでペースト。&lt;br /&gt;
&lt;br /&gt;
Generate API key ボタンクリックでフィニッシュです。&lt;br /&gt;
&lt;br /&gt;
今回の内容はしょうもないなーー。</content><link rel='replies' type='application/atom+xml' href='http://masahikokitsugi.blogspot.com/feeds/4315350328982776485/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://masahikokitsugi.blogspot.com/2010/04/android-maps-api.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/4315350328982776485'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/4315350328982776485'/><link rel='alternate' type='text/html' href='http://masahikokitsugi.blogspot.com/2010/04/android-maps-api.html' title='Android Maps API'/><author><name>Masahiko Kitsugi</name><uri>http://www.blogger.com/profile/10111770670048264628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizW6hBvJjwWmgxl4EZJdhpZe2aZr5kH3AwJ57ZN80yIVhY4n1H-2bxlr2Lbw4LvFAqoY07iF2STZzP1alOF2VMPocZpRASHHMZdfkdc0ujW3GWc7tcu2G2HppQaFIst0U/s220/P1020188.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9187333757492610886.post-925153170282782926</id><published>2010-02-22T01:43:00.015+09:00</published><updated>2010-07-14T01:31:25.847+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ADT"/><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>Android で &quot;Hello World!&quot;</title><content type='html'>さて、Eclipse に Android 開発環境が&lt;a href=&quot;http://masahikokitsugi.blogspot.com/2010/02/eclipse-35-galileo-android.html&quot;&gt;インストール&lt;/a&gt;出来たところで、おなじみの Hello World (Hello Android) を作ってみましょう。&lt;br&gt;&lt;br&gt;&lt;br /&gt;
&lt;br /&gt;
１．Eclipseで、「ファイル」→「新規」→「その他...」で新規ウィザード上で「Android」を展開し、Android プロジェクト を選択し[次へ]。 &lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwxf0Mpg6e02lYm62yciFOXqEkP3okM3GWln-k7oyJJM8gDwi-B-LV_qzidtlKj_6cWDjdhNZikFNhkk87fZHSvLGG7mG1SUQkOQ89Tk1M8U1mIYm2nS_UFkZu94XDMVtnGyKYBf7fv_s/s1600-h/%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-02-22+0.27.00%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwxf0Mpg6e02lYm62yciFOXqEkP3okM3GWln-k7oyJJM8gDwi-B-LV_qzidtlKj_6cWDjdhNZikFNhkk87fZHSvLGG7mG1SUQkOQ89Tk1M8U1mIYm2nS_UFkZu94XDMVtnGyKYBf7fv_s/s320/%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-02-22+0.27.00%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
２．プロジェクト設定ウィザードで以下のように設定し、[完了]。&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;・プロジェクト名：&lt;span style=&quot;color: blue;&quot;&gt;HelloAndroid&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;・ビルド・ターゲット：&lt;span style=&quot;color: blue;&quot;&gt;Android 2.1&lt;/span&gt; &lt;/b&gt;&lt;br /&gt;
&lt;b&gt;・アプリケーション名：&lt;span style=&quot;color: blue;&quot;&gt;HelloAndroid&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;・パッケージ名：&lt;span style=&quot;color: blue;&quot;&gt;sample.android&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;・Create Activity：&lt;span style=&quot;color: blue;&quot;&gt;HelloAndroid&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtkB1HtEI5ZECtBw0yDcillzw1r10Qzv6tYR82W0DbXjgor-WQXFqKynDqGLsOE0Td2bhIPnCGx77GIMtyAIDaiwh-3R4GWo302f2uoyZQNft5NK1GAzp0aVpKuCzu5oI0zxWz5kl5VZY/s1600-h/%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-02-22+0.30.28%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtkB1HtEI5ZECtBw0yDcillzw1r10Qzv6tYR82W0DbXjgor-WQXFqKynDqGLsOE0Td2bhIPnCGx77GIMtyAIDaiwh-3R4GWo302f2uoyZQNft5NK1GAzp0aVpKuCzu5oI0zxWz5kl5VZY/s320/%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-02-22+0.30.28%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
３．プロジェクトが作成されているのを確認し、src -&amp;gt; sample.android -&amp;gt; HelloAndroid.javaを開き、以下のコードを記述します。&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;java&quot; name=&quot;code&quot;&gt;package sample.android;

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

public class HelloAndroid extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        
        TextView tv = new TextView(this);
        tv.setText(&quot;Hello!! Android!!!!!&quot;);
        setContentView(tv);
    }
}
&lt;/pre&gt;&lt;br /&gt;
４．メニューの「実行」から「実行構成…」を選択し、「Android アプリケーション」をダブルクリックします。&lt;br /&gt;
&lt;br /&gt;
５．実行構成ウィザードが開くので、名前に「androidtest」プロジェクトには[参照]ボタンをクリックし、「HelloAndroid」を選択してから、[実行]。 &lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkr2O7-kMKeQdBVitQnZSjmtsZgX9JUBkwjmSRnP8HbmAJ0WodKVOMoCyVb2Hyamn8F2cjeJNrr85rxXLmi2mzcqby10FQvKwzdbBZwbjpQ7jZJx5uaoUgZRslgj5N5cERxgeVYcba_N8/s1600-h/%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-02-22+0.39.18%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkr2O7-kMKeQdBVitQnZSjmtsZgX9JUBkwjmSRnP8HbmAJ0WodKVOMoCyVb2Hyamn8F2cjeJNrr85rxXLmi2mzcqby10FQvKwzdbBZwbjpQ7jZJx5uaoUgZRslgj5N5cERxgeVYcba_N8/s320/%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-02-22+0.39.18%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
６．エミュレータが起動します。起動までに少し時間が掛かります。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIYSGIT2WspzgWLqy6QFYyPz1lQUy3XCAu1dbdcJY7j336Umwqo2tiQmCJrDsZIXzFpoOj26jXPbZh72Z3KsX07tM9q-D0ZaI8HffivlwKz9Tf2PWMpWi66DkH2dsIFUsDgCzO1nPvNUg/s1600-h/%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-02-22+0.39.44%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIYSGIT2WspzgWLqy6QFYyPz1lQUy3XCAu1dbdcJY7j336Umwqo2tiQmCJrDsZIXzFpoOj26jXPbZh72Z3KsX07tM9q-D0ZaI8HffivlwKz9Tf2PWMpWi66DkH2dsIFUsDgCzO1nPvNUg/s320/%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-02-22+0.39.44%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
７．起動すると以下の画面が表示されます。右側のボタンに[MENU]ボタンがあるので押してみます。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEUTTV1cRTFtGcw19aPstcxdU9jGw0sQNkhTeh_tISsWHty1NqyA4H9xdoQBeJlCZz7AR9xMWuIy7PuDAo4XtA1WFQjGiPlw5ImVGytfKbhCOitsG-tcPZD2C9n4zxpYu4hOkPKaJQ4zI/s1600-h/%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-02-22+0.46.52%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEUTTV1cRTFtGcw19aPstcxdU9jGw0sQNkhTeh_tISsWHty1NqyA4H9xdoQBeJlCZz7AR9xMWuIy7PuDAo4XtA1WFQjGiPlw5ImVGytfKbhCOitsG-tcPZD2C9n4zxpYu4hOkPKaJQ4zI/s320/%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-02-22+0.46.52%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
８．Hello!!Android!!!!!と表示されていると思います。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg040QZbR-4dcPaekvMzJbEJObqJfwm6NNk4sCW3gEZeFnBPhax8D69r9C-GIne7pt6n_sdFJJvBaYJv8LvVR6ul6-oTO1RYvlGG_sjucahlgWN0nnYkWvLH3nIrleDQC7TDJVjfc80VdA/s1600-h/%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-02-22+0.59.25%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg040QZbR-4dcPaekvMzJbEJObqJfwm6NNk4sCW3gEZeFnBPhax8D69r9C-GIne7pt6n_sdFJJvBaYJv8LvVR6ul6-oTO1RYvlGG_sjucahlgWN0nnYkWvLH3nIrleDQC7TDJVjfc80VdA/s320/%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-02-22+0.59.25%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
９．ちなみに、ホームボタンを押すとホームメニューが表示され、[Browser]を選ぶとWebブラウザが立ち上がり、普通に使えます。（操作しにくいですが）&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbAqWIdYr-fKcFDeedaK3mKp3EzSMBsxRKaRpo-HZBLmwLO8p_WMiIiOCqcmQdYLbfquTVvoo9IlG96zP2z1LWwutbamz7CKqtqeKDaXzss47AjEDulw1nsjdSBIR8bNjW4mmnWTb0Ogw/s1600-h/%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-02-22+1.36.00%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbAqWIdYr-fKcFDeedaK3mKp3EzSMBsxRKaRpo-HZBLmwLO8p_WMiIiOCqcmQdYLbfquTVvoo9IlG96zP2z1LWwutbamz7CKqtqeKDaXzss47AjEDulw1nsjdSBIR8bNjW4mmnWTb0Ogw/s320/%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-02-22+1.36.00%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLl4iybJ93J9xhX92nTGGBD8GukdHbrWDnoyXbbz73tWkTN1YWDnNnrGeM9MDGJ0HzObD4bYIe-MZcjj21hhpJ8Lw8dBj9cNDJzyv2ypvMid5H7W70-MmKvn-8Cw83mC299hBhv5GLLlE/s1600-h/%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-02-22+0.50.21%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLl4iybJ93J9xhX92nTGGBD8GukdHbrWDnoyXbbz73tWkTN1YWDnNnrGeM9MDGJ0HzObD4bYIe-MZcjj21hhpJ8Lw8dBj9cNDJzyv2ypvMid5H7W70-MmKvn-8Cw83mC299hBhv5GLLlE/s320/%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-02-22+0.50.21%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
１０．HelloAndroidアプリを実行したい場合はホームメニュー画面の中央下にある矢印みたいなのをクリックします。表示された中に HelloAndroid があるので選択すれば実行できます。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsZtPsmEX8OdB9gRvgJNVGeNDVZ5jQGC9gpYW93uxPbrKSM9i5xmkPmpEHQ7RcLu4DsiUasehkJakZYij7i_7OJyX8FjReXMgr4-sS8oaZQ6rFewQf5v0RaiMGK2DKxwrc7a45LIe-i9A/s1600-h/%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-02-22+0.59.55%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsZtPsmEX8OdB9gRvgJNVGeNDVZ5jQGC9gpYW93uxPbrKSM9i5xmkPmpEHQ7RcLu4DsiUasehkJakZYij7i_7OJyX8FjReXMgr4-sS8oaZQ6rFewQf5v0RaiMGK2DKxwrc7a45LIe-i9A/s320/%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-02-22+0.59.55%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg040QZbR-4dcPaekvMzJbEJObqJfwm6NNk4sCW3gEZeFnBPhax8D69r9C-GIne7pt6n_sdFJJvBaYJv8LvVR6ul6-oTO1RYvlGG_sjucahlgWN0nnYkWvLH3nIrleDQC7TDJVjfc80VdA/s1600-h/%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-02-22+0.59.25%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg040QZbR-4dcPaekvMzJbEJObqJfwm6NNk4sCW3gEZeFnBPhax8D69r9C-GIne7pt6n_sdFJJvBaYJv8LvVR6ul6-oTO1RYvlGG_sjucahlgWN0nnYkWvLH3nIrleDQC7TDJVjfc80VdA/s320/%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-02-22+0.59.25%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
その他のサンプルプログラム&lt;br&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://masahikokitsugi.blogspot.com/2010/07/android-sd.html&quot;&gt;AndroidアプリでSDカードを使う方法&lt;/a&gt;&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://masahikokitsugi.blogspot.com/feeds/925153170282782926/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://masahikokitsugi.blogspot.com/2010/02/android-hello-world.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/925153170282782926'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/925153170282782926'/><link rel='alternate' type='text/html' href='http://masahikokitsugi.blogspot.com/2010/02/android-hello-world.html' title='Android で &quot;Hello World!&quot;'/><author><name>Masahiko Kitsugi</name><uri>http://www.blogger.com/profile/10111770670048264628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizW6hBvJjwWmgxl4EZJdhpZe2aZr5kH3AwJ57ZN80yIVhY4n1H-2bxlr2Lbw4LvFAqoY07iF2STZzP1alOF2VMPocZpRASHHMZdfkdc0ujW3GWc7tcu2G2HppQaFIst0U/s220/P1020188.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwxf0Mpg6e02lYm62yciFOXqEkP3okM3GWln-k7oyJJM8gDwi-B-LV_qzidtlKj_6cWDjdhNZikFNhkk87fZHSvLGG7mG1SUQkOQ89Tk1M8U1mIYm2nS_UFkZu94XDMVtnGyKYBf7fv_s/s72-c/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882010-02-22+0.27.00%EF%BC%89.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9187333757492610886.post-399120586910043711</id><published>2010-02-18T02:13:00.015+09:00</published><updated>2010-05-23T01:08:58.526+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ADT"/><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Eclipse"/><category scheme="http://www.blogger.com/atom/ns#" term="Mac"/><title type='text'>Eclipse 3.5 Galileo で Android 環境構築</title><content type='html'>さて、今更ながら気になっていたAndroidアプリを作ってみたくなった。&lt;br /&gt;
JavaとEclipseがインストールされていることを前提とします。&lt;br /&gt;
Windows版は&lt;a href=&quot;http://masahikokitsugi.blogspot.com/2010/05/eclipse-35-galileo-android-for-windows.html&quot;&gt;こちら&lt;/a&gt;。&lt;br /&gt;
&lt;br /&gt;
１．まずは &lt;a href=&quot;http://developer.android.com/intl/ja/sdk/index.html&quot;&gt;Android Developers&lt;/a&gt; で SDK のダウンロード&amp;amp;任意の場所に解凍します。私は/System/Library/android-sdk-mac_86 にしました。&lt;br /&gt;
&lt;br /&gt;
２．環境変数を設定します。.bash_profileに&lt;br /&gt;
&lt;b&gt;export PATH=$PATH:/System/Library/android-sdk-mac_86/tools&lt;/b&gt;&lt;br /&gt;
を追加しましょう。.bash_profileがない場合は home/ユーザディレクトリに作りましょう。ターミナルの使い方が分からない場合は、上記パスを .bash_profile に直接書いてもOKです。&lt;br /&gt;
&lt;br /&gt;
３． Eclipseに「Android Development Tools（ADT）」プラグインをインストールします。「ヘルプ」→「新規ソフトウェアのインストール...」でインストールダイアログが表示されるので、[追加]ボタンをクリックします。&lt;br /&gt;
&lt;br /&gt;
４．サイトの追加ダイアログが表示されるので、ロケーションに「https://dl-ssl.google.com/android/eclipse/」か「http://dl-ssl.google.com/android/eclipse/」を入力し、OKボタンをクリックします。（名前は何でも構いません。）&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFrRkzNL8Oe_C4fHs7FNPFJ3n4Sh5QpQnyWVyxIh3JSVD6GuyLeSPtYpM6A2GV9Em9z1ZVOdrLYtjxUaAzDnBpuQasRByiXyTQWa57RqW6WGQKP9KTAqSFKyNhj4Fs5OWMLK0zo3lqPaM/s1600-h/%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-02-17+23.11.13%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFrRkzNL8Oe_C4fHs7FNPFJ3n4Sh5QpQnyWVyxIh3JSVD6GuyLeSPtYpM6A2GV9Em9z1ZVOdrLYtjxUaAzDnBpuQasRByiXyTQWa57RqW6WGQKP9KTAqSFKyNhj4Fs5OWMLK0zo3lqPaM/s320/%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-02-17+23.11.13%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
５．Developer Toolsにチェックを付け、[次へ]をクリックします。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhx3Nlnabc7RInLxKlM0MR8IGwG-cS7kHaUJglSQ_ZZ9c3LF0M2pXnnJy0T01MbX3gLC0yjOH81uuHlo6QNXiw4JvvO6Q754_nPQCyC8pRw8hmvYsxiGy0Et-BxrQBtaHbAHmhTRKBoTlA/s1600-h/%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-02-17+23.11.44%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhx3Nlnabc7RInLxKlM0MR8IGwG-cS7kHaUJglSQ_ZZ9c3LF0M2pXnnJy0T01MbX3gLC0yjOH81uuHlo6QNXiw4JvvO6Q754_nPQCyC8pRw8hmvYsxiGy0Et-BxrQBtaHbAHmhTRKBoTlA/s320/%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-02-17+23.11.44%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
６．インストール詳細ウィンドウが開くのでそのまま[次へ]をクリックします。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxVWK-JzxM4dKFhscPUEBSPtTl8BDouxVYk574pI_GwL6DbEI1iQoPYLgehhK4D2SBWO0anwdu40IWv2_txIYfVOf-pWTnI3powkkqBOy1Aqh0B6yN64AClleCZVSFJWTACAJCtvKVKUo/s1600-h/%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-02-17+23.12.00%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxVWK-JzxM4dKFhscPUEBSPtTl8BDouxVYk574pI_GwL6DbEI1iQoPYLgehhK4D2SBWO0anwdu40IWv2_txIYfVOf-pWTnI3powkkqBOy1Aqh0B6yN64AClleCZVSFJWTACAJCtvKVKUo/s320/%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-02-17+23.12.00%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
７．「使用条件の条項に同意します」を選択し、[完了]をクリックします。終了したらEclipseを再起動します。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoOGGYhxXqDyjihe7GW4BzZEkLGDvrrF1rPAVTqBuxWFFm4rxCzah6-LVcCnhsVBzzR1rSN28QoHYPBaC0vQvf3_OSq3Ju3lbkNY3bYujvsa1f-Q9dd_yb64V0OoK0T1_5JpY3qZHpRw8/s1600-h/%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-02-17+23.12.08%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoOGGYhxXqDyjihe7GW4BzZEkLGDvrrF1rPAVTqBuxWFFm4rxCzah6-LVcCnhsVBzzR1rSN28QoHYPBaC0vQvf3_OSq3Ju3lbkNY3bYujvsa1f-Q9dd_yb64V0OoK0T1_5JpY3qZHpRw8/s320/%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-02-17+23.12.08%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
８．「環境設定」→「Android」でSDKロケーションに解凍した SDK のディレクトリを指定します。（画像は既にSDKが読み込まています。初めて設定する場合はリストには何も表示されません。）&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhR6mGX8nKrZiCM-VNcVq51PUoX0raRCPtp86vCbfaFIJ5YJg2R3dtpwXlBua4YAwi125AR-3iuuzTNaMavqBMFP5rwYnZYQWDpboW0uSr7vy8GB4KOUo4bhSgO-nyjmiYRTcb6xUZuuRA/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882010-05-19+22.09.05%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhR6mGX8nKrZiCM-VNcVq51PUoX0raRCPtp86vCbfaFIJ5YJg2R3dtpwXlBua4YAwi125AR-3iuuzTNaMavqBMFP5rwYnZYQWDpboW0uSr7vy8GB4KOUo4bhSgO-nyjmiYRTcb6xUZuuRA/s320/%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-05-19+22.09.05%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
９．「ウィンドウ」→「Android SDK and AVD Manager」を選択します。&lt;br /&gt;
&lt;br /&gt;
１０．Available Package を選択し、右側のチェックボックスにチェックし、[Install Selected]をクリックします。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBcoV1L2ZHjSi5pM73UrCdUkrdONOyVfC_AEh6U2ZdUc1EIc21aPCBe0-C2JfWz051ecGuSShfuhY5RqnzUIkXIgiqwcJPSsEqGNaxG3g155s-LjDl496OXFd4QjWXJNL5UXe81G6EaZQ/s1600-h/%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-02-18+0.29.36%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;199&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBcoV1L2ZHjSi5pM73UrCdUkrdONOyVfC_AEh6U2ZdUc1EIc21aPCBe0-C2JfWz051ecGuSShfuhY5RqnzUIkXIgiqwcJPSsEqGNaxG3g155s-LjDl496OXFd4QjWXJNL5UXe81G6EaZQ/s320/%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-02-18+0.29.36%EF%BC%89.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
１１．Accept All を選択し、[Install Accepted]をクリックします。結構時間がかかります。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEVNE_yfRc0fbTHpBA1RbS6c7kY93-7UWsugXSTtWdmRN6SHaSJgNra-06THB_8IVhsGOGZ5-DZUeA2RZPylw0QEpvcs0WcF9WEaV7YyWK-y6yN88zn4TxUyv7S3wR2F7FbpInbeduBXQ/s1600-h/%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-02-18+0.30.00%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEVNE_yfRc0fbTHpBA1RbS6c7kY93-7UWsugXSTtWdmRN6SHaSJgNra-06THB_8IVhsGOGZ5-DZUeA2RZPylw0QEpvcs0WcF9WEaV7YyWK-y6yN88zn4TxUyv7S3wR2F7FbpInbeduBXQ/s320/%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-02-18+0.30.00%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
１２．エミュレータの設定を行うため、もう一度「ウィンドウ」→「Android SDK and AVD Manager」を選択します。&lt;br /&gt;
&lt;br /&gt;
１３．Virtual Device で[新規]をクリックし、エミュレータの設定を行います。名前は適当に AndroidPhone とかにします。現時点で最新の Android 2.1 - API Level 7 を選択しました。[Create AVD]をクリックします。エミュレータの追加が行われたのが確認出来ると思います。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8y-XqV7fryiYU3AJvdqE__PPRweDsGOUk-Ok2jsWZ17FgcKJQcJnwgGamVYaIUJvxwXRGHb1U8ItyQc7yZ0kT16CYDYVjbc8sG5li4tQEG0lJU6tP2vfYTs1GB59xdJKDNkBJvEF_mNY/s1600-h/%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-02-18+2.05.53%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8y-XqV7fryiYU3AJvdqE__PPRweDsGOUk-Ok2jsWZ17FgcKJQcJnwgGamVYaIUJvxwXRGHb1U8ItyQc7yZ0kT16CYDYVjbc8sG5li4tQEG0lJU6tP2vfYTs1GB59xdJKDNkBJvEF_mNY/s320/%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-02-18+2.05.53%EF%BC%89.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;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnTznnkSrJf8T_gwJHbHg5gfM9fBj_X3MvUPX1SIj3Y4lFX7ZjwVxV0-vVji93cc3-_ITH-vclOOAvL1_jwZK3eaw57n2jwFnxYMvKQgiadKCt1XNL1m7IMuBdsGAqYVi5Z-TGQCjjAZE/s1600-h/%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-02-18+2.08.23%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnTznnkSrJf8T_gwJHbHg5gfM9fBj_X3MvUPX1SIj3Y4lFX7ZjwVxV0-vVji93cc3-_ITH-vclOOAvL1_jwZK3eaw57n2jwFnxYMvKQgiadKCt1XNL1m7IMuBdsGAqYVi5Z-TGQCjjAZE/s320/%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-02-18+2.08.23%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
これでEclipseでAndroid開発環境の構築が完了しました。&lt;br /&gt;
&lt;br /&gt;
それではおなじみの&lt;a href=&quot;http://masahikokitsugi.blogspot.com/2010/02/android-hello-world.html&quot;&gt;お試しプロジェクトを作成&lt;/a&gt;してみましょう。</content><link rel='replies' type='application/atom+xml' href='http://masahikokitsugi.blogspot.com/feeds/399120586910043711/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://masahikokitsugi.blogspot.com/2010/02/eclipse-35-galileo-android.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/399120586910043711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/399120586910043711'/><link rel='alternate' type='text/html' href='http://masahikokitsugi.blogspot.com/2010/02/eclipse-35-galileo-android.html' title='Eclipse 3.5 Galileo で Android 環境構築'/><author><name>Masahiko Kitsugi</name><uri>http://www.blogger.com/profile/10111770670048264628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizW6hBvJjwWmgxl4EZJdhpZe2aZr5kH3AwJ57ZN80yIVhY4n1H-2bxlr2Lbw4LvFAqoY07iF2STZzP1alOF2VMPocZpRASHHMZdfkdc0ujW3GWc7tcu2G2HppQaFIst0U/s220/P1020188.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFrRkzNL8Oe_C4fHs7FNPFJ3n4Sh5QpQnyWVyxIh3JSVD6GuyLeSPtYpM6A2GV9Em9z1ZVOdrLYtjxUaAzDnBpuQasRByiXyTQWa57RqW6WGQKP9KTAqSFKyNhj4Fs5OWMLK0zo3lqPaM/s72-c/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882010-02-17+23.11.13%EF%BC%89.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9187333757492610886.post-6976028280694003361</id><published>2010-01-22T00:16:00.003+09:00</published><updated>2010-05-11T22:35:20.559+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Eclipse"/><category scheme="http://www.blogger.com/atom/ns#" term="Eclox(Doxygen)"/><category scheme="http://www.blogger.com/atom/ns#" term="Mac"/><title type='text'>Eclipse 3.5 Galileo で Eclox (Doxygen) プラグインを使ってみる</title><content type='html'>前提として Eclox と Doxygen が正常にインストールされており、ソースコード中に Doxygen 対応のコメントが記入されていることが条件です。インストール方法は&lt;a href=&quot;http://masahikokitsugi.blogspot.com/2010/01/eclipse-35-galileo-eclox-doxygen.html&quot;&gt;こちら&lt;/a&gt;。コメント記入方法は&lt;a href=&quot;http://www.doxygen.jp/manual.html&quot;&gt;Doxygen&lt;/a&gt;や&lt;a href=&quot;http://monoist.atmarkit.co.jp/fembedded/articles/eclipseccplusplus/04/eclipseccplusplus04b.html&quot;&gt;ecloxとdoxygenで仕様書メンテナンスの効率をUP！&lt;/a&gt;で紹介されています。&lt;br /&gt;
&lt;br /&gt;
１．Eclipseで、「ファイル」→「新規」→「その他...」で新規ウィザード上で「その他」を展開し、 Doxyfile を選択し[次へ]をクリックします。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDq3wJj-lWSCvFotLlIk0-EbpZDFQ2mWo3a6scxPOzYQSzPO1HewG5iI__ANk9u95hXjlL-wjTshO5x6aFUwvEzTphpmRubOeQJNoMB8WZ2HONJXYmZmSj8yY31HI9keOujy1IT8HikAo/s1600-h/%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-22+0.02.21%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDq3wJj-lWSCvFotLlIk0-EbpZDFQ2mWo3a6scxPOzYQSzPO1HewG5iI__ANk9u95hXjlL-wjTshO5x6aFUwvEzTphpmRubOeQJNoMB8WZ2HONJXYmZmSj8yY31HI9keOujy1IT8HikAo/s320/%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-22+0.02.21%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
２．Doxyfile name に適当な名前を入力し[完了]ボタンをクリックします。Doxyfile Name は（プロジェクト名）.doxyfile がわかりやすいかもしれませんね。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3Ywvwx3lfV3tcaKdg5tZVh9BuBFWJtj4Fai_rYt8HCtub5c9xd2HmkbaQC5z4-7GtOBxyH56hL3aZlDP90fP3fOkmSA1wZHZEBANN5yaI9JySUwhYTu500ASeC5eYHux301F5U3YlLSM/s1600-h/%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-22+0.06.35%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3Ywvwx3lfV3tcaKdg5tZVh9BuBFWJtj4Fai_rYt8HCtub5c9xd2HmkbaQC5z4-7GtOBxyH56hL3aZlDP90fP3fOkmSA1wZHZEBANN5yaI9JySUwhYTu500ASeC5eYHux301F5U3YlLSM/s320/%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-22+0.06.35%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
ここで&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Doxygen Not Found  Eclox was not able to run doxygen.Doxygen is either missing or eclox is not properly configured to use it.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;なんてエラーが出た人は&lt;a href=&quot;http://masahikokitsugi.blogspot.com/2010/01/eclipse-35-galileo-eclox-doxygen.html&quot;&gt;インストール&lt;/a&gt;が正常に行われていません。&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
３．作成された doxyfile を開き、基本タブと拡張タブに設定を行います。設定は&lt;a href=&quot;http://monoist.atmarkit.co.jp/fembedded/articles/eclipseccplusplus/04/eclipseccplusplus04c.html&quot;&gt;ここ&lt;/a&gt;で紹介されているものをそのまま適用しました。設定が終了したらdoxyfileを保存します。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfgecqK7aCkW5CqFdIEp0XGRR1XbFQ0IAxP-agkRtfiU0iQlVhWmzsVNShBSmA17mtFACe3iHcdcHYrhCrMo61RIdFD8eRfaYHXrLUSN2cNcvEJRdJWGmfcIJaEVeETxH9LF4h5WU1B50/s1600-h/%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-22+0.21.36%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfgecqK7aCkW5CqFdIEp0XGRR1XbFQ0IAxP-agkRtfiU0iQlVhWmzsVNShBSmA17mtFACe3iHcdcHYrhCrMo61RIdFD8eRfaYHXrLUSN2cNcvEJRdJWGmfcIJaEVeETxH9LF4h5WU1B50/s320/%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-22+0.21.36%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjj-xkH1zl6yv8L2alJQQdsEJVThmjZreRNpyzBXTcFL9nECRbbofylQsAnOlVD71Qppg-tlKgGLZM1u5sT1N4O-7clSWoq-W4S0_vgcbNtEqJZWNPEnYKIbYE3gXfQwjhLhyrssR_gAnU/s1600-h/%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-22+0.35.57%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjj-xkH1zl6yv8L2alJQQdsEJVThmjZreRNpyzBXTcFL9nECRbbofylQsAnOlVD71Qppg-tlKgGLZM1u5sT1N4O-7clSWoq-W4S0_vgcbNtEqJZWNPEnYKIbYE3gXfQwjhLhyrssR_gAnU/s320/%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-22+0.35.57%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
４．doxyfileを右クリックし、「@Build Documentation」を選択します。コンソールに「*** Build finished!」が表示されたら解析終了です。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjexQIuFLMJvnX87NWl5n66CnoubXCtxct5a2meoEbqDWzmIZi8XO30hs2Vky9DxapNvJgUY7DaG8GGYUTO6tDZW9Bfk9s8IN4g6He0b9vW4kXbsZjEtCoJQElUGgdGg4z1BTf5vIpF0Tk/s1600-h/%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-22+0.45.33%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjexQIuFLMJvnX87NWl5n66CnoubXCtxct5a2meoEbqDWzmIZi8XO30hs2Vky9DxapNvJgUY7DaG8GGYUTO6tDZW9Bfk9s8IN4g6He0b9vW4kXbsZjEtCoJQElUGgdGg4z1BTf5vIpF0Tk/s320/%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-22+0.45.33%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
５．設定時に Output Directory に指定したディレクトリに解析ファイルが出力されているので、確認してみましょう。Output Directory の下に作成された html ディレクトリの中に、 index.html があります。このファイルがトップページとなります。&lt;br /&gt;
&lt;br /&gt;
index.html&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrOukJewBwXWCIBDxlg82NgLEjxeppQy4tkuA_hV-Gbko44KzMl2lFTHfH9aurK43mXnoxANEgUa50Msue1DatpTQc3XvrsNAqjZb4EvhnwC6dI-ZjoAi92ESR6LUq6kdYo1049p-TtM8/s1600-h/%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-22+0.41.46%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrOukJewBwXWCIBDxlg82NgLEjxeppQy4tkuA_hV-Gbko44KzMl2lFTHfH9aurK43mXnoxANEgUa50Msue1DatpTQc3XvrsNAqjZb4EvhnwC6dI-ZjoAi92ESR6LUq6kdYo1049p-TtM8/s320/%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-22+0.41.46%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
私が出力できた例です。全てのファイルを解析対象にしていないので、解析が不十分なところもありますが、イメージを掴めれば。。。そんな程度で見てください。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtDrSgQvzXdqqqVEn18o499VHBFAejuNFqsmrGVUVzzqXcnwSQRASOsMLo7z38VYEuQbBK9hglT5ge6vo0BI5ddl252K33JdeQfm4QVxSCmyPcn_29s5pcdvOyfk9MLsRF9qDfd81YI6g/s1600-h/%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-22+0.40.00%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtDrSgQvzXdqqqVEn18o499VHBFAejuNFqsmrGVUVzzqXcnwSQRASOsMLo7z38VYEuQbBK9hglT5ge6vo0BI5ddl252K33JdeQfm4QVxSCmyPcn_29s5pcdvOyfk9MLsRF9qDfd81YI6g/s320/%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-22+0.40.00%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&amp;nbsp;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZHPAqsYz8tau7P5riGXi6q3ZkbZP6SmPkgUU7IBhxHGTpHHnDPojDVTrnDmSp-vpG_u7zFoofZr8pYDd2ydjhQFHARDMmK2dJOAavFJzBlCc4lF7kfKaCb-7xoSJGCz51cI3xCeDKeUU/s1600-h/%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-22+0.40.32%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZHPAqsYz8tau7P5riGXi6q3ZkbZP6SmPkgUU7IBhxHGTpHHnDPojDVTrnDmSp-vpG_u7zFoofZr8pYDd2ydjhQFHARDMmK2dJOAavFJzBlCc4lF7kfKaCb-7xoSJGCz51cI3xCeDKeUU/s320/%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-22+0.40.32%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://masahikokitsugi.blogspot.com/feeds/6976028280694003361/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://masahikokitsugi.blogspot.com/2010/01/eclipse-35-galileo-eclox-doxygen_22.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/6976028280694003361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/6976028280694003361'/><link rel='alternate' type='text/html' href='http://masahikokitsugi.blogspot.com/2010/01/eclipse-35-galileo-eclox-doxygen_22.html' title='Eclipse 3.5 Galileo で Eclox (Doxygen) プラグインを使ってみる'/><author><name>Masahiko Kitsugi</name><uri>http://www.blogger.com/profile/10111770670048264628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizW6hBvJjwWmgxl4EZJdhpZe2aZr5kH3AwJ57ZN80yIVhY4n1H-2bxlr2Lbw4LvFAqoY07iF2STZzP1alOF2VMPocZpRASHHMZdfkdc0ujW3GWc7tcu2G2HppQaFIst0U/s220/P1020188.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDq3wJj-lWSCvFotLlIk0-EbpZDFQ2mWo3a6scxPOzYQSzPO1HewG5iI__ANk9u95hXjlL-wjTshO5x6aFUwvEzTphpmRubOeQJNoMB8WZ2HONJXYmZmSj8yY31HI9keOujy1IT8HikAo/s72-c/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882010-01-22+0.02.21%EF%BC%89.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9187333757492610886.post-6047182471179868105</id><published>2010-01-05T23:09:00.007+09:00</published><updated>2010-05-11T22:41:42.848+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CDT"/><category scheme="http://www.blogger.com/atom/ns#" term="Eclipse"/><category scheme="http://www.blogger.com/atom/ns#" term="Eclox(Doxygen)"/><title type='text'>Eclipse 3.5 Galileo に Eclox (Doxygen) プラグインを追加する</title><content type='html'>１．Eclipseを起動し、「ヘルプ」→「新規ソフトウェアのインストール...」を選びます。&lt;br /&gt;
&lt;br /&gt;
２．インストールダイアログが表示されるので、[追加]ボタンをクリックします。 &lt;br /&gt;
&lt;br /&gt;
３．サイトの追加ダイアログが表示されるので、ロケーションに&lt;br /&gt;
&lt;a href=&quot;http://download.gna.org/eclox/update&quot; target=&quot;_blank&quot;&gt;http://download.gna.org/eclox/update&lt;/a&gt;&lt;br /&gt;
を入力し、OKボタンをクリックします。（名前は何でも構いません。）&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQxFmH_G0mIAdkqBll1pTKrhodPKPboSHs4oqjI_-WRktTOMB_rFdq-G6F5FdydF2o5nnI7gTTrheSsoVzGBsI6_xf7PwRkmNj3_lYNB8qc_4cUkMwyWZGdHh3cD7DUvzo_c3wAcXxqL8/s1600-h/%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-05+22.56.20%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQxFmH_G0mIAdkqBll1pTKrhodPKPboSHs4oqjI_-WRktTOMB_rFdq-G6F5FdydF2o5nnI7gTTrheSsoVzGBsI6_xf7PwRkmNj3_lYNB8qc_4cUkMwyWZGdHh3cD7DUvzo_c3wAcXxqL8/s320/%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-05+22.56.20%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
４．ecloxにチェックを付け、[次へ]をクリックします。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicKQCaw5dgqmUcSnkmpBFM3GjX6Xq7jYyM6LrKIQfoZ4WWJ001Sb2mm66sXZp39xTEc-nPUBNCpE3tKJwxXGYIS-bpV7_iSivIC_Z9FeJwN4zfUuPIMEP4Wk4PA-RflVP5A4R3vx1bnBo/s1600-h/%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-05+22.59.39%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicKQCaw5dgqmUcSnkmpBFM3GjX6Xq7jYyM6LrKIQfoZ4WWJ001Sb2mm66sXZp39xTEc-nPUBNCpE3tKJwxXGYIS-bpV7_iSivIC_Z9FeJwN4zfUuPIMEP4Wk4PA-RflVP5A4R3vx1bnBo/s320/%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-05+22.59.39%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
５．インストール詳細ウィンドウが開くのでそのまま[次へ]をクリックします。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9VZPk2OsG9wEVkPVa9MR5AbQTdgW8bB51PD9yk43vbuh-OCVeFufoKGo5QVPVk5ot3pPbBOaBnhVtXKrSPq18HO2DqRHl7PlRaqydxXNqG38uZqzJugehcngYDL0C82gqNaRy0vulZjo/s1600-h/%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-05+23.01.30%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9VZPk2OsG9wEVkPVa9MR5AbQTdgW8bB51PD9yk43vbuh-OCVeFufoKGo5QVPVk5ot3pPbBOaBnhVtXKrSPq18HO2DqRHl7PlRaqydxXNqG38uZqzJugehcngYDL0C82gqNaRy0vulZjo/s320/%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-05+23.01.30%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
６．「使用条件の条項に同意します」を選択し、[完了]をクリックします。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-Mgfw2t_M1YrFZgOkIjkvjA34G07paU6JnwWe1lA6ulKyoyPI6DqGMhx3YglP_C_8E9UtLt8HHGgEQhS9cexIyUyQxyTsMu3v1XuDRvrJfx51P8xTRTRU7fnsM1ux4RnY8wrGlJCsPb8/s1600-h/%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-05+23.03.02%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-Mgfw2t_M1YrFZgOkIjkvjA34G07paU6JnwWe1lA6ulKyoyPI6DqGMhx3YglP_C_8E9UtLt8HHGgEQhS9cexIyUyQxyTsMu3v1XuDRvrJfx51P8xTRTRU7fnsM1ux4RnY8wrGlJCsPb8/s320/%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-05+23.03.02%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
７．Eclipseを再起動し、「ファイル」→「新規」→「その他...」で新規ウィザード上で「その他」を展開し、 Doxyfile があればインストール成功です。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiA4o_Dyx3oEXBIZHrgDtzAce28j3xAyeSOo0mIplfUGgyDS2bLv7Mh_3rCPWEhTpMu836t5eEefa2v6ReNnGNKKXKMrIUrqYVkjV9Y7vxFezLOgMLOOf-V7MdsABjxUvdYTqvhB5Od-mQ/s1600-h/%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-05+23.07.57%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiA4o_Dyx3oEXBIZHrgDtzAce28j3xAyeSOo0mIplfUGgyDS2bLv7Mh_3rCPWEhTpMu836t5eEefa2v6ReNnGNKKXKMrIUrqYVkjV9Y7vxFezLOgMLOOf-V7MdsABjxUvdYTqvhB5Od-mQ/s320/%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-05+23.07.57%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
さて、プラグインのインストールが出来たので、これで動作すると思いがち（私は思った）ですが、このままでは期待する動作を全くしてくれません。&lt;br /&gt;
このEcloxプラグインはDoxygenをEclipseで使えるようにしてくれる「橋渡し的な」存在なのです。&lt;br /&gt;
ですので、Doxygen本体は別にインストールしないといけない訳です。&lt;br /&gt;
私はMacユーザなのでMac用の説明をします。&lt;br /&gt;
&lt;br /&gt;
８．&lt;a href=&quot;http://www.stack.nl/%7Edimitri/doxygen/download.html&quot;&gt;http://www.stack.nl/~dimitri/doxygen/download.html&lt;/a&gt; ここから Doxygen-1.6.2.dmg をダウンロードします。&lt;br /&gt;
私はSnow Leopard ですが、現在対応していないので、 Leopard のものをダウンロードしました。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9GtMjYkTeDZsNl1Ga5cNwPb_O6ZApzXRfmqLSH__p7dFwYTfwaNU7pq_2LYqI8ExG_lROS-57HTIpmhyphenhyphend4LOzYVoxzmjVTBDvD5q85MoSpn_LkSqfIYlNfXGPA_mfWvszQM53lfKjWBI/s1600-h/%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-21+23.27.20%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9GtMjYkTeDZsNl1Ga5cNwPb_O6ZApzXRfmqLSH__p7dFwYTfwaNU7pq_2LYqI8ExG_lROS-57HTIpmhyphenhyphend4LOzYVoxzmjVTBDvD5q85MoSpn_LkSqfIYlNfXGPA_mfWvszQM53lfKjWBI/s320/%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-21+23.27.20%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
９．ダウンロードしたファイルをダブルクリックします。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1lpknuLmrH4bEMV5PwoxG94Wl0622lqpD0F6nSii7ZA-SEYkz7z6Uhs1dlkc0o0Ni_XW-k1mCzTttoPo3f0aBTo580vD-xgDlmAbOdxwfFk9s9I4gp5y4Pz6my7DiC55KD4YDRVEY_0A/s1600-h/%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-21+23.35.27%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1lpknuLmrH4bEMV5PwoxG94Wl0622lqpD0F6nSii7ZA-SEYkz7z6Uhs1dlkc0o0Ni_XW-k1mCzTttoPo3f0aBTo580vD-xgDlmAbOdxwfFk9s9I4gp5y4Pz6my7DiC55KD4YDRVEY_0A/s320/%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-21+23.35.27%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
１０．Doxygen.app の「パッケージの内容を表示」します。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb9EX0TFXYUNDKqyNTybFgT3j9Dw-JYF1R-bBVEpPUO-cLYvV6KlvbNzaQLO6WnuzwpFI71gRj38prM4HQ1bxpif4UdKa7LIomq_r9dl-95dwfGdI1R9SH2X0ukJoH4DcyrPQmQ6Cj4N8/s1600-h/%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-21+23.39.17%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb9EX0TFXYUNDKqyNTybFgT3j9Dw-JYF1R-bBVEpPUO-cLYvV6KlvbNzaQLO6WnuzwpFI71gRj38prM4HQ1bxpif4UdKa7LIomq_r9dl-95dwfGdI1R9SH2X0ukJoH4DcyrPQmQ6Cj4N8/s320/%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-21+23.39.17%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
１１．任意の場所にディレクトリを作成し、そこに /Contents/Resources/Doxygen のシンボリックリンクを作ります。（シンボリックリンクの作り方がどうしてもわからない場合は、/Contents/Resources/Doxygen をコピーでもいいです）&lt;br /&gt;
&lt;br /&gt;
１２．Eclipse の「環境設定」→「Doxygen」を選択し、[追加]ボタンをクリックします。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaMRD4wqN95awZ3Enksgl8SHDNVRC5UXXKsYiO9TBD1O_VNdsM0aVa2VyWlj3mJEA1NK2hHN5Nq_IOdcnLWdtcK3zcKdzm-U55RQ7NT8KqmmyQaao-QZA7glm_iCi4p_iAa_1V2i_mJ44/s1600-h/%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-21+23.44.03%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaMRD4wqN95awZ3Enksgl8SHDNVRC5UXXKsYiO9TBD1O_VNdsM0aVa2VyWlj3mJEA1NK2hHN5Nq_IOdcnLWdtcK3zcKdzm-U55RQ7NT8KqmmyQaao-QZA7glm_iCi4p_iAa_1V2i_mJ44/s320/%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-21+23.44.03%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
１３．１１で作成したシンボリックリンクのあるディレクトリを指定します。（ちなみにWindowsの場合はDoxygen.exeのあるディレクトリを指定すれば良いらしい。確認してないですけど・・・）&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHNxhcpVdgj0seJt4PKW9y1hmjOELpgfGO7Nu9bvwpok_54PSO8P81f0ueXH735nL1Rl7QZH2Sn7PsyxrSUSSwBZQxz8-x5dcFvL3U_1-b8m9bcp_f33gmslXHxpPQSLzfd_d3aH72NOY/s1600-h/%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-21+23.47.44%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHNxhcpVdgj0seJt4PKW9y1hmjOELpgfGO7Nu9bvwpok_54PSO8P81f0ueXH735nL1Rl7QZH2Sn7PsyxrSUSSwBZQxz8-x5dcFvL3U_1-b8m9bcp_f33gmslXHxpPQSLzfd_d3aH72NOY/s320/%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-21+23.47.44%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
これで使えるようになります。使い方は&lt;a href=&quot;http://masahikokitsugi.blogspot.com/2010/01/eclipse-35-galileo-eclox-doxygen_22.html&quot;&gt;こちら&lt;/a&gt;。</content><link rel='replies' type='application/atom+xml' href='http://masahikokitsugi.blogspot.com/feeds/6047182471179868105/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://masahikokitsugi.blogspot.com/2010/01/eclipse-35-galileo-eclox-doxygen.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/6047182471179868105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/6047182471179868105'/><link rel='alternate' type='text/html' href='http://masahikokitsugi.blogspot.com/2010/01/eclipse-35-galileo-eclox-doxygen.html' title='Eclipse 3.5 Galileo に Eclox (Doxygen) プラグインを追加する'/><author><name>Masahiko Kitsugi</name><uri>http://www.blogger.com/profile/10111770670048264628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizW6hBvJjwWmgxl4EZJdhpZe2aZr5kH3AwJ57ZN80yIVhY4n1H-2bxlr2Lbw4LvFAqoY07iF2STZzP1alOF2VMPocZpRASHHMZdfkdc0ujW3GWc7tcu2G2HppQaFIst0U/s220/P1020188.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQxFmH_G0mIAdkqBll1pTKrhodPKPboSHs4oqjI_-WRktTOMB_rFdq-G6F5FdydF2o5nnI7gTTrheSsoVzGBsI6_xf7PwRkmNj3_lYNB8qc_4cUkMwyWZGdHh3cD7DUvzo_c3wAcXxqL8/s72-c/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882010-01-05+22.56.20%EF%BC%89.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9187333757492610886.post-2072149429629834748</id><published>2009-12-21T00:51:00.007+09:00</published><updated>2010-05-11T22:42:48.241+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CppUnit"/><category scheme="http://www.blogger.com/atom/ns#" term="Eclipse"/><category scheme="http://www.blogger.com/atom/ns#" term="ECUT"/><title type='text'>Eclipse 3.5 Galileo に ECUT (Eclipse C++ Unit Testing) プラグインを追加する</title><content type='html'>Eclipseを日本語化しているので、英語のままの人は画像を見ながら頑張ってください。&lt;br /&gt;
&lt;br /&gt;
１．&lt;a href=&quot;http://sourceforge.net/projects/ecut/&quot;&gt;ここのサイト&lt;/a&gt;から「ECUT_M2.zip」を任意の場所にダウンロードし、任意の場所に解凍します。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEif1Cg0Kw3DEMEiHua5od5Nkr1QY3GwblZpxcL-dY3b6V35Q4QCLKqL1mOTXbV-P7744g1Y8rVcAzSCVFEFCkLYbksiVLcwthE8_nCo_OYu5aYNzGw9JlS0v0vjD0SPR0lML7tORXJXmwQ/s1600-h/%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-27+22.52.45%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEif1Cg0Kw3DEMEiHua5od5Nkr1QY3GwblZpxcL-dY3b6V35Q4QCLKqL1mOTXbV-P7744g1Y8rVcAzSCVFEFCkLYbksiVLcwthE8_nCo_OYu5aYNzGw9JlS0v0vjD0SPR0lML7tORXJXmwQ/s320/%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-27+22.52.45%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
２．Eclipseを起動し、「ヘルプ」→「新規ソフトウェアのインストール...」を選びます。&lt;br /&gt;
&lt;br /&gt;
３．インストールウィンドウが開くので、「作業対象」にある[追加]ボタンをクリックします。&lt;br /&gt;
&lt;br /&gt;
４．サイトの追加ウィンドウが開くので、「ローカル...」をクリックし、解凍したディレクトリ内のを「net.sf.ecut.update-site」指定し、「名前」に適当な名前（cppunitとか）を付けて[OK]ボタンをクリックします。（画像はエラーが出てますが、初めてインストールする場合は出ないので気にしないでください。）&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjX5BPJyXuJ4Lp1A7sho9nPF0mRR0owUTnfKde30UEk0_F6o-cO0C4EVsT_hFFIo_nJ0aToXoik3MjYNV_bnHnzgaFrSGa3tGB26ZH0zBwKHRvB1kxRkou_r6aUAkF5gNZjG3SaEnJfizY/s1600-h/%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-27+22.59.06%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjX5BPJyXuJ4Lp1A7sho9nPF0mRR0owUTnfKde30UEk0_F6o-cO0C4EVsT_hFFIo_nJ0aToXoik3MjYNV_bnHnzgaFrSGa3tGB26ZH0zBwKHRvB1kxRkou_r6aUAkF5gNZjG3SaEnJfizY/s320/%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-27+22.59.06%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
５．「ECUT 」にチェックし[次へ]をクリックします。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdnVWgYlaxhU8CsTPZWqy9fMsMoXMWP0itzWupPFJKyGyjYsCknM-nbVSUQACb2qUhLL0SIj1Lp3GdFz17yL7s8x9iQnhAA8k_pJK2Wu0pZZiWkWGOIc-D4qsWSGhk4kN4uPWqcr7gxUA/s1600-h/%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-27+23.01.37%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdnVWgYlaxhU8CsTPZWqy9fMsMoXMWP0itzWupPFJKyGyjYsCknM-nbVSUQACb2qUhLL0SIj1Lp3GdFz17yL7s8x9iQnhAA8k_pJK2Wu0pZZiWkWGOIc-D4qsWSGhk4kN4uPWqcr7gxUA/s320/%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-27+23.01.37%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
６．インストール詳細ウィンドウが開くので[完了]をクリックします。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivdZ9WsFLt_5Vw8xok8IdKmZSsiU1wmO0lpluCnCNOIg0ccgL1l88wPw-mRzYwaDXD25Egq-ZEcOwCTHFI1jgj4ZvKo1fPTIdIRtcXRDq2yrh76g6ZMN6aZnSbRxMi0gWxUQ9tr4UHCXA/s1600-h/%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-27+23.03.30%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivdZ9WsFLt_5Vw8xok8IdKmZSsiU1wmO0lpluCnCNOIg0ccgL1l88wPw-mRzYwaDXD25Egq-ZEcOwCTHFI1jgj4ZvKo1fPTIdIRtcXRDq2yrh76g6ZMN6aZnSbRxMi0gWxUQ9tr4UHCXA/s320/%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-27+23.03.30%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
７． Eclipseを再起動し、任意のソースファイルを右クリック→「新規」→「その他...」で新規ウィザード上で「その他」を展開し、 CppUnit Test Case があればインストール成功です。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8M23NWDrPrGBS5P8Wt70x1TdH9ex1zfiRjmIedJZkPeIe30Ylb4Pj4j54qo3rEKcQ4Igui-ymc-6DbWunxq7SCbzpI1TsfswtvQDsE8tq2hrDtaWZj6rO8wi3Kmx9RCcg45-5zd6xsXc/s1600-h/%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-27+23.08.54%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8M23NWDrPrGBS5P8Wt70x1TdH9ex1zfiRjmIedJZkPeIe30Ylb4Pj4j54qo3rEKcQ4Igui-ymc-6DbWunxq7SCbzpI1TsfswtvQDsE8tq2hrDtaWZj6rO8wi3Kmx9RCcg45-5zd6xsXc/s320/%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-27+23.08.54%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://masahikokitsugi.blogspot.com/feeds/2072149429629834748/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://masahikokitsugi.blogspot.com/2009/12/eclipse-35-galileo-ecut-eclipse-c-unit.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/2072149429629834748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/2072149429629834748'/><link rel='alternate' type='text/html' href='http://masahikokitsugi.blogspot.com/2009/12/eclipse-35-galileo-ecut-eclipse-c-unit.html' title='Eclipse 3.5 Galileo に ECUT (Eclipse C++ Unit Testing) プラグインを追加する'/><author><name>Masahiko Kitsugi</name><uri>http://www.blogger.com/profile/10111770670048264628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizW6hBvJjwWmgxl4EZJdhpZe2aZr5kH3AwJ57ZN80yIVhY4n1H-2bxlr2Lbw4LvFAqoY07iF2STZzP1alOF2VMPocZpRASHHMZdfkdc0ujW3GWc7tcu2G2HppQaFIst0U/s220/P1020188.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEif1Cg0Kw3DEMEiHua5od5Nkr1QY3GwblZpxcL-dY3b6V35Q4QCLKqL1mOTXbV-P7744g1Y8rVcAzSCVFEFCkLYbksiVLcwthE8_nCo_OYu5aYNzGw9JlS0v0vjD0SPR0lML7tORXJXmwQ/s72-c/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882010-01-27+22.52.45%EF%BC%89.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9187333757492610886.post-2166224613735879962</id><published>2009-12-18T02:23:00.009+09:00</published><updated>2010-05-11T22:43:18.705+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Eclipse"/><category scheme="http://www.blogger.com/atom/ns#" term="SVN"/><title type='text'>Eclipse 3.5 Galileo に Subversion プラグインを追加する</title><content type='html'>Eclipseを日本語化しているので、英語のままの人は画像を見ながら頑張ってください。&lt;br /&gt;
&lt;br /&gt;
１．Eclipseを起動し、「ヘルプ」→「新規ソフトウェアのインストール...」を選びます。&lt;br /&gt;
&lt;br /&gt;
２．インストールウィンドウが開くので、「作業対象」に&lt;br /&gt;
&lt;a href=&quot;http://download.eclipse.org/releases/galileo&quot;&gt;http://download.eclipse.org/releases/galileo&lt;/a&gt;&lt;br /&gt;
と入力します。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpFggXrY_oCG78Ubz3dRQDRedHYXHtbESE73e8XPD_mqVDjxAux9BcKoBPICQeSkFfFlKiMpkoM8kXD-ycqMI1xdquljVqo2FIWW9vWXnma3_d5OPKyDkCZTr4wkL3dZIcDIDy5ByFw1o/s1600-h/%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-18+1.57.46%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpFggXrY_oCG78Ubz3dRQDRedHYXHtbESE73e8XPD_mqVDjxAux9BcKoBPICQeSkFfFlKiMpkoM8kXD-ycqMI1xdquljVqo2FIWW9vWXnma3_d5OPKyDkCZTr4wkL3dZIcDIDy5ByFw1o/s320/%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-18+1.57.46%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
３．「コラボレーション」を展開し、「Subversive SVN チーム・プロバイダー（インキュペーション）」を選択し、[次へ]をクリックします。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMOzkvHkN2yVZYpSQZ70xiukH1YxTO8Kxr14-G13QZZvvzycGHIPfcp81SAhpdA3UAjxPg98XWizE8qoEBGjp6HOHE6CmiVBUcAD1HOieBZPYRfypWC7SqNelaIyVNs6CLjqceoXAYDtI/s1600-h/%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-18+2.02.04%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMOzkvHkN2yVZYpSQZ70xiukH1YxTO8Kxr14-G13QZZvvzycGHIPfcp81SAhpdA3UAjxPg98XWizE8qoEBGjp6HOHE6CmiVBUcAD1HOieBZPYRfypWC7SqNelaIyVNs6CLjqceoXAYDtI/s320/%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-18+2.02.04%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
４．インストール詳細ウィンドウが開くのでそのまま[次へ]をクリックします。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMJwOoick6ON_Yvu4_IpstamoiLOtq4WtaXgiJ99P8RGfMayy-OdxidaQSOzxeOzzVQZ5JBlPnJoxYOnN7IKpwyhfvnX6PxFCVg81OV9tnVyK5iZz_qcbtDtgpJjB8dx9ZjeNpx6rgDJo/s1600-h/%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-18+2.05.14%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMJwOoick6ON_Yvu4_IpstamoiLOtq4WtaXgiJ99P8RGfMayy-OdxidaQSOzxeOzzVQZ5JBlPnJoxYOnN7IKpwyhfvnX6PxFCVg81OV9tnVyK5iZz_qcbtDtgpJjB8dx9ZjeNpx6rgDJo/s320/%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-18+2.05.14%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
５．「使用条件の条項に同意します」を選択し、[完了]をクリックします。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_Hj4epRsyVNkrEV5xzWGQeC_NsA6R078eOAXOsgoJcUpdhrxj1K-XNXpy0HPFBJS9oHmXim5HKSh-IWKjJjVI8qCJAxi7CaU53rJaaUlBV_sjLi2jpALWj-X6IvdzLXbMuQREUjGJU8w/s1600-h/%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-18+2.06.09%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_Hj4epRsyVNkrEV5xzWGQeC_NsA6R078eOAXOsgoJcUpdhrxj1K-XNXpy0HPFBJS9oHmXim5HKSh-IWKjJjVI8qCJAxi7CaU53rJaaUlBV_sjLi2jpALWj-X6IvdzLXbMuQREUjGJU8w/s320/%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-18+2.06.09%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
６．インストールが完了し、Eclipseが再起動したら、１の手順を再度行います。&lt;br /&gt;
&lt;br /&gt;
７．インストールウィンドウが開くので、「作業対象」に&lt;br /&gt;
&lt;a href=&quot;http://www.polarion.org/projects/subversive/download/eclipse/2.0/update-site/&quot;&gt;http://www.polarion.org/projects/subversive/download/eclipse/2.0/update-site/&lt;/a&gt;&lt;br /&gt;
と入力し、「Subversive SVN コネクター」を展開し、「Subversive SVN コネクター」と「SVNKit 1.3.0 実装（オプション）」にチェックし[次へ]をクリックします。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq9Bj0zBmH7s-I90hGNoUaSPD1HCXKDy8qdzqMyww_FffHPSZ0MT0X2U6n9LX_xne_IQIhygmTzJwQS88qz7lCcaJ-wou-Gavm2UahaGlhVJEy4JCMkzqhJJe4Lkb3SVYvnEPFEq4EDdA/s1600-h/%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-18+2.17.40%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq9Bj0zBmH7s-I90hGNoUaSPD1HCXKDy8qdzqMyww_FffHPSZ0MT0X2U6n9LX_xne_IQIhygmTzJwQS88qz7lCcaJ-wou-Gavm2UahaGlhVJEy4JCMkzqhJJe4Lkb3SVYvnEPFEq4EDdA/s320/%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-18+2.17.40%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
８．インストール詳細ウィンドウが開くので[完了]をクリックします。&lt;br /&gt;
&lt;br /&gt;
９．インストールが完了し、Eclipseを再起動して、プロジェクトを右クリック→「チーム」→「プロジェクトの共用...」を選択し、開いたウィンドウに SVN があればインストール成功です。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4swlIS5jOZzbo5T0zjwiKMRQhGsol2WW5Tf5Hq0-sxLGVlMuUf69iDWzPlsDBVg_sYQuSFx5Q4JC9WSaNhUC2D1_jacyyeLc26TsWo-Vy6R5sC2AASey0Iysqmq_sfH1xpglBT2TbmoA/s1600-h/%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-18+2.21.34%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4swlIS5jOZzbo5T0zjwiKMRQhGsol2WW5Tf5Hq0-sxLGVlMuUf69iDWzPlsDBVg_sYQuSFx5Q4JC9WSaNhUC2D1_jacyyeLc26TsWo-Vy6R5sC2AASey0Iysqmq_sfH1xpglBT2TbmoA/s320/%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-18+2.21.34%EF%BC%89.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://masahikokitsugi.blogspot.com/feeds/2166224613735879962/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://masahikokitsugi.blogspot.com/2009/12/eclipse-35-galileo-subversion.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/2166224613735879962'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/2166224613735879962'/><link rel='alternate' type='text/html' href='http://masahikokitsugi.blogspot.com/2009/12/eclipse-35-galileo-subversion.html' title='Eclipse 3.5 Galileo に Subversion プラグインを追加する'/><author><name>Masahiko Kitsugi</name><uri>http://www.blogger.com/profile/10111770670048264628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizW6hBvJjwWmgxl4EZJdhpZe2aZr5kH3AwJ57ZN80yIVhY4n1H-2bxlr2Lbw4LvFAqoY07iF2STZzP1alOF2VMPocZpRASHHMZdfkdc0ujW3GWc7tcu2G2HppQaFIst0U/s220/P1020188.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpFggXrY_oCG78Ubz3dRQDRedHYXHtbESE73e8XPD_mqVDjxAux9BcKoBPICQeSkFfFlKiMpkoM8kXD-ycqMI1xdquljVqo2FIWW9vWXnma3_d5OPKyDkCZTr4wkL3dZIcDIDy5ByFw1o/s72-c/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882009-12-18+1.57.46%EF%BC%89.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9187333757492610886.post-4242353974090557893</id><published>2009-12-03T21:45:00.007+09:00</published><updated>2010-02-23T00:19:23.697+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CDT"/><category scheme="http://www.blogger.com/atom/ns#" term="Eclipse"/><category scheme="http://www.blogger.com/atom/ns#" term="Mac"/><title type='text'>Mac OS X 10.6 Snow Leopard で CDT を動かしてみる</title><content type='html'>Mac OS X 10.6 Snow Leopard で Eclipse3.5 Galileo + CDT を動かそうとすると、デバッグができない。&lt;br /&gt;
&lt;br /&gt;
実行構成や、デバッグ構成、環境変数（PATH）の設定、バイナリパーサーの設定等いろいろ試しても動かない。&lt;br /&gt;
&lt;br /&gt;
原因は Snow Leopard に入っている gcc のバージョンにあります。&lt;br /&gt;
&lt;br /&gt;
切り替えを行っていない限りバージョン4.2が参照されていると思います&lt;br /&gt;
。&lt;br /&gt;
確認方法は、ターミナルで&lt;br /&gt;
&lt;br /&gt;
gcc -dumpversion&lt;br /&gt;
&lt;br /&gt;
で確認できます。&lt;br /&gt;
&lt;br /&gt;
gcc4.2 は64bitのバイナリを生成します。&lt;br /&gt;
&lt;br /&gt;
実行構成のプロジェクトの検索ボタンを押すと、 CDT が自動でバイナリを認識して、一覧に表示してくれるそうだが、64bitバイナリを認識できていないようです。&lt;br /&gt;
&lt;br /&gt;
Snow Leopard には gcc4.0（32bitバイナリ）も入っているので、参照されている gcc のシンボリックリンクを貼り直すことで対処します。&lt;br /&gt;
&lt;br /&gt;
cd /usr/bin&lt;br /&gt;
sudo rm cc gcc c++ g++&lt;br /&gt;
sudo ln -s gcc-4.0 cc&lt;br /&gt;
sudo ln -s gcc-4.0 gcc&lt;br /&gt;
sudo ln -s c++-4.0 c++&lt;br /&gt;
sudo ln -s g++-4.0 g++&lt;br /&gt;
&lt;br /&gt;
以上のコマンドで 4.0 を参照するようになります。&lt;br /&gt;
&lt;br /&gt;
4.2 に戻したいときは以下のコマンドを実行してください。&lt;br /&gt;
&lt;br /&gt;
cd /usr/bin&lt;br /&gt;
sudo rm cc gcc c++ g++&lt;br /&gt;
sudo ln -s gcc-4.2 cc&lt;br /&gt;
sudo ln -s gcc-4.2 gcc&lt;br /&gt;
sudo ln -s c++-4.2 c++&lt;br /&gt;
sudo ln -s g++-4.2 g++&lt;br /&gt;
&lt;br /&gt;
クリーンビルドを実行し、実行構成の設定を再度行えば、CDTがバイナリを認識するはずです。</content><link rel='replies' type='application/atom+xml' href='http://masahikokitsugi.blogspot.com/feeds/4242353974090557893/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://masahikokitsugi.blogspot.com/2009/12/snow-leopard-cdt.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/4242353974090557893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/4242353974090557893'/><link rel='alternate' type='text/html' href='http://masahikokitsugi.blogspot.com/2009/12/snow-leopard-cdt.html' title='Mac OS X 10.6 Snow Leopard で CDT を動かしてみる'/><author><name>Masahiko Kitsugi</name><uri>http://www.blogger.com/profile/10111770670048264628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizW6hBvJjwWmgxl4EZJdhpZe2aZr5kH3AwJ57ZN80yIVhY4n1H-2bxlr2Lbw4LvFAqoY07iF2STZzP1alOF2VMPocZpRASHHMZdfkdc0ujW3GWc7tcu2G2HppQaFIst0U/s220/P1020188.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9187333757492610886.post-3908017803129259001</id><published>2009-11-22T02:08:00.009+09:00</published><updated>2010-05-11T22:44:08.085+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Eclipse"/><category scheme="http://www.blogger.com/atom/ns#" term="Git"/><title type='text'>Eclipse 3.5 Galileo に Git プラグインを追加する</title><content type='html'>Eclipseを日本語化しているので、英語のままの人は画像を見ながら頑張ってください。&lt;br /&gt;
&lt;br /&gt;
１．Eclipse を起動し、メニューの「ヘルプ」→「新規ソフトウェアのインストール...」を選択します。&lt;br /&gt;
&lt;br /&gt;
２．インストールダイアログが表示されるので、[追加]ボタンをクリックします。&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7nraQHCgv_LgIa0Dnlosu_P-qQsmk2WKyDosnolAUSrKOWYFdHzAm_okZakf8vp5YmtpURvTWLV8s3AeL-kj5LEi-8cRhNUkj_pexUFIAd_GgX6p3Nm-Vjj31adEWWpKtrcH-9ivMh7c/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882009-11-22+2.25.37%EF%BC%89.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5406609933585754738&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7nraQHCgv_LgIa0Dnlosu_P-qQsmk2WKyDosnolAUSrKOWYFdHzAm_okZakf8vp5YmtpURvTWLV8s3AeL-kj5LEi-8cRhNUkj_pexUFIAd_GgX6p3Nm-Vjj31adEWWpKtrcH-9ivMh7c/s320/%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-11-22+2.25.37%EF%BC%89.png&quot; style=&quot;cursor: pointer; display: block; height: 263px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
３．サイトの追加ダイアログが表示されるので、ロケーションに &lt;a href=&quot;http://www.jgit.org/update-site/&quot; target=&quot;_blank&quot;&gt;http://www.jgit.org/update-site/&lt;/a&gt; を入力し、OKボタンをクリックします。（名前は何でも構いません。）&lt;br /&gt;
&lt;br /&gt;
４．プラグイン一覧が表示されるので、リリース・ビルドを選択し[次へ]。&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6FhOLwGXAVdj5sBDVWUfIiVsvwAJwwI4fy_SHhAlBZPxYJh3J7YGLwyL1WkmWFzE1g5KVtBcApjw5bw_LtOmDdNGzKAvaHFBp1cpqEnIh1QpXH5vz2nad36s2Z5ergIDXlGfcnWi3dOc/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882009-11-22+2.56.51%EF%BC%89.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5406617524013399298&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6FhOLwGXAVdj5sBDVWUfIiVsvwAJwwI4fy_SHhAlBZPxYJh3J7YGLwyL1WkmWFzE1g5KVtBcApjw5bw_LtOmDdNGzKAvaHFBp1cpqEnIh1QpXH5vz2nad36s2Z5ergIDXlGfcnWi3dOc/s320/%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-11-22+2.56.51%EF%BC%89.png&quot; style=&quot;display: block; height: 263px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
５．インストール詳細が表示されるので、Eclipse Git フィーチャーを選択し[完了]をクリック。&lt;br /&gt;
&lt;br /&gt;
６．インストール中に警告が出ますが、OKボタンをクリックで完了です。</content><link rel='replies' type='application/atom+xml' href='http://masahikokitsugi.blogspot.com/feeds/3908017803129259001/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://masahikokitsugi.blogspot.com/2009/11/eclipse-35-galileo-git.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/3908017803129259001'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9187333757492610886/posts/default/3908017803129259001'/><link rel='alternate' type='text/html' href='http://masahikokitsugi.blogspot.com/2009/11/eclipse-35-galileo-git.html' title='Eclipse 3.5 Galileo に Git プラグインを追加する'/><author><name>Masahiko Kitsugi</name><uri>http://www.blogger.com/profile/10111770670048264628</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizW6hBvJjwWmgxl4EZJdhpZe2aZr5kH3AwJ57ZN80yIVhY4n1H-2bxlr2Lbw4LvFAqoY07iF2STZzP1alOF2VMPocZpRASHHMZdfkdc0ujW3GWc7tcu2G2HppQaFIst0U/s220/P1020188.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7nraQHCgv_LgIa0Dnlosu_P-qQsmk2WKyDosnolAUSrKOWYFdHzAm_okZakf8vp5YmtpURvTWLV8s3AeL-kj5LEi-8cRhNUkj_pexUFIAd_GgX6p3Nm-Vjj31adEWWpKtrcH-9ivMh7c/s72-c/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882009-11-22+2.25.37%EF%BC%89.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>