Posts

Showing posts from June, 2009

中國國民黨建議的逃生手冊

李志銘 也來談談KMT版的小橘書 民國六十八年(1979)在國民黨主政下,由國防部總政治作戰部編印的《揭穿中共統戰陰謀答問》 這本小冊子裡雖然只有短短7頁8題,但卻字字珠璣,尤其放到今天來看,更是完全凸顯了中國國民黨從反共到舔共的事實。 . 譬如其中第三題問::國共會有兩度合作、一次和談的歷史,爲什麼不能再談? 答:我們就因爲過去每次都上了中共的當,最後失去了大陸,所以現在不能再和他們談了。 第一次是民國十三年的「容共」。中共聲稱服膺三民主義,參加國民革命,但他們却發展自己的組織,分化革命陣營,使北伐革命幾乎失敗。 第二次在民國廿六年的所謂「聯合抗日」。中共趁日本向我國侵略,聲稱接受政府領導,擁護三民主義,取消叛亂政權和紅軍名義,共同抵抗日本。實際上他們却擴張自己勢力,並勾結日本偷襲國軍,打下了他們擴大叛亂的基礎。 最後一次是戰後的「國共和談」。經過美國的調處,中共以邊談邊打的策略,以「談判」保護自己,以軍事行動擴張地盤,並在此談談打打的過程中,挑撥中美關係,動搖我民心土氣,最後終於竊據大陸。我們有了這些經驗,知道和談就是解除自己武裝向他們投降,所以再不能和中共談判了。 . 又譬如其中第七題問:中共現在已不講「解放臺灣」「血洗臺灣」,而講「回歸祖國、完成統一」是不是他們已放棄使用武力? 答:共產黨最善於在名詞上玩魔術,我們千萬不能上當,一定要找出其所用名詞的真正涵義。基本上,「解放臺灣」已訂入了中共的「憲法」,目標已定,正如中共自己所說的,十年、二十年,甚至一百年、一千年,總要達到目標。所以併吞臺灣這個目標是不會改變的。 . . 《揭穿中共統戰陰謀答問》全書PDF電子檔下載 https://reurl.cc/6b5zvM

HTC推出G3 Hero桑 !

Image
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

Image
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 !

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

什麼是 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 ?

Image
網路上查詢 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...