發表文章

目前顯示的是 6月, 2009的文章

[太陽花學運] 2014年3月18日 台灣人民佔領立法院行動 反對黑箱服貿

圖片
繼台灣公民記者JO1YNN在美國有線電視新聞網CNN的 iReport ( Taiwan Parliament Occupied by protesters 1st time in History )上。報導台灣「318人民佔領立法院行動」首次佔領立法院議場世界各大重要外電媒體紛紛加以報導。 Arys Chien's status update .: 【 為何學生要佔領立法院,反對黑箱服貿?】 我知道有的朋友平常沒 留意,現在一時看不太懂;我試著用另一種方式簡單說明看看。   會計偷偷抱著公司所有的資產,要去抵押借高利貸。 老闆發現了,趕緊說:「不行啊那是高利貸!」 會計:「我是為公司好!」 老闆:「那起碼告訴我,是哪家高利貸、多少錢、利息怎麼算?」 會計:「我先去借,你之後會慢慢感受到!」 老闆:「那也讓我們開個會討論吧!」 會計:「我趁你不在的時候發開會通知,你沒來,所以就算通過了。 」 老闆要攔會計、會計把自己座位鎖起來,老闆只好請人來包圍會計的 座位,並且設法強行進入;進入後亂翻會計抽屜,想找到公司資產。   以上。   會計 = 政府 老闆 = 台灣人民 高利貸 = 服貿 (沒錯,政府是人民雇用來辦事的職員,看薪水哪裡來的就很清楚了 ) (高利貸不是不能借,只是不能這樣搞啊......)  ( 來源: 我是台灣人粉絲團  )

HTC推出G3 Hero桑 !

圖片
HTC推出新手機! 一樣是Android平台的Hero 算一算 他就是 G3 ! 看一下廣告影片吧 其他相關文章: HTC Hero 實機照 HTC Hero 韌體的操作影片 HTC Hero vs. Magic 動手玩! 2009 年一堆 Android手機!

Supporting Multiple Devices

Read these first • Declaring Layout • Building Custom Components • Resources 常見Units • Pixels (px) • Millimeters (mm) • Inches (in) • Points (pt) • Device independent pixels (dp) • Scaled pixels (sp)

Ajax on Android

圖片
Android’s Browser is based on WebKit + SquirrelFish •WebKit v528.5, equivalent to Safari 4 beta – Reports as 3.1.2 in the user-agent string -- oops! • Includes Gears 0.5.17.0 (including location) 其他Google I/O 文章: Google I/O 2011 重點整理 2011年的Chrome瀏覽器 2010年Google I/O Android 2.2 要來啦 ~

錯誤歸因

錯誤歸因 是一種人常犯的錯誤。 比如A事件和B事件同時發生造成了C結果,但當事者誤認C結果為A事件所造成,其實是B。 -- 唉, 工作上我常出現這樣的問題 :( 該好好檢討, 所謂的鬼打牆,就是因為錯誤歸因先起了個頭, 而自己一開始完全搞懂,就會走到錯誤的路上。 -- 由於在某個已確定的檔案裡面找不到,就覺得應該是發錯 KeyEvent 然後在自己覺得問題所在的地方放Log檢查 結果什麼都沒得到, 於是覺得是不同層級的問題, 應該不是framework 而是再往下 於是找阿找 去追可能的路徑 推測如下: EventHub.cpp 負責設定property KeyCharacterMap.cpp 來load *kcm KeyCharacterMap.java 這裡負責來抓keycode 以建立keymap (會先確認device -> 找keycode ->) KeyEvent.java 根據keymap 發keyevent -- 總之,心裡就想,那我應該要 1. 幫寫一個kcm 2. 找keycode 定義 3. 幫他加一個對應event 4. 接著在policy定義要做的行為 -- 但是,走了這一段路之後, 發現要找的東西,不在那個檔案,而是在隔壁 .... 唉 所以一步錯步步錯 @@ -- 因為用grep找關鍵字 我先找到了 xxxManager.java 就覺得是這裡了! 疑 怎麼沒有 然後就以為少了什麼 該自己去補起來 但同一個目錄明明就還有 xxx.java 我卻見木不見林 @@ 唉 -- 另一個觀察切入點 為甚麼要有 xxxManager.java 跟 xxx.java ? 但有的時候又是 xxxService.java 配 xxxManager.java ? 而 xxxManager.java 通常都是 AIDL (Android Interface Definition Language) AIDL is an IDL language used to generate code that enables two processes on an Android-powered device. 這應該要想一想 @@ Service 自己是一個process ?@@ 還是很多個Service都在一個process內 ? @@ 不懂阿不懂 參考

ReStart !

圖片
被中斷了一下 要重新開始嚕 :) 差點要真的說聲 再會 了

