2011年12月16日星期五

Google 官方的 Android 訓練課程上線了

Google 官方的 Android 訓練課程 終於上線了。看到這個,就讓我想到從去年二月起曾經參加過然後到今年六月終止的 Google Android Developer Qualification Program。剛剛稍微看了一下這次官方的訓練課程內容,從如何針對不同螢幕尺寸及精細度 (density) 的支援,到如何處理音樂播放、改進程式的電源管理效率、帳號處理、如何根據不同條件讓使用者下載不同版本的程式等等都有介紹,感覺是還蠻實用的。有興趣的人可以去看看囉!:)

2011年10月17日星期一

向賈伯斯致敬 Think Different - Steve Jobs

2011年10月6日星期四

在 Android Market 放置應用程式的行銷圖片指引

Android 開發人員官方部落格為軟體開發商在 Android Market 上放置應用程式的行銷圖片提供了一些指引,在此做個筆記,有興趣的人可以過去看看。:)

2010年11月19日星期五

行動裝置介紹與基督徒相關的應用

我上週日在中華基督教網路發展協會所講的投影片內容,有興趣的人可以看囉 :)

2009年12月5日星期六

Recent code building break in Android Open Source Project

If you are using Mac OS X 10.5.8 Leopard like I do and you have synchronized the Android source code from the Android Open Source Project, you probably found that you will get a code building break message as the followings:


target SharedLib: libwebcore
(out/target/product/generic/obj/SHARED_LIBRARIES/libwebcore_intermediates/LINKED/libwebcore.so)
out/target/product/generic/obj/SHARED_LIBRARIES/libwebcore_intermediates/WebCore/css/CSSParser.o:
In function `WebCore::CSSParser::lex(void*)':
external/webkit/WebCore/css/CSSParser.cpp:4219: undefined reference to `WebCore::CSSParser::lex()'

This is because the flex version in the Android source code is been upgraded to 2.5.4a and it causes some errors when trying to find the lex() function in CSSParser. To solve the problem, you can use MacPort 1.8 to install a flex verison then use that flex to replace the version in the Android source code. The commands would be:


cd prebuilt/darwin-x86/flex/
mv flex-2.5.4a flex-2.5.4a-OLD
ln -s /opt/local/bin/flex flex-2.5.4a
touch external/webkit/WebCore/css/tokenizer.flex

For more information, check this issue in the Android bug base.

So far I have successfully build my code on my 15.4" MacBook Pro. If you also meet the issue, you can give it a try.

Related Posts / 相關文章

Related Posts with Thumbnails