<?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-8910130411126845644</id><updated>2024-10-07T13:50:11.947+09:00</updated><title type='text'>Sy Lab. ―日曜開発―</title><subtitle type='html'>元ゆとり高専生が趣味で色々作っちゃおう的な無計画のもと書かれた週末駆動開発ブログ。Androidアプリに挑戦中。</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sy1990.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8910130411126845644/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://sy1990.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>sy (しぃ)</name><uri>http://www.blogger.com/profile/00673948857099111779</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>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8910130411126845644.post-6173556742654123580</id><published>2012-09-30T19:47:00.002+09:00</published><updated>2012-09-30T19:47:23.007+09:00</updated><title type='text'>独自ドメイン取得</title><content type='html'>アプリに限らずJavaでプログラムを作成する際にパッケージ名を設定しますが、外に公開する以上これは一意でなくてはなりません。世界中の誰とも被らないように自らのドメイン名を逆順にしたパッケージ名を設定する事が一般的です。&lt;br /&gt;
例：「jp.co.example.application」など・・・&lt;br /&gt;
&lt;br /&gt;
そこで自分もリンククラブというところで独自ドメインを取得しました。&lt;br /&gt;
&lt;br /&gt;
基本料金100円／年&lt;br /&gt;
.comドメイン1件770円／年&lt;br /&gt;
&lt;br /&gt;
でした。希望ドメインと個人情報とカード番号を入力したらさくっと簡単にドメイン取れた(*^_^*)&lt;br /&gt;
こんな簡単だったとは。。。&lt;br /&gt;
しかも「sylbl.com」という短いドメイン！まさか5文字という短いドメインで自分が欲しいやつを.comで取れるとは思ってなかったんでラッキー☆&lt;br /&gt;
&lt;br /&gt;
これからはパッケージ名を「com.sylbl・・・」という感じで定義していきます！</content><link rel='replies' type='application/atom+xml' href='http://sy1990.blogspot.com/feeds/6173556742654123580/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://sy1990.blogspot.com/2012/09/blog-post_30.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8910130411126845644/posts/default/6173556742654123580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8910130411126845644/posts/default/6173556742654123580'/><link rel='alternate' type='text/html' href='http://sy1990.blogspot.com/2012/09/blog-post_30.html' title='独自ドメイン取得'/><author><name>sy (しぃ)</name><uri>http://www.blogger.com/profile/00673948857099111779</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8910130411126845644.post-9086888634433212168</id><published>2012-09-23T01:42:00.000+09:00</published><updated>2012-09-23T01:42:36.871+09:00</updated><title type='text'>SeClockIcon</title><content type='html'>「SeClockIcon」は現在時刻の秒数を表示する時計アプリです。&lt;br /&gt;
他の時計アプリと違って通知領域(ステータスバー)に現在時刻の秒数をアイコンで表示します。&lt;br /&gt;
画面OFF時は動作を停止して省電力化に努めています。&lt;br /&gt;
&lt;br /&gt;
常駐アプリとしてだけでなく、動作の停止も簡単にできるので秒数が知りたい時だけ起動するなどの使い方も可能です。&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://play.google.com/store/apps/details?id=sylab.application.seclockicon&quot; target=&quot;_blank&quot;&gt;ダウンロード&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/AVvXsEj_hdF3oTYrN1ntSbEumEs60YHD9wwV8YXhiPt25j-ncB2rG_w6wMXYXH2KGuyAKXEucVexWLnfZaOB1cExY0f8TrZzcssgDmSUnTWVgGCP0Cnl2C-2jH6YrJ7s4ieS-0eLn7QRAUCDVG0D/s1600/jpn.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;213&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_hdF3oTYrN1ntSbEumEs60YHD9wwV8YXhiPt25j-ncB2rG_w6wMXYXH2KGuyAKXEucVexWLnfZaOB1cExY0f8TrZzcssgDmSUnTWVgGCP0Cnl2C-2jH6YrJ7s4ieS-0eLn7QRAUCDVG0D/s320/jpn.jpg&quot; width=&quot;320&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/AVvXsEiNkiDo5D_7aPTl5Z3LRcxcEQowh7jnQPg-ylzTQghWuIj9gpVg-w6mXqOLGZzdX3JoJ7f90fXz49yoiawpP0omZHLv1YRyrplsPF9OK-i6oy6iMJytTSGvtNbMQdVJWtKyn6ilcHqktaQl/s1600/eng.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;213&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNkiDo5D_7aPTl5Z3LRcxcEQowh7jnQPg-ylzTQghWuIj9gpVg-w6mXqOLGZzdX3JoJ7f90fXz49yoiawpP0omZHLv1YRyrplsPF9OK-i6oy6iMJytTSGvtNbMQdVJWtKyn6ilcHqktaQl/s320/eng.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://sy1990.blogspot.com/feeds/9086888634433212168/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://sy1990.blogspot.com/2012/09/seclockicon_23.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8910130411126845644/posts/default/9086888634433212168'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8910130411126845644/posts/default/9086888634433212168'/><link rel='alternate' type='text/html' href='http://sy1990.blogspot.com/2012/09/seclockicon_23.html' title='SeClockIcon'/><author><name>sy (しぃ)</name><uri>http://www.blogger.com/profile/00673948857099111779</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/AVvXsEj_hdF3oTYrN1ntSbEumEs60YHD9wwV8YXhiPt25j-ncB2rG_w6wMXYXH2KGuyAKXEucVexWLnfZaOB1cExY0f8TrZzcssgDmSUnTWVgGCP0Cnl2C-2jH6YrJ7s4ieS-0eLn7QRAUCDVG0D/s72-c/jpn.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8910130411126845644.post-5099371939600950481</id><published>2012-09-22T23:40:00.000+09:00</published><updated>2012-09-22T23:40:00.240+09:00</updated><title type='text'>アプリ完成の巻</title><content type='html'>第一弾プロジェクトとなった「SeClockIcon」ですが完成しました(*^_^*)&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
チェックボックやドロップダウンのlistenerを設定して、それからAndroidで標準装備されている「SharedPreferences」を使って簡単に設定データが保存できました。便利。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Google様に$25を寄付してデベロッパー登録した後、公開版をGoogle Playにアップロードしました。はやく反映しろ～((o(´∀｀)o))&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sy1990.blogspot.com/feeds/5099371939600950481/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://sy1990.blogspot.com/2012/09/blog-post_22.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8910130411126845644/posts/default/5099371939600950481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8910130411126845644/posts/default/5099371939600950481'/><link rel='alternate' type='text/html' href='http://sy1990.blogspot.com/2012/09/blog-post_22.html' title='アプリ完成の巻'/><author><name>sy (しぃ)</name><uri>http://www.blogger.com/profile/00673948857099111779</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8910130411126845644.post-7910620328206294332</id><published>2012-09-17T07:08:00.001+09:00</published><updated>2012-09-17T07:08:50.274+09:00</updated><title type='text'>続：自作アプリ開発　～SeClockIcon編～</title><content type='html'>前回から続いているSeClockIconの続報です。&lt;br /&gt;
搭載予定だった&lt;br /&gt;
1.秒数表示の画像化&lt;br /&gt;
2.アプリのService化&lt;br /&gt;
3.画面消灯時の更新停止&lt;br /&gt;
の実装に成功しました（●＾o＾●）/ &lt;br /&gt;
&lt;br /&gt;
Service化は基本的な事なので割愛させて頂くとして・・・&lt;br /&gt;
画面のON・OFFの検知はBroadcastReceiverで、Intentに定義されている「ACTION_SCREEN_ON」と「ACTION_SCREEN_OFF」のイベントを受けとってます。&lt;br /&gt;
&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;
通知領域(Notification)のアイコンを変更するのは造作もない事なのですが、00～59までの画像を用意するのは容量的に無駄だな～って困っていたところで下記のサイトに出会いました。&lt;/div&gt;
&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;
　　&amp;nbsp;&lt;a href=&quot;http://d.hatena.ne.jp/esmasui/20110911/1315732261&quot;&gt;ほんとうにその100枚のステータス画像は必要なのか？&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;
このサイトを参考にして0～9までの画像だけを用意して、2桁画像の動的生成にxmlを利用しています。&lt;/div&gt;
&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;
さらに、追加機能として常駐アプリとするために、端末起動時には自動でアプリが起き上がるようにしました。&lt;/div&gt;
AndroidManifest.xmlでPermissionを設定する事で、BroadcastReceiverで「BOOT_COMPLETED」を受け取れるようしています。&lt;br /&gt;
&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;
BOOT_COMPLETEDイベントが発生するとOSからBroadcastReceiverが呼ばれて、そこからアプリを起動するってな具合です。&lt;/div&gt;
&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;
動作画像がこちら&lt;/div&gt;
&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;
&lt;br /&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/AVvXsEhO33AW9Gz5knqrJ_liCxu-ffnTqkZTTkXdTG8XnpzAsbZrcCw4n9IUStZSybpQr0egGCJwmjcQG5H6hQdKLDgTYVqu7EFK9304P_Urx0IRulq4cES5bsZ3shQTSehRERUzAAfSEvXWhuWy/s1600/sec.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; hea=&quot;true&quot; height=&quot;98&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhO33AW9Gz5knqrJ_liCxu-ffnTqkZTTkXdTG8XnpzAsbZrcCw4n9IUStZSybpQr0egGCJwmjcQG5H6hQdKLDgTYVqu7EFK9304P_Urx0IRulq4cES5bsZ3shQTSehRERUzAAfSEvXWhuWy/s320/sec.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
左上に秒数が表示されて、現在時刻が「06:48:14」だということが分かるようになりました(*^_^*)&lt;br /&gt;
&lt;br /&gt;
ログを吐き出させたところ、画面OFF時には更新は停止して、再び画面ONになると更新を再開しているのが確認できました。電源を切って、再起動すると勝手にアプリが起動しやがります。&lt;br /&gt;
これで、要求機能は完成っすね☆&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;
あともう一つ追加したいのが、自動起動の拒否や数字の文字色を変更出来るようにメニューを作りたいと思ってます。&lt;/div&gt;
&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;
一応レイアウトだけは作っといたカンジ。まだ選択してもうんともすんとも言わないけどｗ&lt;/div&gt;
&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;
そして、地味に多言語対応というこだわりｗ&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjW3N7go5ZJewOjpCNGo0gB5btABz2D0AGw2_V3nINq2w45kUL1ban6lYOuNoeBeo2IU8qo9VfkaAHU9sX07nzN6pWBebsnAbjQHd0srqN0cOPjlxNy8gdsL0CczxUf6isrTfAWjux-GcR/s1600/jp.jpg&quot; imageanchor=&quot;1&quot; style=&quot;cssfloat: left; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; hea=&quot;true&quot; height=&quot;304&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjW3N7go5ZJewOjpCNGo0gB5btABz2D0AGw2_V3nINq2w45kUL1ban6lYOuNoeBeo2IU8qo9VfkaAHU9sX07nzN6pWBebsnAbjQHd0srqN0cOPjlxNy8gdsL0CczxUf6isrTfAWjux-GcR/s320/jp.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-K2bIY1BImOlfadIR3yOM6qdhKZgWQAVdDXC71sU4e7Z1TPIYIcDac1LQ987rZAB_f5kg0L8HZOuBvM9M0MlvYgWBb33HoiRSp_z_cmLAkp_7Hl1dwnd0yftEzJVfsx_8six4eV8XnSTq/s1600/eng.jpg&quot; imageanchor=&quot;1&quot; style=&quot;cssfloat: left; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; hea=&quot;true&quot; height=&quot;256&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-K2bIY1BImOlfadIR3yOM6qdhKZgWQAVdDXC71sU4e7Z1TPIYIcDac1LQ987rZAB_f5kg0L8HZOuBvM9M0MlvYgWBb33HoiRSp_z_cmLAkp_7Hl1dwnd0yftEzJVfsx_8six4eV8XnSTq/s320/eng.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;
﻿多言語の方法は、下記のサイトを参考にしました。プログラムで使うテキストをすべてxmlで定義しておくってのがミソです。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;http://dev.classmethod.jp/smartphone/android/android-app-localization/&quot; target=&quot;_blank&quot;&gt;Androidアプリを多言語化(Localization)しよう&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;
完成まで、きっと後少し((o(´∀｀)o))&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;
恐らく、チェックボックスとドロップダウンの状態変化を受け取るのと、アプリのデータを保存するヤツを実装できればいけるっしょー。&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sy1990.blogspot.com/feeds/7910620328206294332/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://sy1990.blogspot.com/2012/09/seclockicon.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8910130411126845644/posts/default/7910620328206294332'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8910130411126845644/posts/default/7910620328206294332'/><link rel='alternate' type='text/html' href='http://sy1990.blogspot.com/2012/09/seclockicon.html' title='続：自作アプリ開発　～SeClockIcon編～'/><author><name>sy (しぃ)</name><uri>http://www.blogger.com/profile/00673948857099111779</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/AVvXsEhO33AW9Gz5knqrJ_liCxu-ffnTqkZTTkXdTG8XnpzAsbZrcCw4n9IUStZSybpQr0egGCJwmjcQG5H6hQdKLDgTYVqu7EFK9304P_Urx0IRulq4cES5bsZ3shQTSehRERUzAAfSEvXWhuWy/s72-c/sec.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8910130411126845644.post-5995733811603554041</id><published>2012-09-02T21:45:00.000+09:00</published><updated>2012-09-02T21:45:16.668+09:00</updated><title type='text'>初・オリジナルアプリ</title><content type='html'>今週末は満を持してオリジナルアプリの開発に勤しんでおりました(^O^)&lt;br /&gt;
&lt;br /&gt;
Sy Lab.第一号作品？&lt;br /&gt;
開発ネームは「SeClockIcon」。ジャパニーズガラケーと違ってAndroid標準搭載の時計は秒数が出ないんで、とっても不便。Google何やってんの？ってカンジじゃん？&lt;br /&gt;
まぁ、時間を秒単位で気にするのは日本人だけなのかもしれないけど・・・&lt;br /&gt;
&lt;br /&gt;
そこで、秒数が出る時計を作ろう！って事を思いついて「Secound」＋「Clock」で「SeClock」プロジェクトを発足しました。&lt;br /&gt;
しかしながら、有志によって秒数表示ができる時計アプリやらガジェットは大量に出回っているので、普通に作っても意味ないんですよ。これが。何か変わったものにしようって事でステータスバーに目をつけましたv(￣Д￣)v &lt;br /&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;http://andronavi.com/wp-content/uploads/2011/05/B2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; fea=&quot;true&quot; height=&quot;320&quot; src=&quot;http://andronavi.com/wp-content/uploads/2011/05/B2.jpg&quot; width=&quot;179&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;
Android SDKの仕様もあんまり分かってないくせに、通知領域に手を出したり定時ごとにイベント発生させたりと調子に乗って、最初にしては難易度が高かったような気がする。なんだかんだで苦節2日(笑)。やっとこさα版が出来ました。&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/AVvXsEgFNuZaw-zMs4GBpFmu96TfvXWDN1GBtUWeVH3uXg6hgEr7UPNSVtVB_tb6Dhyphenhyphenk7zJU773Itas1D5s8cQtVFHxn_GFBp1eMFHFyDONb3nUbCG-riWOu7i0Q5eenb_bqIq_WBv35whas3WLJ/s1600/device-2012-09-02-204802.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; fea=&quot;true&quot; height=&quot;148&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFNuZaw-zMs4GBpFmu96TfvXWDN1GBtUWeVH3uXg6hgEr7UPNSVtVB_tb6Dhyphenhyphenk7zJU773Itas1D5s8cQtVFHxn_GFBp1eMFHFyDONb3nUbCG-riWOu7i0Q5eenb_bqIq_WBv35whas3WLJ/s320/device-2012-09-02-204802.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
一番左上のアイコンの数字が現在の秒数になります。ちゃんと一秒ごとに更新されていく！成功や～ん（●＾o＾●）v&lt;br /&gt;
まだα版なので完成ではないですが、今後の予定として、&lt;br /&gt;
１．今は新着件数とか表示するための数字を変更して秒数にしているのを、ちゃんと0～59までのアイコンを用意してアイコン自体が切り替わるようにする。&lt;br /&gt;
２．テストしやすいようにActivityで作っているのを、バックグラウンドでも動作するようにService化。&lt;br /&gt;
３．1秒ごとにイベントを発生させると電池の無駄なので、画面がOFFの時は更新を止めるようにする。&lt;br /&gt;
ってのを実装してリリース版にしたいと思います。&lt;br /&gt;
&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sy1990.blogspot.com/feeds/5995733811603554041/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://sy1990.blogspot.com/2012/09/blog-post_2.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8910130411126845644/posts/default/5995733811603554041'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8910130411126845644/posts/default/5995733811603554041'/><link rel='alternate' type='text/html' href='http://sy1990.blogspot.com/2012/09/blog-post_2.html' title='初・オリジナルアプリ'/><author><name>sy (しぃ)</name><uri>http://www.blogger.com/profile/00673948857099111779</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/AVvXsEgFNuZaw-zMs4GBpFmu96TfvXWDN1GBtUWeVH3uXg6hgEr7UPNSVtVB_tb6Dhyphenhyphenk7zJU773Itas1D5s8cQtVFHxn_GFBp1eMFHFyDONb3nUbCG-riWOu7i0Q5eenb_bqIq_WBv35whas3WLJ/s72-c/device-2012-09-02-204802.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8910130411126845644.post-7108086303659499559</id><published>2012-09-02T21:04:00.000+09:00</published><updated>2012-09-03T04:45:43.072+09:00</updated><title type='text'>サンプル漬け</title><content type='html'>最初のエントリー以降まったく更新してないけど、別に1日坊主とかじゃないです。忙しかったんだから←言い訳&lt;br /&gt;
&lt;br /&gt;
あのエントリー以降は、「作りながら覚えるAndroidプログラミング」という本でサンプルプログラム作りながら肩慣らししてました。&lt;br /&gt;
小さいプログラムを作りながら使い方を覚えていくという手法は、自分の哲学と合致しているのでワリとオススメ。&lt;br /&gt;
&lt;br /&gt;