什麼是 DRM ?

網路上查詢 DRM的定義結果: * 數字版權管理(Digital Rights Management;簡稱:DRM)指的是出版者用來控制被保護對象的使用權的一些技術,這些 ... zh-CN.wikipedia.org/wiki/DRM DRM – 檔案受DRM管理,使用者只能依據該檔案的DRM屬性去進行操作 需要確認檔案的屬性 : – FL (Forward Lock): 檔案可以自由在手機內使用,但是不可以散佈到其他手機,裝置或是網路上 – CD (Combined delivery): 檔案必須依據使用規範(定義在Right Object)來操作並且也不可以散佈出去 – SD (Separate delivery): 檔案可以自由散佈出去,使用者必須獲得Right Object後才可以使用檔案 -- 應該不會搞混的 什麼是 DM ?

Is Android browser supports Content-Encoding : gzip ?

發現有人在google group 問了這個問題 : Is Android browser supports Content-Encoding : gzip ? ( 網址 ) HI all I am developing a application which launches automatically when the user clicks on any link of pls / m3u in browser it works fine. But some links the response from server is like bellow it dos't launches my activity i founded that the difference is only Content-Encoding: gzip is extra in those not working links The android browser also dos't support these links url : http://dir.xiph.org/by_format/MP3 HTTP/1.1 200 OK Date: Tue, 24 Mar 2009 06:22:48 GMT Server: Apache/2.2.4 (Ubuntu) PHP/5.2.3-1ubuntu6.3 X-Powered-By: PHP/5.2.3-1ubuntu6.3 Content-Disposition: inline; filename="listen.m3u" Content-Encoding: gzip Vary: Accept-Encoding Content-Length: 82 Connection: close Content-Type: audio/x-mpegurl How can i specify the Content-Encoding in intent filter is Android browser supports Content-Encoding : gzip Answer : No ~~~~

什麼是 EFS ?

What is EFS ? 網路上查詢 EFS的定義結果: Encrypting File System * 加密資料檔案的方法。每個檔案都會利用一個不受使用者的「公開/私密金鑰對」所支配、且隨機產生的金鑰 ... www.cardweb.com.tw/card/CardISO/netsecurity.htm http://en.wikipedia.org/wiki/Encrypting_File_System

什麼是 GZIP ?

圖片
網路上查詢 GZIP的定義結果: # gzip 是GNU zip的縮寫,它是一個 GNU 自由軟件的文件壓縮程序。它是 Jean-loup Gailly 和 Mark Adler 一起開發的。 ... zh-CN.wikipedia.org/wiki/Gzip # Internet上免費提供的一個UNIX文件壓縮程序, 在UNIX環境中, 直接使用Gzip作為一個命令對文件進行壓縮操作。 ... www.caep.cetin.net.cn/xy/chn_G.htm

無名之後是 ... Yahoo! 360°

Yahoo! 360° Is Closing: Action Required Dear Yahoo! 360° customer, To read this in Vietnamese, please use the link at the bottom of the message. We will be officially closing Yahoo! 360° on July 13, 2009, to focus our efforts on making your new profile on Yahoo! the place where you connect with the people who matter to you most. As a result, you will need to move your 360° information to your new profile before this date. After July 12, 2009, your content on Yahoo! 360° will no longer be accessible. Here are some details to guide you through this transition. What you need to move to your new profile Your 360° information will not be automatically transferred to your new profile on Yahoo!. To move your profile photo, nickname, and any personal status messages, you'll need to first save or download them before July 13, 2009. Once you've saved this information, you can later upload it to your new profile. Be sure to head over to your new profile soon so you can make it look just