發表文章

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

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) 其他Android 開發文章請見:  Android開發豆知識

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 要來啦 ~

錯誤歸因 以及Android AIDL

錯誤歸因 是一種人常犯的錯誤。 比如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 A

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

Google Search

推薦內容橫式

本月熱門文章

鋼鐵韓粉站出來 讓韓國瑜每天唱歌喝酒好不好

北京故宮首訪,一窺清宮秘史 大玉兒 & 甄嬛

捐款支持義大利靈醫會 一起來幫助他們 就像當初教士來台灣協助我們一樣 !!

從台灣省長宋楚瑜到台北市長柯文哲,可以說 宋楚瑜 2.0 就是柯文哲

「港版國安法」,法律將會放在《基本法》附件三在港實施,而非就《基本法》23條立法

黑金? 不得不提前總統馬英九大姊馬以南 吳敦義 林益世

香港事件回顧 2020/08/10 前眾志成員周庭及壹傳媒創辦人黎智英被捕 今日累計10人被捕

返校場景之一 高雄黃埔新村

台灣與世界的不同 台灣:為什麼連續假日出去玩會塞車!