tag:blogger.com,1999:blog-70782833922708894142024-03-14T16:10:17.625+08:00小倫角落Sharing, sharing and sharing...Anonymoushttp://www.blogger.com/profile/13766698872634731775noreply@blogger.comBlogger69125tag:blogger.com,1999:blog-7078283392270889414.post-12755170410204691362014-03-04T00:33:00.000+08:002014-03-04T00:47:32.693+08:00Ring - 穿戴設備新意念<div class="separator" style="clear: both; text-align: center;">
<a href="https://s3.amazonaws.com/ksr/assets/001/684/431/b8bcc57e8d1aa7ffc6e3ffa012ec9011_large.png?1393501350" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="584" src="https://s3.amazonaws.com/ksr/assets/001/684/431/b8bcc57e8d1aa7ffc6e3ffa012ec9011_large.png?1393501350" width="640" /></a></div>
穿戴設備熱潮早在兩年前由 Google Glass 開始,雖然 Glass 因為功能未完善至今仍而未能於市場發售,但其他穿戴設備已經急不及待排隊出爐。除了最常見的手錶、手帶之外,Logbar inc 正在 kickstarter 集資的戒指 <span style="background-color: white; color: #121a0d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; font-size: 16px; line-height: 24px;">Ring </span>可謂最為新奇有趣。<br />
<span style="background-color: white; color: #121a0d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; font-size: 16px; line-height: 24px;"><br /></span>
<span style="background-color: white; color: #121a0d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; font-size: 16px; line-height: 24px;">Ring 最特別的是它是只可用作輸入及操控,對比起其他</span>穿戴設備主要用作接收資訊有好大分別。而 <span style="background-color: white; color: #121a0d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; font-size: 16px; line-height: 24px;">Ring</span><span style="background-color: white; color: #121a0d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; font-size: 16px; line-height: 24px;"> 是使用手指手勢,就好像於空氣中寫字一樣輸入指令一樣。而手勢可以網由手機作個人化設定,可以緊貼不同用家的之使用習慣。</span><br />
<span style="background-color: white; color: #121a0d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; font-size: 16px; line-height: 24px;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://s3.amazonaws.com/ksr/assets/001/684/290/0a7a4cdc7dda5abbf8037f27cd6430e7_large.png?1393496908" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="372" src="https://s3.amazonaws.com/ksr/assets/001/684/290/0a7a4cdc7dda5abbf8037f27cd6430e7_large.png?1393496908" width="640" /></a></div>
<br />
<span style="background-color: white; color: #121a0d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; font-size: 16px; line-height: 24px;"><br /></span>
<span style="background-color: white; color: #121a0d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; font-size: 16px; line-height: 24px;">對我而言係眾人面前空氣寫字會有點奇怪,而且只可作輸入及操控好像有點不足,所以暫時唔會考慮入貨。但有興趣支持 Ring 可以到 kickstarter 看看。</span><br />
<br />
<a href="https://www.kickstarter.com/projects/1761670738/ring-shortcut-everything">https://www.kickstarter.com/projects/1761670738/ring-shortcut-everything</a>Anonymoushttp://www.blogger.com/profile/13766698872634731775noreply@blogger.com4tag:blogger.com,1999:blog-7078283392270889414.post-82522244867372131212014-03-04T00:11:00.000+08:002014-03-04T00:11:20.502+08:00財政預算案2014-15計算器上星期財爺公布財政預算,code4.hk 嘅朋好快就做好一個財政預算案2014-15計算器,想知下年度要洗多幾多錢就入去計計啦。<br />
<br />
<a href="http://budget.code4.hk/#/section1">http://budget.code4.hk/#/section1</a><br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://blog.opendatahk.com/wp-content/uploads/2014/02/Screen-Shot-2014-02-28-at-7.30.51-pm-284x300.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://blog.opendatahk.com/wp-content/uploads/2014/02/Screen-Shot-2014-02-28-at-7.30.51-pm-284x300.png" /></a></div>
<br />
<br />
<br />
<br />Anonymoushttp://www.blogger.com/profile/13766698872634731775noreply@blogger.com0tag:blogger.com,1999:blog-7078283392270889414.post-45369649984750052322013-12-18T00:03:00.000+08:002013-12-18T00:15:42.945+08:00[Android] Google 廣東話輸入法正式支援倉頡三代<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/z9EL3opwITr3ZFqoPrg6v9w9LCjHcDqsEHUQi0Q1AfZAvgMSGkmICit9HYYMKIWDjiy7=w300-rw" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://2.bp.blogspot.com/z9EL3opwITr3ZFqoPrg6v9w9LCjHcDqsEHUQi0Q1AfZAvgMSGkmICit9HYYMKIWDjiy7=w300-rw" width="320" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigkY4DmltaZyCANgZ8oBMV5S4DMWHGH2mRRmqr4Rgn8jBbtZCpOHGuJlgmpXc7iiQl0moe8Kqkmn6oYx3hYDMg8mbusGfAJP9xIReR8xoJfHmbucGWgcHm8_1tAc_BDBsRdLh0YlRCAqo/s1600/Screenshot_2013-12-17-23-49-23.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigkY4DmltaZyCANgZ8oBMV5S4DMWHGH2mRRmqr4Rgn8jBbtZCpOHGuJlgmpXc7iiQl0moe8Kqkmn6oYx3hYDMg8mbusGfAJP9xIReR8xoJfHmbucGWgcHm8_1tAc_BDBsRdLh0YlRCAqo/s320/Screenshot_2013-12-17-23-49-23.png" width="192" /></a></div>
<br />
<br />
用開 Windows 倉頡輸入法嘅朋友有福了,因為廣東話輸入已經正或支援倉頡三代,打咗咁多年三代無理由要改手勢嘛!其實呢個輸入法仲包括拼音、手寫、語音及筆畫輸入,仲有中英混合鍵盤,未下載既朋友要試下啦!<br />
<br />
<a href="https://play.google.com/store/apps/details?id=com.google.android.apps.inputmethod.cantonese">https://play.google.com/store/apps/details?id=com.google.android.apps.inputmethod.cantonese</a><br />
<br />
<br />Anonymoushttp://www.blogger.com/profile/13766698872634731775noreply@blogger.com0tag:blogger.com,1999:blog-7078283392270889414.post-7886012945038099812013-12-17T23:51:00.000+08:002013-12-17T23:54:06.349+08:00Open Data Hong Kong<div class="separator" style="clear: both; text-align: center;">
<a href="https://31.media.tumblr.com/7e053b3e49d1430e00b3e14bde9b810e/tumblr_inline_mxqqh24WEy1rwqops.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="108" src="https://31.media.tumblr.com/7e053b3e49d1430e00b3e14bde9b810e/tumblr_inline_mxqqh24WEy1rwqops.jpg" width="320" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
係一個政府活動認識咗一位荷蘭人,佢可以對住一班香港人大叫 I love Hong Kong,亦都可以放棄自己既工作去為香港搞開放數據運動,覺得佢真係比更多香港人更愛香港。佢係 Open Data Hong Kong 創辦人 +<a href="https://plus.google.com/100751897841477294261">Mart van de Ven</a> 。呢條 link 係介紹佢地係 2013 年既活動,對開放數據有興趣可以睇睇。<br />
<div>
<br /></div>
<div>
<a href="http://goodlabhk.tumblr.com/post/70058694079/open-data">http://goodlabhk.tumblr.com/post/70058694079/open-data</a><br />
<br />
仲有上次活動既照片:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8O4RpmJ8oBypZ9eRIZ1PR38NEEaxA1y1u-2E4TBa2bYkIblVrzLGziiGnK9bNjpcMsdOdUyePVOR6w_Ym1nbsPArIW6mT1oz8s0HoVyN-0iopFUl8yWxiFF2Qih84mosvl_DJTSYb5eg/s1600/IMG_20131212_211945.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8O4RpmJ8oBypZ9eRIZ1PR38NEEaxA1y1u-2E4TBa2bYkIblVrzLGziiGnK9bNjpcMsdOdUyePVOR6w_Ym1nbsPArIW6mT1oz8s0HoVyN-0iopFUl8yWxiFF2Qih84mosvl_DJTSYb5eg/s640/IMG_20131212_211945.jpg" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS5_ylTp4e6LKRKseOT8K8Ua0PBd8EkydelGGG7_I2OUawTHzbuH3QApICXLcQkeQrddSX987WEUjid2a4ZMjoMBlRwqCu100VR00ymX1LffwbJUq2qNVs1KEqBNCh83UZVtLVC8yjdAk/s1600/1386851189208.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS5_ylTp4e6LKRKseOT8K8Ua0PBd8EkydelGGG7_I2OUawTHzbuH3QApICXLcQkeQrddSX987WEUjid2a4ZMjoMBlRwqCu100VR00ymX1LffwbJUq2qNVs1KEqBNCh83UZVtLVC8yjdAk/s640/1386851189208.jpg" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6qK7RqAgav7r5IhskOCnnfXkYwSFX9YkbQCzYS_i9AMAW6nSpgm6ZqwQ2GNv7AKZjKYom3KYRp34eQxKyei31jInOJ-ZysFFM0GxZv5qSRxVe_XmQ4EgIbO0puLrHIKrJhYEI47H-QFQ/s1600/1386848851106.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6qK7RqAgav7r5IhskOCnnfXkYwSFX9YkbQCzYS_i9AMAW6nSpgm6ZqwQ2GNv7AKZjKYom3KYRp34eQxKyei31jInOJ-ZysFFM0GxZv5qSRxVe_XmQ4EgIbO0puLrHIKrJhYEI47H-QFQ/s640/1386848851106.jpg" width="640" /></a></div>
<br />
<br /></div>
Anonymoushttp://www.blogger.com/profile/13766698872634731775noreply@blogger.com0tag:blogger.com,1999:blog-7078283392270889414.post-37990551463080218422013-12-02T20:32:00.002+08:002013-12-02T21:02:52.637+08:00Admob SDK 加入 Google Play Services 大家庭剛發現 Google Mobile Ads SDK 文件更新,Admob SDK 已經加入 Google Play Services。以後開發者只要更新 Google Play Services 的 Library 就可以一同更新 Admob SDK,不用再額外更新 Admob SDK了。<br />
<br />
似乎 Google Play Services 將會統一所有 Google library,下一步相信會是 DFP 吧。雖然方便了開發者,不過各位很可能會見到 Google Play Services 的用電量再創新高。<br />
<br />
更新 Google Play Services 後(記得要將 google-play-services_lib re-build 一次,否則會找不到 Admob SDK),要在新專案加入 Admob 廣告的話可以根據以下方法:<br />
<a href="https://developers.google.com/mobile-ads-sdk/docs/">https://developers.google.com/mobile-ads-sdk/docs/</a><br />
<br />
如果是舊專案過度 Google Play Services 可以參考這裡:<br />
<a href="https://developers.google.com/mobile-ads-sdk/docs/admob/play-migration">https://developers.google.com/mobile-ads-sdk/docs/admob/play-migration</a><br />
<br />
<br />Anonymoushttp://www.blogger.com/profile/13766698872634731775noreply@blogger.com0tag:blogger.com,1999:blog-7078283392270889414.post-87217748887258450982013-11-15T21:04:00.003+08:002013-11-15T21:09:58.729+08:00最新版 Unity 4.3 正式支援 2D 遊戲,遊戲開發大戰一觸即發<div class="separator" style="clear: both; text-align: left;">
3D 遊戲開發龍頭 <a href="http://unity3d.com/#2d" target="_blank">Unity 正式支援 2D 遊戲</a>,另一邊箱 2D 遊戲開發龍頭 <a href="http://coronalabs.com/" target="_blank">Corona SDK</a> 亦以加入支援 2.5D 作回應。Corona 因為加價及 Android 支援問題近來已經得罪一些客戶,Unity 支援 2D 開發相信會吸納更多 Corona 用家。而 Open Source 的 2D 遊戲開發 Engine <a href="http://getmoai.com/" target="_blank">Moai SDK</a> 亦都來勢兇兇,看來 Corona 要保住 2D 遊戲開發市場要加把勁。</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvzeNycZOPR7TIQLZNuKnuK2oTvAQECEW8KjpAz68uGplUhYX_I1lTKbodZXiAiTtVX14sEjgAQ_NJn9EaRbNKp6v1Si0OKLTDQ-2fTizSMvyL41YTKiCQV8poq8j-PCSXBaV7h7wHgx0/s1600/%E8%9E%A2%E5%B9%95%E6%88%AA%E5%9C%96+2013-11-15+20.48.43.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="323" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvzeNycZOPR7TIQLZNuKnuK2oTvAQECEW8KjpAz68uGplUhYX_I1lTKbodZXiAiTtVX14sEjgAQ_NJn9EaRbNKp6v1Si0OKLTDQ-2fTizSMvyL41YTKiCQV8poq8j-PCSXBaV7h7wHgx0/s640/%E8%9E%A2%E5%B9%95%E6%88%AA%E5%9C%96+2013-11-15+20.48.43.png" width="640" /></a></div>
<br />
<br />Anonymoushttp://www.blogger.com/profile/13766698872634731775noreply@blogger.com0tag:blogger.com,1999:blog-7078283392270889414.post-71856155433332323632013-04-15T04:03:00.000+08:002013-12-04T19:53:12.247+08:00Android App 香港快拍的演變<div class="separator" style="clear: both; text-align: center;">
<br /><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgb3R-1Gvjy7nWijS-lyIxjpDs7sKlfVXzc8ZhlaP8V-EWVKmRNx3v1X5E56XR6dn-6ijDqA9jHWFVwRsoiubcWUkJu2KXiDfKheJ-DkVZjB7AlGtrsUgJjvsUIKSPgULHEHJ_2hnIL-EQ/s1600/icon_72.png" /></div>
<br />
<br />
香港快拍首個版本 v1.0 於 2011 年初放到 Play Store, 到第二個版本 v1.1 上載當日,即 2011 年 2 月 6 日使用者大概還只有 150 多人。當初因為功能有限,介面設計比較簡陋,可以看看剛發表時的介面截圖:<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZX5yF8dc8GiBHuG6zjztUTnI82wy1iMg7wIDD_yNqTdAi8vC86PgT1H38E7SdReW35EskwdK5JRME9q42wPvJK0Adpz1KvssMEsSEd4M-NW-HLeYTvhAkzaxYF7u6TOW-rb79HwcqZX0/s320/sc4.png" width="192" /> <img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEii-mMG3ZE4GgcOIafF3FDjwSngV6bEBiI0H8ufPdMRbKLzIDPL9mpwYcaCYqKxxbYPrODZhCDqEmuSdBhjqPB4Hrf8mMBimNRUbsZpUhrPvj7hgKpcBibYVeAAL-009Mj_DCNa0eHriTM/s320/sc3.png" width="192" /></div>
<br />
<div style="text-align: center;">
<img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgf_Zz4WmcjfB-23SosQVCVHM8rdo00EsNuDbTqzuihQHexX3BJI7FrTSjAlnE0YSyrn0qXkWwfXk2wztTVJsd603yj42SDhyphenhyphenWvqYpJphjez0TDKfi6NldLtiyMcjIu0V5zMeTpsjWSJEg/s320/sc5.png" width="192" /></div>
<br />
<br />
<br />
<div class="" style="clear: both; text-align: center;">
可以看到整個 app 就是以單頁基本,外加兩個可彈出的圖片及新聞頁。其後加入了 30 個自訂位置,以每版 6 個,共 5 版的左右滑動模式,方便用家以最快的方法看到經常使用的快拍位置。另外還有以地圖大頭針方式顯示各個快拍位置等功能。因為功能增加所以加入了一個主目錄,以下為這些新功能的載圖:</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYYS77ncuvQMNNzjT0-VatkCFNzfJpjLMH_paYBejgGAjJWDJyg5BWSZsiDHE8VhAYWruOVoR9LNV_Gz3eXCeAK0NMBqvcmzBtF_f3aNKCBzFOxAr-EDjAB8oMzpwNTBbRvFpOQEdBujs/s320/main_menu.png" width="192" /> <img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXLnedkZTJ2mxl9EPDc7Wy1HwaDxOux-zua6MwzddebmP4LzwqiWSzzpSv4rjiupCD3tTLJ4x1k-YHYsTPqVRYtk3AsLxL8i5PzAOjFeGMjzjWraadPC5wxIZJYOZWcLtkBtrBQMpn084/s320/cam_view1.png" width="192" /></div>
<div style="margin-left: 1em; margin-right: 1em; text-align: center;">
<img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUnH4kGCwY0pWFqtPNQ1ZPV3ywR8FzBYLJ99sNF6irhyphenhyphenHOW4pfq3KWsf8ZUGAS1DjgNa5mHxkYgyuMoXopu53j3URhcvPTX-dzq1HyjL_3FsG_jcnufnPKqIA3NQAy2RrhNKkh22xgh4E/s320/map_1.png" width="192" /> <img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjT4jreSYwxvQYAd7fqir-Oex0Pxpo7FB7w0JR88M9lfvSj7ud6cSEwE14hF6QOACYw5igUpwM7m03KDh1bJe1vnrqlNKN0j_ts-CnR8sNE75SuJlaoXumtPnlEP_V8PTXmRfQ8mX0ycag/s320/cam_view2.png" width="192" /></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgOieF7AhwnfWJN5UUAAfDtBPoJyYDsf_UK3a5hI0VP7iE7li9H5NxTly1_maOLUoxugsuDxjAWL8wwj3Aitpw1l1PzbyppZBUhX7xe-3Lx5pGKY0zIPvDAn_BpM0cWeeo1OmKUcqGpto/s320/map_list.png" width="192" /> <img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYg3f3nCzia_wRRYc3MJ5cFwtCy9UJoS8SskQoKhOlatxQxwZZMtWz_I8CwnMxrohgravp1yUxueEAqhkfgasMBpl0eaJl03BA_3jvHWJt16zesb5jgEbAVyImSAEyd4A5dwKm8Rawrws/s320/map_1_show_snap.png" width="192" /></div>
<br />
<br />
基本上整個香港快拍到這裡己經成形,因為大量功能更新所以香港快拍亦到進化為香港快拍+,這個 "+" 絕對是因為剛推出 Google+ 而改 :P。新版本上載時間為 2011 年 11 月,原版本的下載數目已經突破六萬。在這個版本更新後亦都有持續穩定增長,更於數次媒體介紹後得到大量下載標升。其後因應 ics 及 jellybean 推出,除了功能更新外,部份介面亦都更新為 Holo Theme,可以看看新舊對比:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6yqsuiSTi8azQiiZ5UEHUQeEBjuAVnbll0c9stBC-KFdLlaEQ-CLbGaX7KkboDBTuKtxD2jmVk92zROt-YWSYUIElCxDfZVVtXNyg1ivQ8NOzOuInQUZzHyufuj7N9zJpFG58jSVHNeI/s400/new_sc2.png" width="250" /> <img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjf0DeA7si0wJDonl-eKtDfclrzhw_dSQSP6dxjXgPWnIkj2OR4p1CgTLiIMXNLZGDuqr6cknLg6haO3RtUJU_LdjKhWDAgTzV7s8TpVfFGXc23RUb6hzGhzGBqT0UkOMOTaF-mStpAErA/s400/cam_change_name.png" width="240" /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
除了手機版本更新外,平版熱賣都增加筆者支援平版的決心,於 2012 年 1 月 12 日(當時下載次數為八萬),當日上載的香港快拍+ v4.1.0 版本全面支援平版電腦:</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaBXsTChgnSJ-k4dFrsIs4al072vxC4SnSc6G34V0zRCVeWU2VN3SrojYgOEwwfw2f5b-9Rx8yXexf5S_RzkutPkMSjeSKeOlQgqOrfIK5yoaceOXk3_xd-jd1yHMBBbMvjq_NejIrg_k/s640/SC20120204-082008.jpg" width="640" /></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgORoTEvinzUWqgvVFJiU17fW9Ym4LZwHY4eGdPwk5fw4JNTdVhxZUUwguL4ilwpBtSmIjuJN6bVhC-QEJ40i7VJBaV1Gdj0bJPZC5hKCbEsfzud6fe2lwHUp1qFgRjcB9LIqJ6ee2UtCY/s640/SC20120204-140638.jpg" width="640" /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
到這個更新上載後一年多,其間再更新了道路狀況,及加入 14 個新快拍位置,下載量已經由八萬增加了接近一倍,當然 Android 的佔有率還幫上了一個大忙。</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
接著就到近一個月加入的 13 個新功能:自動搜尋附近路況、雲端備份、3D地圖、入油計算器、地圖上的行車時間顯示、過海行車時間表、用家預設快拍頁面等,現在就來看看最新面 v6.0.0 的最新截圖:</div>
<div class="separator" style="clear: both; text-align: center;">
<img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbIB2pox4LF0de721dd4jCyUVbUQpwMtJTE2FPOF-dgOj_5Z2yh-pRESpi7i7x03p4ykSzmh8_2XpNFvkSWi1KAa8mbjCvJQELjnNBJTjl9R1_yO1lHeIatyKWXegAueWoUy5YiCeRgAY/s640/2013-04-08+04.24.59.jpg" width="640" /></div>
<div style="text-align: center;">
<br />
<img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4MPGDeBRPVDsegtM3oTXXE-e_oCpI2j0iX7tYFy-0QPW5ZYR85uXHvHg_4oEyRzpMiGlnJ8mfzaGbWfWm-Ux1_-1r1GN9dsRxID2eYlhp854xZ4G9IJkKT3yVKKZsJZ6h-KScXhUB3s0/s400/new_sc1.png" width="250" /> <img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkS01rnaGEpI0K_rws0uIYFBhKkIxdTsO1zIrhuQl342lwIUCR_TIy_mMOsSo1ZV3ccIJBc-mAo8nvoJ0-3WZuQwxfu4P9nzEMeJx-_GzcM538Sw8jr_Tq31rrFeEnb2iecgIwQRfpTPk/s400/new_sc4.png" width="250" /></div>
<br />
<div style="text-align: center;">
<img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUtmOYl_yyKkVk4jHSu8bO9g79VaWPTpS6XBNHwadhKYSD3II5R2XdD-oO_Id3z7WKxl9-_r6DqJOlWOFPsbY-Qt_FIB1k6v2eptjJ3bWt5MybGpU8PIzbC96iTIc54wYuQ2PuLP1o27Q/s400/2013-04-08+04.21.58.png" width="240" /> <img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMV3UjJxnZ1sJbrgfmr4FBDivgkozgP-nLGE2xeWNgMsBrTYiEIvoPMN0Q5qRcxg5YFcsfYSLL7YRdyGwQx9pWQZNhvNGOm3v_I7u2EaC0ByGjimz3M-nuQl1EV-K_7SRYyjZbEF-4NIQ/s400/new_sc3.png" width="250" /></div>
<br />
希望這個更新後會有再多一倍的增長 :P,如果各位用家有甚麼建議,不妨留言談談吧!<br />
<br />
<div style="text-align: center;">
香港快拍+:</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://play.google.com/store/apps/details?id=com.siulun.RoadSnapshot" style="margin-left: 1em; margin-right: 1em;" target="_blank"><img border="0" src="http://developer.android.com/images/brand/en_app_rgb_wo_60.png" /></a></div>
<br />
<div style="text-align: center;">
香港快拍 Pro Licence:<br />
<a href="https://play.google.com/store/apps/details?id=com.apptechhk.RoadSnapshotLicence" target="_blank"><img border="0" src="http://developer.android.com/images/brand/en_app_rgb_wo_60.png" /></a></div>
Anonymoushttp://www.blogger.com/profile/13766698872634731775noreply@blogger.com0tag:blogger.com,1999:blog-7078283392270889414.post-81282461661308936032013-02-21T04:44:00.001+08:002013-02-21T04:44:34.510+08:00OK Glass!<div class="separator" style="clear: both; text-align: left;">
Google 由 Google I/O 發佈 Glass 到今日已經有一段好長時間,到今日終於再有新資訊發放。今日一段由 Glass 拍攝的視頻 “How if feels” 經由 G+ 發放,連同最新的產品照共十多張,可望梅止渴吧? </div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/v1uyQZNg2vE?feature=player_embedded' frameborder='0'></iframe></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both;">
<br class="Apple-interchange-newline" /></div>
<div style="text-align: center;">
How it feels?</div>
<div style="text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-ykSFJg04S0Q/USSgjT6VZPI/AAAAAAAAHMc/Aw1FRmT4kYU/s869/glass1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="432" src="http://3.bp.blogspot.com/-ykSFJg04S0Q/USSgjT6VZPI/AAAAAAAAHMc/Aw1FRmT4kYU/s640/glass1.jpg" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-uMEqTUCBCGs/USSgzL3IA-I/AAAAAAAAHRk/uR3h7YffOfU/s869/glass6.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="432" src="http://3.bp.blogspot.com/-uMEqTUCBCGs/USSgzL3IA-I/AAAAAAAAHRk/uR3h7YffOfU/s640/glass6.jpg" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-WxRtCdzZW2I/USSh1X8qI2I/AAAAAAAAHQ4/ophET6AGyCo/s869/glass9.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="432" src="http://3.bp.blogspot.com/-WxRtCdzZW2I/USSh1X8qI2I/AAAAAAAAHQ4/ophET6AGyCo/s640/glass9.jpg" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-uhY5QEjIpR8/USSh4myXjWI/AAAAAAAAHT0/x44ixhNIpLM/s869/glass10.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="432" src="http://2.bp.blogspot.com/-uhY5QEjIpR8/USSh4myXjWI/AAAAAAAAHT0/x44ixhNIpLM/s640/glass10.jpg" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-VZ12rz8EiDc/USSh7hK_9QI/AAAAAAAAHOk/-1XjuUvo2VY/s970/glass11.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="244" src="http://2.bp.blogspot.com/-VZ12rz8EiDc/USSh7hK_9QI/AAAAAAAAHOk/-1XjuUvo2VY/s640/glass11.jpg" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div>
如果身在美國的朋友可以到官網碰碰運氣,登記後有機會以 USD1,500 得到優先試用版。</div>
<br />
<a href="http://www.google.com/glass/start/what-it-does/">http://www.google.com/glass</a>Anonymoushttp://www.blogger.com/profile/13766698872634731775noreply@blogger.com0tag:blogger.com,1999:blog-7078283392270889414.post-84858999567541205932013-01-28T12:25:00.003+08:002013-01-28T12:25:31.337+08:00網頁設計要顧及低解像度<div class="separator" style="clear: both; text-align: left;">
下圖定位 float window 式的設計十分普遍, 但 justcloud.com 的這個登記頁, 大家可以看到在 -OR- 下面的東面不夠位顯示, 筆者無論如何向下拉也見不到(因為是定位式). 筆者螢幕解像度為 1366x768px, 768px 這個高度的螢幕相信仍然十分多, 如果在登記頁就令人却步可不是好事. </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
作為用家解決方法還是有的, 將顯示比例縮小就成!</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjK8F0zCzSxTqtP3oMiyOLNBxo38WSa1wfWwrm_DZTb5zSuWGe1aAN8DMSpZzB-zP_KaXQBtUgT22weAc0tTnjZ09EmV3LNLR8v-CBB6cXySHAwZtUYWDKn53q4toZkcJyChLSdfGHf_QU/s1600/just_cloud_layout.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="410" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjK8F0zCzSxTqtP3oMiyOLNBxo38WSa1wfWwrm_DZTb5zSuWGe1aAN8DMSpZzB-zP_KaXQBtUgT22weAc0tTnjZ09EmV3LNLR8v-CBB6cXySHAwZtUYWDKn53q4toZkcJyChLSdfGHf_QU/s640/just_cloud_layout.JPG" width="640" /></a></div>
<br />Anonymoushttp://www.blogger.com/profile/13766698872634731775noreply@blogger.com0tag:blogger.com,1999:blog-7078283392270889414.post-66598145377000075522012-12-15T01:28:00.000+08:002012-12-15T17:49:41.564+08:00Android app locale settings suggestionsTo all Android developers:<br />
<br />
I am writing this message due to the fact that it is incorrect for a lot of Android app's locale settings to display Simplified Chinese instead of Traditional Chinese if the system setting is "Hong Kong". This makes a lot of noise in Hong Kong recently.<br />
<br />
Except for China, all Chinese based region including Hong Kong, Taiwan and Macao are using Traditional Chinese but not Simplified Chinese. It is inconvenient for Traditional Chinese users to read Simplified Chinese. Hence, if your apps would like to provide both Traditional Chinese and Simplified Chinese, please use below settings:<br />
<br />
res/value-zh <- Traditional Chinese<br />
res/value-zh-rCN <- Simplified Chinese<br />
<br />
Or if you would like to keep the standard TW locale:<br />
<br />
res/value-zh <- Traditional Chinese <br />
res/value-zh-rTW <- Traditional Chinese <br />
res/value-zh-rCN <- Simplified Chinese<br />
<br />
Or if you would like to specify for all region:<br />
<br />
res/value-zh <- Traditional Chinese <br />
res/value-zh-rHK <- Traditional Chinese <br />
res/value-zh-rTW <-Traditional Chinese <br />
res/value-zh-rCN <- Simplified Chinese<br />
<br />
Never use Simplified Chinese string in value-zh as you can use value-zh-rCN to get the right result. If devices do not support rHK, all these devices could still get the correct locale if value-zh string is Traditional Chinese.<br />
<br />
As English is also an official language in Hong Kong, if your apps support Simplified Chinese only, please put the English string to res/value-zh-rHK (At least the rHK supported device can get the right locale). Or you can send me an email with the Simplified Chinese string.xml attach, I'll try my best to help you to organize and translate the Simplified Chinese to Traditional one.<br />
<br />
<br />
Best Regards,<br />
<br />
Allen Chan<br />
(An Android developer in Hong Kong)<br />
<br />
email: allen517@gmail.comAnonymoushttp://www.blogger.com/profile/13766698872634731775noreply@blogger.com15tag:blogger.com,1999:blog-7078283392270889414.post-26918821987364567822012-11-27T10:47:00.000+08:002012-11-27T10:47:56.721+08:00一版過教你 Android 開發<a href="http://www.vogella.com/articles/Android/article.html" target="_blank">http://www.vogella.com/articles/Android/article.html</a><br />
<br />
當然, 係好長的一版Anonymoushttp://www.blogger.com/profile/13766698872634731775noreply@blogger.com0tag:blogger.com,1999:blog-7078283392270889414.post-88169456830253899252012-10-30T17:37:00.001+08:002012-10-30T17:50:32.175+08:00先拍照後對焦, 攝影新玩意 - Lytro 光場相機<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbWgH1POHQacy9M75UQLvEeb8Spc0KP3Ep_9iVy9pr0jDco04oZhAK9-l2RcsmlgzVyKuNUzTnGX1q8xWws_qa9XSopRIzUivnbSqMMbQlQyDRMXdB4AxAniH-koPirUv1qte1lWxDSZk/s1600/2012-10-22+22.12.09.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbWgH1POHQacy9M75UQLvEeb8Spc0KP3Ep_9iVy9pr0jDco04oZhAK9-l2RcsmlgzVyKuNUzTnGX1q8xWws_qa9XSopRIzUivnbSqMMbQlQyDRMXdB4AxAniH-koPirUv1qte1lWxDSZk/s400/2012-10-22+22.12.09.jpg" width="400" /></a></div>
<br />
Lytro 於早前發放光場相機 Demo 圖後吸引了不少攝影愛好者, 因為其先拍照後對焦功能十分新穎. 期待過一段日子後, Lytro 近日正式登陸香港, 身邊有唔少朋友已經即時入貨, 雖然價錢唔算平, 解像度又唔高, 但依然無礙其吸引力.<br />
<br />
光場相機既技術係拍攝時一次過將畫面前後景同時記錄, 再經過特製 viewer 顯示圖片, 只要點擊圖上任何一點就可以改變對焦點. 其有趣效果要自己試過才感受得到:<br />
<br />
<div style="text-align: center;">
<iframe allowfullscreen="allowfullscreen" frameborder="0" height="415" src="https://pictures.lytro.com/siulun/pictures/417351/embed?showArrow=true&showBorder=true&showFTU=true&allowFullView=true" width="400"></iframe></div>
<div>
<br />
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<iframe allowfullscreen="allowfullscreen" frameborder="0" height="415" src="https://pictures.lytro.com/siulun/pictures/417352/embed" width="400"></iframe></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: left;">
有趣吧? </div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
相機設計簡潔, 輕觸式面版操作方便, 拍攝時間快亦不用擔心對焦問題. 但相機並非完美, 相機機身較重, LCD 顯示解像度亦較低, 但只屬少問題吧. 對我來說最困擾的是過相只可以使用 pc 或 mac 機, 如在街上沒有電腦跟身就完全沒法上載相片上網了.</div>
</div>
Anonymoushttp://www.blogger.com/profile/13766698872634731775noreply@blogger.com0tag:blogger.com,1999:blog-7078283392270889414.post-23472573724988881902012-09-28T11:25:00.001+08:002012-09-28T11:25:59.551+08:00香港快拍+ v5.1.0 更新<br />
<br />
<div style="margin: 0px;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3HlY0X8J7oZt8oYYoUMbSO9hMganh48LuodRH881Wllq81luW9n9XBArISK0F5Pcm6qFlOlwdzhwyqjH6l2oBn3OJDbOLO-mCiowTpK7nkJ1RIuvNAw8UNLhTNKwiuJ9ni6Xihvk36LM/s1600/icon_72.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3HlY0X8J7oZt8oYYoUMbSO9hMganh48LuodRH881Wllq81luW9n9XBArISK0F5Pcm6qFlOlwdzhwyqjH6l2oBn3OJDbOLO-mCiowTpK7nkJ1RIuvNAw8UNLhTNKwiuJ9ni6Xihvk36LM/s1600/icon_72.png" /></a>v5.1.0 (2012-09-28)</div>
<div style="margin: 0px;">
<br />
- 增加穩定性<br />
- 轉用另一個天氣資訊供應商,因早前 google weather api 正式關閉引致本 app 經常 force close 之問題亦隨之解決。<br />
- 新增以下位置:<br />
<blockquote class="tr_bq">
粉嶺公路近港鐵粉嶺站<br />獅子山隧道公路近紅梅谷路<br />港深西部公路近廈村<br />元朗公路近丹桂村<br />大欖隧道元朗入口<br />大欖隧道汀九入口<br />南灣隧道昂船洲大橋入口<br />沙田嶺隧道沙田入口<br />象鼻山路近美環街<br />西區海底隧道香港入口<br />西區海底隧道九龍入口<br />大老山隧道九龍入口<br />東區海底隧道九龍入口<br />大老山隧道沙田入口</blockquote>
</div>
<br />
<br />
<a href="https://play.google.com/store/apps/details?id=com.siulun.RoadSnapshot" target="_blank">Download From Google Play</a><br />
<br />
<br />
<a href="http://chart.apis.google.com/chart?cht=qr&chs=150x150&chl=https%3A//market.android.com/details%3Fid%3Dcom.siulun.RoadSnapshot%26feature%3Dsearch_result&chld=H|0" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://chart.apis.google.com/chart?cht=qr&chs=150x150&chl=https%3A//market.android.com/details%3Fid%3Dcom.siulun.RoadSnapshot%26feature%3Dsearch_result&chld=H|0" /></a><br />
Anonymoushttp://www.blogger.com/profile/13766698872634731775noreply@blogger.com3tag:blogger.com,1999:blog-7078283392270889414.post-14916291655724929762012-09-24T18:33:00.000+08:002012-09-24T18:33:05.463+08:00增加按鈕可按面積在設計 ui 時侯因為要遷就版面, 有時按鈕被迫佔用較少位置, 手指頭大的用家當然會按得較吃力, 解決方法好簡單, 使用 TouchDelegates 增大可按面積就可以了: <br />
<br />
以下 example 來自: <a href="http://www.thomas-manthey.net/2012/03/04/android-basics-using-touchdelegates/">http://www.thomas-manthey.net/2012/03/04/android-basics-using-touchdelegates/</a><br />
<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; background: white; border-width: .1em .1em .1em .8em; border: solid gray; color: black; overflow: auto; padding: .2em .6em; width: auto;">
<table><tbody>
<tr><td><pre style="line-height: 125%; margin: 0;"> 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34</pre>
</td><td><pre style="line-height: 125%; margin: 0;"><span style="color: grey;">/**</span>
<span style="color: grey;"> * Adds a touchable padding around a View by constructing a TouchDelegate</span>
<span style="color: grey;"> * and adding it to parent View.</span>
<span style="color: grey;"> * @param parent The "outer" parent View</span>
<span style="color: grey;"> * @param delegate The delegate that handles the TouchEvents</span>
<span style="color: grey;"> * @param topPadding Additional touch area in pixels above View</span>
<span style="color: grey;"> * @param bootomPadding Additional touch area in pixels below View</span>
<span style="color: grey;"> * @param topPadding Additional touch area in pixels left to View</span>
<span style="color: grey;"> * @param topPadding Additional touch area in pixels right to View</span>
<span style="color: grey;"> * @return A runnable that you can post as action to a Views event queue</span>
<span style="color: grey;"> */</span>
<span style="color: green; font-weight: bold;">private</span> <span style="color: green; font-weight: bold;">static</span> Runnable <span style="color: #0060b0; font-weight: bold;">getTouchDelegateAction</span><span style="color: #303030;">(</span><span style="color: green; font-weight: bold;">final</span> View parent<span style="color: #303030;">,</span> <span style="color: green; font-weight: bold;">final</span> View delegate<span style="color: #303030;">,</span> <span style="color: green; font-weight: bold;">final</span> <span style="color: #303090; font-weight: bold;">int</span> topPadding<span style="color: #303030;">,</span> <span style="color: green; font-weight: bold;">final</span> <span style="color: #303090; font-weight: bold;">int</span> bottomPadding<span style="color: #303030;">,</span> <span style="color: green; font-weight: bold;">final</span> <span style="color: #303090; font-weight: bold;">int</span> leftPadding<span style="color: #303030;">,</span> <span style="color: green; font-weight: bold;">final</span> <span style="color: #303090; font-weight: bold;">int</span> rightPadding<span style="color: #303030;">)</span> <span style="color: #303030;">{</span>
<span style="color: green; font-weight: bold;">return</span> <span style="color: green; font-weight: bold;">new</span> <span style="color: #0060b0; font-weight: bold;">Runnable</span><span style="color: #303030;">()</span> <span style="color: #303030;">{</span>
<span style="color: #505050; font-weight: bold;">@Override</span>
<span style="color: green; font-weight: bold;">public</span> <span style="color: #303090; font-weight: bold;">void</span> <span style="color: #0060b0; font-weight: bold;">run</span><span style="color: #303030;">()</span> <span style="color: #303030;">{</span>
<span style="color: grey;">//Construct a new Rectangle and let the Delegate set its values</span>
Rect touchRect <span style="color: #303030;">=</span> <span style="color: green; font-weight: bold;">new</span> Rect<span style="color: #303030;">();</span>
delegate<span style="color: #303030;">.</span><span style="color: #0000c0;">getHitRect</span><span style="color: #303030;">(</span>touchRect<span style="color: #303030;">);</span>
<span style="color: grey;">//Modify the dimensions of the Rectangle</span>
<span style="color: grey;">//Padding values below zero are replaced by zeros</span>
touchRect<span style="color: #303030;">.</span><span style="color: #0000c0;">top</span><span style="color: #303030;">-=</span>Math<span style="color: #303030;">.</span><span style="color: #0000c0;">max</span><span style="color: #303030;">(</span><span style="color: #0000d0; font-weight: bold;">0</span><span style="color: #303030;">,</span> topPadding<span style="color: #303030;">);</span>
touchRect<span style="color: #303030;">.</span><span style="color: #0000c0;">bottom</span><span style="color: #303030;">+=</span>Math<span style="color: #303030;">.</span><span style="color: #0000c0;">max</span><span style="color: #303030;">(</span><span style="color: #0000d0; font-weight: bold;">0</span><span style="color: #303030;">,</span> bottomPadding<span style="color: #303030;">);</span>
touchRect<span style="color: #303030;">.</span><span style="color: #0000c0;">left</span><span style="color: #303030;">-=</span>Math<span style="color: #303030;">.</span><span style="color: #0000c0;">max</span><span style="color: #303030;">(</span><span style="color: #0000d0; font-weight: bold;">0</span><span style="color: #303030;">,</span> leftPadding<span style="color: #303030;">);</span>
touchRect<span style="color: #303030;">.</span><span style="color: #0000c0;">right</span><span style="color: #303030;">+=</span>Math<span style="color: #303030;">.</span><span style="color: #0000c0;">max</span><span style="color: #303030;">(</span><span style="color: #0000d0; font-weight: bold;">0</span><span style="color: #303030;">,</span> rightPadding<span style="color: #303030;">);</span>
<span style="color: grey;">//Now we are going to construct the TouchDelegate</span>
TouchDelegate touchDelegate <span style="color: #303030;">=</span> <span style="color: green; font-weight: bold;">new</span> TouchDelegate<span style="color: #303030;">(</span>touchRect<span style="color: #303030;">,</span> delegate<span style="color: #303030;">);</span>
<span style="color: grey;">//And set it on the parent</span>
parent<span style="color: #303030;">.</span><span style="color: #0000c0;">setTouchDelegate</span><span style="color: #303030;">(</span>touchDelegate<span style="color: #303030;">);</span>
<span style="color: #303030;">}</span>
</pre>
</td></tr>
</tbody></table>
</div>
<br />
<br class="Apple-interchange-newline" />
使用方法:<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; background: white; border-width: .1em .1em .1em .8em; border: solid gray; color: black; overflow: auto; padding: .2em .6em; width: auto;">
<table><tbody>
<tr><td><pre style="line-height: 125%; margin: 0;">1
2
3
4
5
6</pre>
</td><td><pre style="line-height: 125%; margin: 0;"> <span style="color: grey;">//Get references to the View in the layout</span>
parent <span style="color: #303030;">=</span> <span style="color: #303030;">(</span>View<span style="color: #303030;">)</span> findViewById<span style="color: #303030;">(</span>R<span style="color: #303030;">.</span><span style="color: #0000c0;">id</span><span style="color: #303030;">.</span><span style="color: #0000c0;">parent</span><span style="color: #303030;">);</span>
delegateButton <span style="color: #303030;">=</span> <span style="color: #303030;">(</span>View<span style="color: #303030;">)</span> findViewById<span style="color: #303030;">(</span>R<span style="color: #303030;">.</span><span style="color: #0000c0;">id</span><span style="color: #303030;">.</span><span style="color: #0000c0;">cmdClickMe</span><span style="color: #303030;">);</span>
<span style="color: grey;">//The TouchDelegate has to be set after everything has been calculated and drawn</span>
parent<span style="color: #303030;">.</span><span style="color: #0000c0;">post</span><span style="color: #303030;">(</span>getTouchDelegateAction<span style="color: #303030;">(</span>parent<span style="color: #303030;">,</span> delegateButton<span style="color: #303030;">,</span> <span style="color: #0000d0; font-weight: bold;">50</span><span style="color: #303030;">,</span><span style="color: #0000d0; font-weight: bold;">50</span><span style="color: #303030;">,</span><span style="color: #0000d0; font-weight: bold;">50</span><span style="color: #303030;">,</span><span style="color: #0000d0; font-weight: bold;">50</span><span style="color: #303030;">));</span>
</pre>
</td></tr>
</tbody></table>
</div>
<br />
<br />
將 getTouchDelegateAction 放入自己常用 library, 以後按需要直接使用, 紅黑紅紅黑, 就係咁簡單. Anonymoushttp://www.blogger.com/profile/13766698872634731775noreply@blogger.com0tag:blogger.com,1999:blog-7078283392270889414.post-87574899175686052682012-09-18T11:23:00.001+08:002012-09-18T11:29:39.893+08:00Android 華麗介面匯聚Android 工程師 Romain Guy 剛分享了一個連結, 內含大量華麗軟件截圖, 要設計一個吸引人的軟件絶不容易, 現在不妨參考一下高手的作品吧.<br />
<br />
<a href="http://androidniceties.tumblr.com/">http://androidniceties.tumblr.com/</a>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://25.media.tumblr.com/tumblr_mabw6wBt831r2wjwko5_1280.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://25.media.tumblr.com/tumblr_mabw6wBt831r2wjwko5_1280.png" width="203" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://25.media.tumblr.com/tumblr_m8oliwGDGO1r2wjwko5_1280.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://25.media.tumblr.com/tumblr_m8oliwGDGO1r2wjwko5_1280.png" width="203" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://24.media.tumblr.com/tumblr_luvued6XhP1r2wjwko4_1280.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://24.media.tumblr.com/tumblr_luvued6XhP1r2wjwko4_1280.png" width="201" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://24.media.tumblr.com/tumblr_lu64yi5Kty1r2wjwko2_1280.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://24.media.tumblr.com/tumblr_lu64yi5Kty1r2wjwko2_1280.png" width="201" /></a></div>
<br />Anonymoushttp://www.blogger.com/profile/13766698872634731775noreply@blogger.com0tag:blogger.com,1999:blog-7078283392270889414.post-27728997500785644912012-09-04T03:30:00.003+08:002012-09-07T00:23:31.953+08:00立法會重要表決紀錄 Android 版 v1.3 推出v1.3 (2012-09-04)<br />
- 增加分享功能<br />
- 使用官方 icon<br />
<br />
<div class="separator" style="clear: both;">
<br class="Apple-interchange-newline" />下載:</div>
<div class="separator" style="clear: both;">
<a href="https://play.google.com/store/apps/details?id=com.siulun.LegcoVotes">https://play.google.com/store/apps/details?id=com.siulun.LegcoVotes</a></div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9QXlY_TGLw65rA6vHu3zR6YtpWGTJms2LbvS_agMLrbkk8xxsJlX4-nwyr1vY1K85V1wCHlIhSe-2F5mmhoQooXxo5sCfpaQLqo6UD7dJbfHJbwTEpekohDKtPkmay2dSYwHFv-DIJh4/s1600/test38d20eebee6ea4038eecbdca3203dffc.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9QXlY_TGLw65rA6vHu3zR6YtpWGTJms2LbvS_agMLrbkk8xxsJlX4-nwyr1vY1K85V1wCHlIhSe-2F5mmhoQooXxo5sCfpaQLqo6UD7dJbfHJbwTEpekohDKtPkmay2dSYwHFv-DIJh4/s1600/test38d20eebee6ea4038eecbdca3203dffc.png" /></a></div>
Anonymoushttp://www.blogger.com/profile/13766698872634731775noreply@blogger.com0tag:blogger.com,1999:blog-7078283392270889414.post-59212732453034135752012-08-15T18:45:00.001+08:002012-08-22T14:45:17.368+08:00立法會重要表決紀錄 Android 版 v1.0 推出<div class="separator" style="clear: both; text-align: left;">
立法會選舉在即, 過去有很多極大爭議的議案在立法會表決, 就讓我門回顧一下各議員的投票意向吧:</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
下載:</div>
<div class="separator" style="clear: both; text-align: left;">
<a href="https://play.google.com/store/apps/details?id=com.siulun.LegcoVotes">https://play.google.com/store/apps/details?id=com.siulun.LegcoVotes</a>
</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9QXlY_TGLw65rA6vHu3zR6YtpWGTJms2LbvS_agMLrbkk8xxsJlX4-nwyr1vY1K85V1wCHlIhSe-2F5mmhoQooXxo5sCfpaQLqo6UD7dJbfHJbwTEpekohDKtPkmay2dSYwHFv-DIJh4/s1600/test38d20eebee6ea4038eecbdca3203dffc.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9QXlY_TGLw65rA6vHu3zR6YtpWGTJms2LbvS_agMLrbkk8xxsJlX4-nwyr1vY1K85V1wCHlIhSe-2F5mmhoQooXxo5sCfpaQLqo6UD7dJbfHJbwTEpekohDKtPkmay2dSYwHFv-DIJh4/s1600/test38d20eebee6ea4038eecbdca3203dffc.png" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWAjGgAQeGApNYiqi-qP7qaM88fJBDgRAJ-NTGuH9lQN5rVYN5RcAd2rB9uLGFkCG_EdNNLwmXLnFnN7G2dF63pUF7Lpkn3tv_QBA7uOljLXEwh4CsLl6jnXgJzotLBR9WGsCpI4zjAM4/s1600/device-2012-08-15-171352.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWAjGgAQeGApNYiqi-qP7qaM88fJBDgRAJ-NTGuH9lQN5rVYN5RcAd2rB9uLGFkCG_EdNNLwmXLnFnN7G2dF63pUF7Lpkn3tv_QBA7uOljLXEwh4CsLl6jnXgJzotLBR9WGsCpI4zjAM4/s400/device-2012-08-15-171352.png" width="225" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibKpbPifoFqHjR3_s25SgP0_aZe8o8Hn0fecakPufWUNcA3lOCqiYr5peqJZDTqVe13RsgAHOchwMBnehBY12RJvbnkSMhtz1H-kAdMwhJR_qNACYpYve0LgQD5h9XpSPLHzsfKYkYZgc/s1600/device-2012-08-15-171428.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="225" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibKpbPifoFqHjR3_s25SgP0_aZe8o8Hn0fecakPufWUNcA3lOCqiYr5peqJZDTqVe13RsgAHOchwMBnehBY12RJvbnkSMhtz1H-kAdMwhJR_qNACYpYve0LgQD5h9XpSPLHzsfKYkYZgc/s400/device-2012-08-15-171428.png" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMYzUzhXwpu-81Oyo_ydB3_PwnOqWIJaGZBl5bAk7txR_L7roKPGbqAUdHCdFAyd0ZtcS2yHzTecMwQmvTmNt0YGBypww79f_C8PYyJuwhMfF8f9tlFkska6jD6GHWM7eN_MlnIq7Ahdc/s1600/device-2012-08-15-171442.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMYzUzhXwpu-81Oyo_ydB3_PwnOqWIJaGZBl5bAk7txR_L7roKPGbqAUdHCdFAyd0ZtcS2yHzTecMwQmvTmNt0YGBypww79f_C8PYyJuwhMfF8f9tlFkska6jD6GHWM7eN_MlnIq7Ahdc/s320/device-2012-08-15-171442.png" width="180" /></a></div>
<br />
<div>
<br /></div>
Anonymoushttp://www.blogger.com/profile/13766698872634731775noreply@blogger.com0tag:blogger.com,1999:blog-7078283392270889414.post-36430167491797494152012-08-13T15:48:00.000+08:002012-08-13T15:48:03.564+08:00Google Now 小小心得 (2)各大球賽聯賽即將開鑼, 今次教大家如何在 Google Now 中顯示各位關心的球隊卡片.<br />
<br />
有使用 Google Now 的朋友都應該會留意到 Sports 卡片中的設定是灰掉了的, 即大家不能在設定中增加球隊, 其實這個設定只是用來刪除球隊之用. 要增加球隊, 你需要跟以下的步驟設定:<br />
<br />
首先登入自己的 Google Dashboard: <a href="https://www.google.com/dashboard/">https://www.google.com/dashboard/</a> , 於 Account 中點選 Manage account > Go to web history > 啓動 Web History.<br />
<span style="background-color: white; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 24px; white-space: nowrap;"><br /></span>
完成後便可以在 Google Now 中搜尋你喜愛的球隊名稱, 如該球隊在最近有比賽的話, 你就可以看見比賽結果的卡片了.<br />
<div>
<br /></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://dl.dropbox.com/u/15801157/Share%20To%20Post/2012-08-13%2015.36.54.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="https://dl.dropbox.com/u/15801157/Share%20To%20Post/2012-08-13%2015.36.54.png" width="225" /></a></div>
<br />Anonymoushttp://www.blogger.com/profile/13766698872634731775noreply@blogger.com0tag:blogger.com,1999:blog-7078283392270889414.post-89867934993626743282012-08-09T11:53:00.002+08:002012-08-09T12:06:09.950+08:00語音搜尋戰: Google Voice VS Siri<div class="separator" style="clear: both;">
網上有朋友 <a href="https://www.youtube.com/user/JLishere" target="_blank">Jean-Louis Nguyen</a> 製作了以下的影片, 他對 Google Voice 發問了 40 多個問題, 讓大家可以了解 Google Voice 強大的搜尋能力, 請特別注意最後一個問題!</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/fHkhp6BwnGo?feature=player_embedded' frameborder='0'></iframe></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both;">
其後 <a href="https://www.youtube.com/user/CaptainPrad" target="_blank">CaptainPrad</a> 對 iPhone iOS6 的 Siri 作了相同問題的測試:</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/6gsxuC5NGXY?feature=player_embedded' frameborder='0'></iframe></div>
<br />
<br />
最後還有 <a href="http://www.youtube.com/user/jon4lakers?feature=watch" target="_blank">TechnoBuffalo</a> 的 side-bye-side 測試, 搜尋能力, 速度一目了言:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/kDsOtdRtG0Q?feature=player_embedded' frameborder='0'></iframe></div>
<br />
<br />
在簡單的問題上兩者不會有太大分別, 但比較複雜的問題上, Siri 所提供的搜尋結果很多都到喉唔到肺, 搜尋能力及速度上始終及不上靠搜尋器起家的 Google Voice.Anonymoushttp://www.blogger.com/profile/13766698872634731775noreply@blogger.com0tag:blogger.com,1999:blog-7078283392270889414.post-45093517881133567042012-08-03T12:50:00.000+08:002012-08-03T18:47:03.420+08:00Google Now 小小心得<div class="separator" style="clear: both; text-align: left;">
</div>
<div class="separator" style="clear: both;">
可能有很多香港朋友都見過, 經 Google Now 搜尋的結果跟外國朋友不大相同. 就如跟人物相關的資料時, 外國朋友的搜尋結果一般都會有人物相片顯示. 但為可香港朋友(或非美國本土)就沒有顯示呢? </div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both;">
以往近似問題最常見的解決方法是設定系統語言為 English (U.S.), 但在 Google Now 卻不能用這個方法解決. 原來只要在 settings>accounts >Google>Search, 把 Seach on google.com 勾選了就可以. (否則在香港而言則以 google.com.hk 搜尋) </div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
設定前:</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://dl.dropbox.com/u/15801157/Share%20To%20Post/Screenshot_2012-08-03-12-36-55.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://dl.dropbox.com/u/15801157/Share%20To%20Post/Screenshot_2012-08-03-12-36-55.png" width="180" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
設定後:
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://dl.dropbox.com/u/15801157/Share%20To%20Post/Screenshot_2012-08-03-12-36-25.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://dl.dropbox.com/u/15801157/Share%20To%20Post/Screenshot_2012-08-03-12-36-25.png" width="180" /></a></div>
<br />
Credit to <a class="Tt" href="https://plus.google.com/u/0/109600738460265587799" o="109600738460265587799" style="cursor: pointer; font-family: arial, sans-serif; font-size: 15.555556297302246px; line-height: 20px;" target="_blank">Lewis McGeary</a>Anonymoushttp://www.blogger.com/profile/13766698872634731775noreply@blogger.com0tag:blogger.com,1999:blog-7078283392270889414.post-72503305408946146882012-07-11T01:00:00.000+08:002012-07-11T02:53:04.812+08:00Jelly News v0.4.2 released! (Was named GReadNotifier)<div>
"<b>GReadNotifier</b>" has been renamed to "<b>Jelly News</b>"!!! Now fully support Jelly Bean's Expandable Notification. (See the screenshots below!)</div>
<div>
<br /></div>
<div>
Jelly News links your Google Reader and show your favorite news in notification bar. Read your feed anytime even running other apps on top!</div>
<div>
<br /></div>
<div>
<b>Before using the app:</b></div>
<div>
1. You need a Google account</div>
<div>
2. Subscript your favorite news channel in Google Reader</div>
<div>
<br /></div>
<div>
<b>App Instructions:</b></div>
<div>
1. Add your google account in preferences page</div>
<div>
2. Press "On" to start the background service</div>
<div>
3. Wait for the news update</div>
<div>
4. Expend the notification to read the news if you are using Jelly Bean<br />
5. Or click the notification to read the full article<br />
6. Swipe the screen to turn to last or next news</div>
<div>
<br /></div>
<div style="text-align: center;">
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjq2AnA25SUAmKbGqv6y7oiXuTTX0JR5G4SX6T4-T9C8PIUSTwSh5R2Wyi2g3DWfiPLRS0Bf8awvy4Fxlaq0G5HxbGkv9dKLhgBax3uAZYpnfYkSVNRlAYJOao934TNftDqS3TQGZldvbQ/s320/2012-07-10+18.21.44.png" /><span style="background-color: white;"> </span><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitvpXmLLSC58qnCY8Vc-BjXZobPbA1zEZQCjCsX5EMANvZreKX2_P8FjXhiZ0JYt6FAF3kBa1Z56JODX96zr3oK1C0bE_KFzMb230SkYaUv-8ZPXpYMDBTiPIW_XTd5APNrFoq8I_ZPp4/s1600/2012-07-10+18.21.20.png"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitvpXmLLSC58qnCY8Vc-BjXZobPbA1zEZQCjCsX5EMANvZreKX2_P8FjXhiZ0JYt6FAF3kBa1Z56JODX96zr3oK1C0bE_KFzMb230SkYaUv-8ZPXpYMDBTiPIW_XTd5APNrFoq8I_ZPp4/s320/2012-07-10+18.21.20.png" /></a></div>
<div style="text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU3tXBhKp_5zvWH6uSoKRm5hTEGDeV3itxWyPxrSIlOE625NYLF4k_pb77NDzFizXZqT8oTUy40cDZgUmx1YlhWQT0AhiKv1I7KSC7_z4zL7rWCnsSmCSgIhtRvs-W3IBGnpxwj-P9Y10/s1600/2012-07-10+18.24.04.png"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU3tXBhKp_5zvWH6uSoKRm5hTEGDeV3itxWyPxrSIlOE625NYLF4k_pb77NDzFizXZqT8oTUy40cDZgUmx1YlhWQT0AhiKv1I7KSC7_z4zL7rWCnsSmCSgIhtRvs-W3IBGnpxwj-P9Y10/s320/2012-07-10+18.24.04.png" /></a><span style="background-color: white;"> </span><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUsGTsdq-jQ-0Q57qjnJUhn85Ip0sM8z83m_nSOv53CTL-GNBWoMFX836CPG7XSRg8mAcKAn2FpZuc8aK_gXn0G3NuodREi3UAGk301CFJgB0jhwlQtUq44yoqEL1NE6BOn_9uJi1lJRE/s1600/2012-07-10+18.26.10.png"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUsGTsdq-jQ-0Q57qjnJUhn85Ip0sM8z83m_nSOv53CTL-GNBWoMFX836CPG7XSRg8mAcKAn2FpZuc8aK_gXn0G3NuodREi3UAGk301CFJgB0jhwlQtUq44yoqEL1NE6BOn_9uJi1lJRE/s320/2012-07-10+18.26.10.png" /></a><br />
<br />
<div style="text-align: left;">
</div>
<div>
<b><br class="Apple-interchange-newline" />Download link:</b><br />
<a href="https://play.google.com/store/apps/details?id=com.siulun.GReadNotifier">https://play.google.com/store/apps/details?id=com.siulun.GReadNotifier</a></div>
<div>
<div style="text-align: -webkit-auto;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://chart.apis.google.com/chart?cht=qr&chs=150x150&chl=market%3A//details%3Fid%3Dcom.siulun.GReadNotifier&chld=H|0" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://chart.apis.google.com/chart?cht=qr&chs=150x150&chl=market%3A//details%3Fid%3Dcom.siulun.GReadNotifier&chld=H|0" /></a></div>
</div>
<div>
<br /></div>
</div>Anonymoushttp://www.blogger.com/profile/13766698872634731775noreply@blogger.com0tag:blogger.com,1999:blog-7078283392270889414.post-71269142725511942112012-07-04T14:48:00.001+08:002012-07-09T17:35:24.197+08:00Android 新 UI 功能向後支援總匯由 3.0 開始,Google 發表了不少新的 UI 功能以加強用戶體驗,計有 3.0 發表的 Action Bar、Fragment 、 Property Animation。3.0 發表並於 4.0 大幅進化的 Holo Theme,4.0 發表的 Grid Layout,4.1發表的 Notification, 豐富 Activity 轉換動畫的 ActivityOptions 等。大量新功能要向下支援舊版本確實是開發者一大煩惱。幸好很多有心人為了減少其他開發者的時間,發表了不少支援 Library,令開發者可以把時間專注於本身軟件的功能上。下面是一個支援庫總匯,希望開發者可以更新自家軟件並用盡 4.0 UI 功能,使用家不用再忍受新舊 UI 軟件同時使用的煩惱:<br />
Action Bar:<br />
ActionBarSherlock<br />
<a href="http://actionbarsherlock.com/">http://actionbarsherlock.com/</a><br />
<br />
Fragment:<br />
Google 自家出品的 Support library<br />
<a href="http://developer.android.com/tools/extras/support-library.html">http://developer.android.com/tools/extras/support-library.html</a><br />
<br />
Animation:<br />
NineOldAndroid<br />
<a href="http://nineoldandroids.com/">http://nineoldandroids.com/</a><br />
<br />
Holo Theme:<br />
Holo Everywhere<br />
<a href="https://github.com/ChristopheVersieux/HoloEverywhere">https://github.com/ChristopheVersieux/HoloEverywhere</a><br />
<br />
Grid Layout:<br />
android-gridlayout<br />
<a href="https://github.com/dlew/android-gridlayout">https://github.com/dlew/android-gridlayout</a>
<br />
<br />
Notification:<br />
NotificationCompat2 (UI 上舊版本不會有變化, 但新 api 不會令版本舊 force close )<br />
<a href="https://github.com/JakeWharton/NotificationCompat2">https://github.com/JakeWharton/NotificationCompat2</a><br />
<br />ActivityOptions:<br />ActivityCompat2<br /><a href="https://github.com/JakeWharton/ActivityCompat2">https://github.com/JakeWharton/ActivityCompat2</a><br /><br />[更新 NotificationCompat2, ActivityCompat2]Anonymoushttp://www.blogger.com/profile/13766698872634731775noreply@blogger.com0tag:blogger.com,1999:blog-7078283392270889414.post-55996087846583424472012-06-26T15:25:00.001+08:002012-07-04T13:38:18.878+08:00Android device 多逹 4000 種, 不同螢幕大少/解像度會否成為開發者的致命傷?<span style="font-family: Arial, sans-serif;"></span><br />
<span style="font-family: Arial, sans-serif;"></span><br />
<span style="font-family: Arial, sans-serif;">早前有報導指 Android device 多逹 4000 種, 亦因此為開發者帶來不少難度. 其中, 各種不同螢幕大少/解像度會否成為開發者的致命傷?</span><br />
<span style="font-family: Arial, sans-serif;"><br /></span><br />
<span style="font-family: Arial, sans-serif;">要設計一個能支援所有 Screen Size 的 UI 主要考慮到三點, 一是螢幕大小 , 二是螢幕密度 , 三是顯示方向.</span><br />
<span style="font-family: Arial, sans-serif;"><br /></span><br />
<span style="font-family: Arial, sans-serif;">一, 螢幕大小歸納了四種: small, normal, large, and xlarge. 由 1.6 版本開始, Google 已經向開發者說明 UI 設計應該使用 Density-independent pixel (dp / dip) 作為計算單位. 所以, 首先注意的是每一件元件都要以 dp 來作單位, 而不是 px. 再配合不同 Qualifier 就可以為不同大小的螢幕設定不同的排版 (如: layout-small/, layout-xlarge/). 排版時要善用 weight 及 9.patch 圖片, 這樣系統顯示版面時會自動為不同螢幕大小修正長度,</span><br />
<span style="font-family: Arial, sans-serif;"><br /></span><br />
<span style="font-family: Arial, sans-serif;">二, 螢幕密度大概分為 ldpi, mdpi, hdpi, xhdpi 及 tvdpi(Google TV用及新的 Nexus 7), 根據(一)的排版, 就可以製作不同大小的圖像應用到不同密度的螢幕. 圖像大小可以以 mdpi 作為參巧值, 如一個 50x50px 的圖片, 在 hdpi 可以製作成 75x75px. 除質素提高外, 較大的圖像所製作的按鈕在高密度的螢幕會較為好按. 如果用家的設備沒有相應的圖像資源, 系統則會自動縮放現有的資源顯示. 如要偷懶的話, 可以只為 hdpi 製作圖像, 但細小的螢幕可能會出現圖像過大的情況, 而自動縮放亦都會使圖像質素下降.</span><br />
<span style="font-family: Arial, sans-serif;"><br /></span><br />
<span style="font-family: Arial, sans-serif;">三, 基本上只要為(一)所排的版面再以不同方向排版一次, 如有需要的話可以配合 Fragment 為不同的方向製作不同版面, 這個有機會再講.</span><br />
<span style="font-family: Arial, sans-serif;"><br /></span><br />
<span style="font-family: Arial, sans-serif;">如一切順利的話, 你的應用相信已經可以支援市場上九成九的螢幕了。相信第一次製作全螢幕支援的軟件會感到困擾, 但一掌握了技術的話, 以後只要作幾個重點測試已經足夠了. 況且就算做得不太好, 亦只會"比較難睇", 軟件還是可用的. 相信不會成為開發者的致命傷.</span>Anonymoushttp://www.blogger.com/profile/13766698872634731775noreply@blogger.com0tag:blogger.com,1999:blog-7078283392270889414.post-55246318039861268362012-06-26T15:11:00.004+08:002013-01-31T02:59:11.604+08:00返回 Launcher, 按 Back / Home 鍵究竟有何分別?<br />
Android 的優勢是多工作業, 很多用家會在使用一個軟件的途中返回 Launcher(即主桌面) 看看 Widget 中的資訊或啟動其他軟件, 完成後再返回原來的軟件. 那麼在軟件的主介面中, 按 Back / Home 鍵究竟有何分別呢? 甚麼時候應該按 Back, 又甚麼時候應該按 Home 呢?<br />
<br />
其實主要分別在於 Back 鍵是<b>直接關閉當前軟件</b>, 再返回 Launcher(或返回啟動該軟件的軟件). 而 Home 鍵則是<b>直接呼叫 Launcher 到當前畫面</b>, 沒有經過關閉原來軟件的程序. 本來的軟件會隱藏到背景當中繼續運作, 如有資料傳輸的話會繼續其工作, 直至資源不足 - 系統必需<b>回收資源</b>以供其他軟件使用時才會關閉軟件. 即 Back 鍵適合<b>使用完</b>該軟件, 並短時間內不會啟動. Home 鍵則適合<b>短時間內會再使用</b>軟件或要把軟件<b>放到背景</b>中繼續運作時用.<br />
<br />
簡單總結:<br />
<br />
Back:<br />
- 在主介面中會關閉當前軟件<br />
- 在軟件 副頁面 時, 會返回上一頁/返回主介面<br />
- 當軟件關閉後, 下次啟動時需要重新載入<br />
- 適合使用完該軟件, 並短時間內不會再啟動<br />
- 收藏鍵盤<br />
<br />
Home:<br />
- 在軟件使用中, 不論在主介面或副頁面, 都會即時帶出 Launcher<br />
- 軟件只是隱藏到背景當中繼續運作<br />
- 軟件隱藏中並再次啟動時,系統只會把軟件放回前景, 不會重新載入<br />
- 軟件隱藏太久或資源不足時, 系統會自動關閉並回收所用資源, 那重新啟動時便要重新載入<br />
- 適合會於短時間內返回軟件, 節省重新載入時間<br />
- 適合該軟件仍然在運作中, 並會於短時間內返回軟件, 完美運用 Android 多工優勢<br />
<br />
那有沒有例外的情況呢? 有!<br />
<br />
有些軟件不支援返回前景 / 隱藏到背景的動作, 其實是開發者強行每次啟動時都要重新載入, 那麼不論按 Back / Home 也不會有分別.<br />
<br />
P.S. 如何啟動正在隱藏的軟件? 其實不論已關閉或正隱藏的軟件啟動方法都是一樣, 在 Launcher 中啟動或按最近使用紀錄按鈕叫出最近使用例表中啟動 ( 3.0 前的 Device 長按 Home)Anonymoushttp://www.blogger.com/profile/13766698872634731775noreply@blogger.com0tag:blogger.com,1999:blog-7078283392270889414.post-569662728072998112012-05-23T11:53:00.003+08:002012-05-23T13:58:28.559+08:00Android 版本 Theme Hospital (杏林也瘋狂)<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://upload.wikimedia.org/wikipedia/en/2/26/Theme_Hospital.front_cover.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="195" src="http://upload.wikimedia.org/wikipedia/en/2/26/Theme_Hospital.front_cover.jpg" width="200" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
1997 年 Bullfrog Productions 推出的名作 Theme Hospital (杏林也瘋狂) 已經登陸 Android 了. 這個模擬醫院的遊戲不但將嚴肅專業的醫院卡通化, 還將病人的"病"及治療方法亦都變得十分趣怪, 例如得了大頭症治療方法就是將頭拮爆, 再吹脹..... 當年的我都曾經十分沉迷, 現在再來回味一下吧!
<br />
<br />
安裝方法:<br />
<br />
1. 請先安裝 CorsixTH apk: <a href="https://github.com/alanwoolley/CorsixTH-Android/downloads" target="_blank">到這裡下載最新版本</a><br />
2. 下載原版遊戲: <a href="http://download.digiex.net/Games/ThemeHospital/hospital.rar" target="_blank">Download</a> (From: <a href="http://digiex.net/downloads/download-center-2-0/games/757-theme-hospital-full-version-download-multiplayer-patch-windows-vista-7-support.html" target="_blank">http://digiex.net</a>)<br />
3. 把 rar 解壓, 再放入 sdcard/th (可以在 CorsixTH 更改路徑)<br />
4. 可以開始遊戲了<br />
<br />
小心得:<br />
<br />
1. 移動地圖及旋轉傢私向方可以用 double tap 達成<br />
2. 如 save 新檔不能叫出 keyboard, 可以存進
autosave 複蓋<br />
3. setting 要 exit 再進入才會再出現<br />
<br />
<br />
p.s. 已測試 Galaxy Nexus 及 Galaxy Tab 10.1 可成功運行. 設定 Default 解像度為 640x480, 字體大少會比較好看一點.Anonymoushttp://www.blogger.com/profile/13766698872634731775noreply@blogger.com0