Search This Blog 找資訊



2009年6月25日 星期四

HTC推出G3 Hero桑 !


一樣是Android平台的Hero 算一算 他就是G3



HTC Hero 實機照

HTC Hero 韌體的操作影片

HTC Hero vs. Magic 動手玩!

2009 年一堆 Android手機!

2009年6月22日 星期一

Supporting Multiple Devices

Read these first

Declaring Layout

Building Custom Components



• Pixels (px)
• Millimeters (mm)
• Inches (in)
• Points (pt)
• Device independent pixels (dp)
• Scaled pixels (sp)

其他Android 開發文章請見: Android開發豆知識

2009年6月18日 星期四

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 (including location)

其他Google I/O 文章:

Google I/O 2011 重點整理


2010年Google I/O Android 2.2 要來啦 ~

2009年6月15日 星期一

錯誤歸因 以及Android AIDL





工作上我常出現這樣的問題 :(





由於在某個已確定的檔案裡面找不到,就覺得應該是發錯 KeyEvent




應該不是framework 而是再往下

於是找阿找 去追可能的路徑





來load *kcm

這裡負責來抓keycode 以建立keymap

(會先確認device -> 找keycode ->)

根據keymap 發keyevent



1. 幫寫一個kcm
2. 找keycode 定義
3. 幫他加一個對應event
4. 接著在policy定義要做的行為



發現要找的東西,不在那個檔案,而是在隔壁 ....

唉 所以一步錯步步錯 @@





疑 怎麼沒有 然後就以為少了什麼 該自己去補起來






為甚麼要有 跟 ?

但有的時候又是 配 ? 通常都是 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內 ? @@





顯然, Java中不允許跨進程內存共享.因此傳遞對象,只能把對象拆分成操作系統能理解的簡單形式,以達到跨界對象訪問的目的.


其他Android 開發文章請見: Android開發豆知識

ReStart !


要重新開始嚕 :)


2009年6月12日 星期五

什麼是 DRM ?

網路上查詢 DRM的定義結果:

* 數字版權管理(Digital Rights Management;簡稱:DRM)指的是出版者用來控制被保護對象的使用權的一些技術,這些 ...

DRM – 檔案受DRM管理,使用者只能依據該檔案的DRM屬性去進行操作

需要確認檔案的屬性 :

– FL (Forward Lock):

– CD (Combined delivery):
檔案必須依據使用規範(定義在Right Object)來操作並且也不可以散佈出去

– SD (Separate delivery):
檔案可以自由散佈出去,使用者必須獲得Right Object後才可以使用檔案



什麼是 DM ?

2009年6月9日 星期二

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/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

* 加密資料檔案的方法。每個檔案都會利用一個不受使用者的「公開/私密金鑰對」所支配、且隨機產生的金鑰 ...

什麼是 GZIP ?

網路上查詢 GZIP的定義結果:

# gzip 是GNU zip的縮寫,它是一個 GNU 自由軟件的文件壓縮程序。它是 Jean-loup Gailly 和 Mark Adler 一起開發的。 ...

# Internet上免費提供的一個UNIX文件壓縮程序, 在UNIX環境中, 直接使用Gzip作為一個命令對文件進行壓縮操作。 ...

2009年6月1日 星期一

無名之後是 ... 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 the way you want.

What to do with your blog

Be sure to take your blog with you as part of this transition process. To help, we've built a blogging tool for you in your new profile on Yahoo!. We've made the move easy; it takes just one click to take your posts with you. If you'd prefer to take your blog to a different website instead, you can download an archive of your posts and transfer them to your new blog space. Click here to read more about your blogging options.

Some content will not be supported in your new profile

Please note that your new profile will not allow mature content. Also, you will not be able to take the following with you to your new profile: your 360° inbox, testimonials, friend categories, local reviews, RSS feeds, tags, or custom theme. If you want to retain any of this material, we strongly recommend that you return to your pages and download it before July 13, 2009.

Your privacy settings are retained

Your privacy is important to us. Both your new profile and your blog contents will be set to "private". This means unless you change the setting, you will be the only one able to see your profile.

To help you through this transition, we've compiled a list of the most frequently asked questions and resources here.

Thank you for using Yahoo! 360°. We look forward to seeing you in your new profile on Yahoo!.

The Yahoo! Profile Team




Welcome to Taiwan ! 推薦台灣住宿