跳到主要內容

發表文章

目前顯示的是 7月, 2011的文章

Android SDK R12,無法啟動 Emulator 的問題

大家好,我是奶綠茶 最近很開心的更新 Android SDK 版本 當要啟動 Emualotr 時,總是出現 invalid command-line parameter: Files\Android\android-sdk-windows\tools/emulator-arm.exe. Hint: use '@foo' to launch a virtual device named 'foo'. please use -help for more information 查了一下發現是 SDK 的大 Bug 在 WIN7 下, 空白字元會產生錯誤 本來想搬資料夾,但又覺得麻煩,後來找到這篇 http://code.google.com/p/android/issues/detail?id=18317 把本來的路徑: C:\ Program Files \Android\android-sdk\ 換成 C:\ PROGRA~1 \Android\android-sdk 就搞定了,連資料夾都可以不用搬。

移除 iOS App icon 自動幫你加上亮光

大家好,我是奶綠茶 在開發 iOS 時, 水果會貼心的在你的 app icon 加上亮光 如果不想要加呢? 原文是這樣寫的: Note: You can prevent iOS from adding the shine to your application icon. To do this, you need to add the UIPrerenderedIcon key to your application's Info.plist file (to learn about this file, see 「The Information Property List」 in iOS Application Programming Guide). The presence (or absence) of the added shine does not change the dimensions of your application icon. 參考文章: http://developer.apple.com/library/ios/#DOCUMENTATION/UserExperience/Conceptual/MobileHIG/IconsImages/IconsImages.html#//apple_ref/doc/uid/TP40006556-CH14-SW2 如果用 AIR 開發的話,只需要在你的 xml 裡加上 <InfoAdditions> <![CDATA[ <key>UIPrerenderedIcon</key> <true/> ]]> </InfoAdditions>> 參考文章: http://help.adobe.com/zh_TW/air/build/WS901d38e593cd1bac1e63e3d129907d2886-8000.html 轉載請註明出處