顯示具有 轉貼 標籤的文章。 顯示所有文章
顯示具有 轉貼 標籤的文章。 顯示所有文章

2012年6月25日 星期一

轉貼:讓 Eclipse 有類似 intellisense 之自動完成功能

用過 Visual Studio (VS) 的人就會知道 Intellisense 功能有多強大
敲首字便可開始提示,以及大小寫校正,但 Eclipse 預設是沒有開啟這功能的
必須要按 Alt + / 才會出現選單供選擇,對於不習慣按熱鍵的人來說實在是有點不方便

想要開啟如同 VS 首字開始自動提示的功能的話,請照下面步驟

  1. Open Eclipse
  2.  (menu) Windows -> Preferences -> Java -> Editor -> Content Assist
  3.  勾選 Auto-Activation,Auto activation delay 為提示出現的延遲時間,建議可以設為 0
  4.  Auto activation triggers for Java: 原本是 dot 改成 .abcdefghijklmnopqrstuvwxyz(,


現在可以在 Ecplise 中體驗如同 VS 的 Intellisense 功能了

ps. 提示有時可能會有點慢,畢竟是 Java-based 的 IDE,就不要苛求速度了。

延伸閱讀

http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.jdt.doc.user/tips/jdt_tips.html

2012年6月20日 星期三

轉貼:VirtualBox 裝上 Android 4.04 試 Apps

下載 VirtualBox image file

  • vbox86p : Built for a “phone”, 480×800 default resolution
  • vbox86t : Built for a “tablet”, 1024×600 default resolution
  • vbox86tp : Built for a “tablet” with phone capabilities, 1024×600 default resolution

buildroid_vbox86t_4.0.4_r1.1-20120610b_gapps_houdini.ova (which also includes gapps) (ARM libs support, use binary translation)


more refs ...
http://keyable.blogspot.tw/2012/ ... ndroid-404-for.html

如果安裝 image file後,看不見有 Google play (Android market),參考以下面連,自己手動裝上 Google play。

http://keyable.blogspot.hk/2012/ ... -apps-includes.html


詳細安裝介紹 (外接連結)
http://januslin.blog.ithome.com.tw/post/1861/154234





已知問題:
一般情況下 youtube 不能顯示畫面,只有聲音,全螢幕才有畫有聲。



Buildroid VM configuration

既然係 PC 大 Monitor上睇

--> resolution 就改大d,例如 1280 x 800 -16, 1366 x 768 -16

DPI 改 240

keyboard 改 Virtual keyboard with physical hotkeys


另外轉貼 hotkeys:

Quick tips for using the VM:

    if you don’t see the mouse on the Android screen, use the VirtualBox menu to disable mouse integration (Host key + I)
    the “Windows Key” corresponds to the Android Home button
    Esc corresponds to the Android back button
    F2 corresponds to the Android menu button
    F3 corresponds to the Android search button
    Alt+F1 => switch to console mode
    Alt+F7 => switch to GUI mode


另外補充一下虛擬機中主頁、返回、關機、菜單對應的鍵盤按鍵

Home鍵 -> Win鍵
返回鍵 -> ESC鍵
掛機鍵 -> alt+F4
菜單鍵 -> 鍵盤菜單鍵,一般在右邊win鍵和ctrl鍵中間




如果遇到 "處理購買交易時發生錯誤。(DF-BPA-13)"

關於這個狀況,應該是最近play商店更新後出現的bug,建議可以使用以下步驟

到設定 --> 應用程式 --> 全部


1. Google Play商店 -->
-->        強制停止
-->        清除資料

2. Google 服務架構
-->        強制停止
-->        清除資料

3. 重開機就行