&lt;iframe src=&quot;http://rcm-jp.amazon.co.jp/e/cm?lt1=_blank&amp;bc1=000000&amp;IS2=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=shouta1990520-22&amp;o=9&amp;p=8&amp;l=as1&amp;m=amazon&amp;f=ifr&amp;ref=tf_til&amp;asins=4797368519&quot; style=&quot;width:120px;height:240px;&quot; scrolling=&quot;no&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sy1990.blogspot.com/feeds/7108086303659499559/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://sy1990.blogspot.com/2012/09/blog-post.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8910130411126845644/posts/default/7108086303659499559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8910130411126845644/posts/default/7108086303659499559'/><link rel='alternate' type='text/html' href='http://sy1990.blogspot.com/2012/09/blog-post.html' title='サンプル漬け'/><author><name>sy (しぃ)</name><uri>http://www.blogger.com/profile/00673948857099111779</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8910130411126845644.post-2220592900092768511</id><published>2012-05-13T14:42:00.001+09:00</published><updated>2012-05-13T14:42:25.801+09:00</updated><title type='text'>はぢめてのAndroid　～開発環境の巻</title><content type='html'>とりあえず、何か作ろうかなー的なSomethingで流行りのAndroidアプリでも作ることに。&lt;br /&gt;
&lt;br /&gt;
そのためには、まずは開発環境の構築をしてあげなければならんのですが、&lt;br /&gt;
全くやったことがないので、Google先生に問い合わせてみたところ、良いページが見つかりました。&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;Android開発環境の構築 Eclipse編 &lt;br /&gt;
&lt;a href=&quot;http://izeef.web.fc2.com/develop/android/env_eclipse.html&quot;&gt;http://izeef.web.fc2.com/develop/android/env_eclipse.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
スクリーンショット付きで丁寧に説明されてるので、上記のサイトの指示通りSDKとEclipseをインストールして、あっという間に開発環境の出来上がり。思ってたより敷居が低いっすね。&lt;br /&gt;
ちょっとサイトが古いので、JavaがOracleじゃなくてSunだったり、Androidのバージョンが古かったりしますが、そこは勘と経験でカバーしてテキトーにポチポチしてたらいけました(←参考にならない)。&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://sy1990.blogspot.com/feeds/2220592900092768511/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://sy1990.blogspot.com/2012/05/android.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8910130411126845644/posts/default/2220592900092768511'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8910130411126845644/posts/default/2220592900092768511'/><link rel='alternate' type='text/html' href='http://sy1990.blogspot.com/2012/05/android.html' title='はぢめてのAndroid　～開発環境の巻'/><author><name>sy (しぃ)</name><uri>http://www.blogger.com/profile/00673948857099111779</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>