2010年9月21日 星期二

Android ADT 0.9.8, SDK Tools r7

這個月Android更新了 ADT, SDK Tools

SDK Tools, Revision 7 (September 2010)

Dependencies:
If you are developing in Eclipse with ADT, note that SDK Tools r7 is designed for use with ADT 0.9.8 and later. After installing SDK Tools r7, we highly recommend updating your ADT Plugin to 0.9.8.

General notes:
  • Added support for library projects that depend on other library projects.
  • Adds support for aidl files in library projects.
  • Adds support for extension targets in Ant build to perform tasks between the normal tasks: -pre-build, -pre-compile, and -post-compile.
  • Adds support for "headless" SDK update. See android -h update sdk for more information.
  • Fixes location control in DDMS to work in any locale not using '.' as a decimal point.

ADT 0.9.8 (September 2010)

Dependencies:
ADT 0.9.8 is designed for use with SDK Tools r7 and later. Before updating to ADT 0.9.8, we highly recommend that you use the Android SDK and AVD Manager to install SDK Tools r7 into your SDK.(先更新SDK喔)

General notes:
  • Adds a new Action, "Rename Application Package", to the Android Tools contextual menu. The Action does a full application package refactoring.
  • Adds support for library projects that don't have a source folder called src/. There is now support for any number of source folders, with no name restriction. They can even be in subfolder such as src/java. If you are already working with library projects created in ADT 0.9.7, seeMigrating library projects to ADT 0.9.8 for important information about moving to the new ADT environment.
  • Adds support for library projects that depend on other library projects.
  • Adds support for additional resource qualifiers: car/desk, night/notnight and navexposed/navhidden.
  • Adds more device screen types in the layout editor. All screen resolution/density combinations listed in the Supporting Multiple Screens are now available.(沒看到有新的Screen阿)
  • Fixes problems with handling of library project names that contain characters that are incompatible with the Eclipse path variable. Now properly sets up the link between the main project and the library project.

最近超需要Rename Application Package的功能,之前都用手動改package name真是麻煩死了,ADT更新的時機真是太剛好了。

Google Authenticator

昨天在玩Android Market時候,看到Google出了一個新的App "Google Authenticator",就是Google的雙重認證工具,也有iPhone, 黑莓機版本,詳細的使用方法可以參考

Two-step verification

Google Apps Administrator說明

2010年9月13日 星期一

Java Preferences

Java SE 1.4 新增的API

http://www.ibm.com/developerworks/cn/java/j-prefapi/index.html
http://hi.baidu.com/wiselyman/blog/item/09c76c2798db5d0a918f9d8e.html
有清楚的介紹。

Windows 系統,Prefs 儲存在註冊表
userRoot:
HKEY_CURRENT_USER\Software\JavaSoft\Prefs
systemRoot:
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Prefs

2010年9月9日 星期四

美國心玫瑰情 American Beauty



這部片獲得1999奧斯卡最佳影片等五項大獎,其實在一整部片的時間裡,一直有一個問題在思索,為什麼這部片名稱為American Beauty,明明說的是一些社會、家庭、人的問題,有捨麼美麗的地方,但片中的一個角色,拿著攝影機到處拍的那傢伙,卻對這種種現象,視為一種美,我試著也讓自己用這種角度去看待這些問題時,有了一點點的體會,就向他說的沒錯,每件事情背後,都是種滿著生命,看事情不應該只看表面,雖然這些問題的表面,顯現出來並不美,但若把深深地去挖掘本質,何嘗不是為了一份美麗?