<?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-5839525130801638275</id><updated>2024-08-30T10:04:29.671+09:00</updated><category term="レイアウト"/><category term="UI オブジェクト"/><category term="ダイアログ"/><title type='text'>Android アプリ開発サンプル集</title><subtitle type='html'>Android アプリの開発で使えそうなサンプルを紹介しています。</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://androidexsamples.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5839525130801638275/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://androidexsamples.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>o-man</name><uri>http://www.blogger.com/profile/03383022153573159359</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5839525130801638275.post-5880927172559845557</id><published>2013-02-23T14:58:00.004+09:00</published><updated>2013-03-02T23:36:55.579+09:00</updated><title type='text'>簡単な Android 開発環境構築</title><content type='html'>簡単な Android の開発環境構築方法について説明します。&lt;br&gt;
以前（Android SDK r21より前）は、eclipse 、JDK、Android SDK 等をインストールし、eclipse に Android 開発用ツールのプラグインをインストールしたりと結構面倒だったのですが、Android SDK r21 では、eclipse、Android SDK、Android 開発用ツールがセットになって提供されるようになりました。&lt;br&gt;
&lt;br&gt;
なので、面倒な環境構築はなく、以下の二つをインストールするだけで環境構築できるようになりました。&lt;br&gt;
・ JDK（Javaの開発環境）&lt;br&gt;
・ Android SDK （Androidの開発環境 + eclipse + 開発用ツール）&lt;br&gt;
（・ 日本語化用のファイル）&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://androidexsamples.blogspot.com/2013/02/android.html#more&quot;&gt;続きを読む »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://androidexsamples.blogspot.com/feeds/5880927172559845557/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://androidexsamples.blogspot.com/2013/02/android.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5839525130801638275/posts/default/5880927172559845557'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5839525130801638275/posts/default/5880927172559845557'/><link rel='alternate' type='text/html' href='http://androidexsamples.blogspot.com/2013/02/android.html' title='簡単な Android 開発環境構築'/><author><name>o-man</name><uri>http://www.blogger.com/profile/03383022153573159359</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYKVIkMWmBYQsbBXThwgDlgYziS5CXHT1i5p6Y8lTOpJTVrsd1t-X8Oh7YypbIVjBMuyyoG6GqNNnNmHXuBFO-CkQl__oRzHu6oMyt8J8d8j7OCaOBgMnv1jSj_bqHOsI5ZMCFLIze3Ayg/s72-c/jdk_download.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5839525130801638275.post-2989431360517578101</id><published>2012-07-16T11:04:00.000+09:00</published><updated>2012-11-16T00:11:13.935+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="レイアウト"/><title type='text'>2 行のテキストを表示するリスト表示 (ListView)</title><content type='html'>Android アプリで、リスト表示をするには、ListView (リストビュー) クラスを使用します。&lt;br&gt;
リストの項目に 2 行のテキストを表示する ListView (リストビュー) の使い方を紹介します。&lt;br&gt;
(2 行のテキストを表示する ListView の作成と項目選択時の処理についてのサンプルです)&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/AVvXsEjFTGpklo_YuJgxXOO3dzbZGmDwXUFnya97cOu2kLiDm6urF4okKVz-aTQ1-3Khv5jbjMElousw13Lq6nQV2uiKfMWj6CQgzNDbls8z9WZdg_0xGcu4cHRw_mdVtg7Y4XN6gDPOxy4hmPG-/s1600/listview_text2.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/AVvXsEjFTGpklo_YuJgxXOO3dzbZGmDwXUFnya97cOu2kLiDm6urF4okKVz-aTQ1-3Khv5jbjMElousw13Lq6nQV2uiKfMWj6CQgzNDbls8z9WZdg_0xGcu4cHRw_mdVtg7Y4XN6gDPOxy4hmPG-/s320/listview_text2.png&quot; width=&quot;192&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;a href=&quot;http://androidexsamples.blogspot.com/2012/06/2-listview.html#more&quot;&gt;続きを読む »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://androidexsamples.blogspot.com/feeds/2989431360517578101/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://androidexsamples.blogspot.com/2012/06/2-listview.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5839525130801638275/posts/default/2989431360517578101'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5839525130801638275/posts/default/2989431360517578101'/><link rel='alternate' type='text/html' href='http://androidexsamples.blogspot.com/2012/06/2-listview.html' title='2 行のテキストを表示するリスト表示 (ListView)'/><author><name>o-man</name><uri>http://www.blogger.com/profile/03383022153573159359</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFTGpklo_YuJgxXOO3dzbZGmDwXUFnya97cOu2kLiDm6urF4okKVz-aTQ1-3Khv5jbjMElousw13Lq6nQV2uiKfMWj6CQgzNDbls8z9WZdg_0xGcu4cHRw_mdVtg7Y4XN6gDPOxy4hmPG-/s72-c/listview_text2.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5839525130801638275.post-1051979874318526271</id><published>2012-06-09T15:13:00.000+09:00</published><updated>2012-06-09T15:13:58.064+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="レイアウト"/><title type='text'>テキストを表示するシンプルなリスト表示 (ListView)</title><content type='html'>Android アプリで、リスト表示するには、ListView (リストビュー) クラスを使用します。&lt;br&gt;
リストの項目にテキストを表示する ListView (リストビュー) のシンプルな使い方を紹介します。&lt;br&gt;
(ListView の表示と、項目の選択イベントについて）&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/AVvXsEj3WqOsWCTghH_THMCtHhGvg9-V0EMEk6u7bpYzYx3HP141tVOrsMRM6xBS_VYbVCRfGuVsqx-e4787nqowkKi9afG4DMN1wh8FKxLxJAzRTAh0GiM3zpDL3Hjh1C1J1j_EZSWlWB0J5Tlw/s1600/listview_text1.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/AVvXsEj3WqOsWCTghH_THMCtHhGvg9-V0EMEk6u7bpYzYx3HP141tVOrsMRM6xBS_VYbVCRfGuVsqx-e4787nqowkKi9afG4DMN1wh8FKxLxJAzRTAh0GiM3zpDL3Hjh1C1J1j_EZSWlWB0J5Tlw/s320/listview_text1.png&quot; width=&quot;192&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;a href=&quot;http://androidexsamples.blogspot.com/2012/06/listview.html#more&quot;&gt;続きを読む »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://androidexsamples.blogspot.com/feeds/1051979874318526271/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://androidexsamples.blogspot.com/2012/06/listview.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5839525130801638275/posts/default/1051979874318526271'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5839525130801638275/posts/default/1051979874318526271'/><link rel='alternate' type='text/html' href='http://androidexsamples.blogspot.com/2012/06/listview.html' title='テキストを表示するシンプルなリスト表示 (ListView)'/><author><name>o-man</name><uri>http://www.blogger.com/profile/03383022153573159359</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3WqOsWCTghH_THMCtHhGvg9-V0EMEk6u7bpYzYx3HP141tVOrsMRM6xBS_VYbVCRfGuVsqx-e4787nqowkKi9afG4DMN1wh8FKxLxJAzRTAh0GiM3zpDL3Hjh1C1J1j_EZSWlWB0J5Tlw/s72-c/listview_text1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5839525130801638275.post-2504667438912771682</id><published>2012-05-31T23:05:00.001+09:00</published><updated>2012-05-31T23:11:41.269+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="UI オブジェクト"/><title type='text'>テキスト入力用の View を表示する (EditText)</title><content type='html'>Android アプリで、テキストを入力するための View を表示するには、エディットテキスト (EditText) クラスを使用します。&lt;br&gt;
ここでは、エディットテキスト (EditText) を表示し、ボタンクリック時に入力された文字を取得するサンプルを紹介します。&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/AVvXsEhD7TSMnFXHzRQ5rznJh7mgOI5lTBFIR75e6tn1G-NiuzrOXZuQ7RnEWegb9O6o5OQjBetB89RH3nSslKwsPM9QIpB0Samm1P9zYe3BpXu5L7z5y8ZNnd_7rd4t-Jn7PdjLMfAJihd96_YU/s1600/editText1.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/AVvXsEhD7TSMnFXHzRQ5rznJh7mgOI5lTBFIR75e6tn1G-NiuzrOXZuQ7RnEWegb9O6o5OQjBetB89RH3nSslKwsPM9QIpB0Samm1P9zYe3BpXu5L7z5y8ZNnd_7rd4t-Jn7PdjLMfAJihd96_YU/s320/editText1.png&quot; width=&quot;192&quot;&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;br&gt;
&lt;a href=&quot;http://androidexsamples.blogspot.com/2012/05/view-edittext.html#more&quot;&gt;続きを読む »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://androidexsamples.blogspot.com/feeds/2504667438912771682/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://androidexsamples.blogspot.com/2012/05/view-edittext.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5839525130801638275/posts/default/2504667438912771682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5839525130801638275/posts/default/2504667438912771682'/><link rel='alternate' type='text/html' href='http://androidexsamples.blogspot.com/2012/05/view-edittext.html' title='テキスト入力用の View を表示する (EditText)'/><author><name>o-man</name><uri>http://www.blogger.com/profile/03383022153573159359</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD7TSMnFXHzRQ5rznJh7mgOI5lTBFIR75e6tn1G-NiuzrOXZuQ7RnEWegb9O6o5OQjBetB89RH3nSslKwsPM9QIpB0Samm1P9zYe3BpXu5L7z5y8ZNnd_7rd4t-Jn7PdjLMfAJihd96_YU/s72-c/editText1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5839525130801638275.post-665815704537935417</id><published>2012-05-29T00:41:00.003+09:00</published><updated>2012-05-31T01:39:19.949+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="レイアウト"/><title type='text'>View (ボタン等) を直線に並べて配置する (LinearLayout)</title><content type='html'>Android アプリで、View (ボタン等) を縦または横に直線に配置するには、リニアレイアウト (LinearLayout) クラスを使用します。&lt;br&gt;
&lt;br&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;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1flYk6dRlDVLegf3Qghly2XjZhCkAgPZnXx3tkNrxd4swpBAYLs7cgyNz_P1UpVZ0LNxpLfRMxlHFL2HeRBj1tUEhzVTmAP0-bEikTFt-ORwEE_y6pbXWM_RJBoevA25Ta3RWBySmKrGt/s1600/linearlayout.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/AVvXsEg1flYk6dRlDVLegf3Qghly2XjZhCkAgPZnXx3tkNrxd4swpBAYLs7cgyNz_P1UpVZ0LNxpLfRMxlHFL2HeRBj1tUEhzVTmAP0-bEikTFt-ORwEE_y6pbXWM_RJBoevA25Ta3RWBySmKrGt/s320/linearlayout.png&quot; width=&quot;192&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;br&gt;
ここでは、リニアレイアウト (LinearLayout) を使ってテキスト (TextView)、編集テキスト (EditText)、ボタン (Button) を直線に並べて配置するサンプルを紹介します。&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://androidexsamples.blogspot.com/2012/05/view-linearlayout.html#more&quot;&gt;続きを読む »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://androidexsamples.blogspot.com/feeds/665815704537935417/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://androidexsamples.blogspot.com/2012/05/view-linearlayout.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5839525130801638275/posts/default/665815704537935417'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5839525130801638275/posts/default/665815704537935417'/><link rel='alternate' type='text/html' href='http://androidexsamples.blogspot.com/2012/05/view-linearlayout.html' title='View (ボタン等) を直線に並べて配置する (LinearLayout)'/><author><name>o-man</name><uri>http://www.blogger.com/profile/03383022153573159359</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1flYk6dRlDVLegf3Qghly2XjZhCkAgPZnXx3tkNrxd4swpBAYLs7cgyNz_P1UpVZ0LNxpLfRMxlHFL2HeRBj1tUEhzVTmAP0-bEikTFt-ORwEE_y6pbXWM_RJBoevA25Ta3RWBySmKrGt/s72-c/linearlayout.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5839525130801638275.post-6694633536331248471</id><published>2012-05-23T01:07:00.003+09:00</published><updated>2012-05-31T01:37:10.025+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ダイアログ"/><title type='text'>ボタンクリック時に確認ダイアログ (AlertDialog) を表示する</title><content type='html'>Android アプリで確認ダイアログを表示するには、AlertDialog クラスを使用します。&lt;br&gt;
ここでは、AlertDialog クラスを使用してダイアログを生成し、ボタンクリック時にダイアログを表示するサンプルを紹介します。&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/AVvXsEi9yElpKdXkPXDcA0DcAMwRRu-APYQuMzrFWEicw3f9bi4iEbM-1iXqM2OoTQBlH812hFTPkCsLhm7HNan9b9gJDnimRg5XvbOCIMk_WttRPv65hLIUfGj4328B0GecjV1qChbX-kL8dx_c/s1600/OkCancelDlg.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/AVvXsEi9yElpKdXkPXDcA0DcAMwRRu-APYQuMzrFWEicw3f9bi4iEbM-1iXqM2OoTQBlH812hFTPkCsLhm7HNan9b9gJDnimRg5XvbOCIMk_WttRPv65hLIUfGj4328B0GecjV1qChbX-kL8dx_c/s320/OkCancelDlg.png&quot; width=&quot;192&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://androidexsamples.blogspot.com/2012/05/alertdialog.html#more&quot;&gt;続きを読む »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://androidexsamples.blogspot.com/feeds/6694633536331248471/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://androidexsamples.blogspot.com/2012/05/alertdialog.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5839525130801638275/posts/default/6694633536331248471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5839525130801638275/posts/default/6694633536331248471'/><link rel='alternate' type='text/html' href='http://androidexsamples.blogspot.com/2012/05/alertdialog.html' title='ボタンクリック時に確認ダイアログ (AlertDialog) を表示する'/><author><name>o-man</name><uri>http://www.blogger.com/profile/03383022153573159359</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9yElpKdXkPXDcA0DcAMwRRu-APYQuMzrFWEicw3f9bi4iEbM-1iXqM2OoTQBlH812hFTPkCsLhm7HNan9b9gJDnimRg5XvbOCIMk_WttRPv65hLIUfGj4328B0GecjV1qChbX-kL8dx_c/s72-c/OkCancelDlg.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>