第五章主要是介紹 Android SDK 裡的工具,從安裝到各種工具的簡單介紹。 之前其實都使用過了,所以這邊就記錄一下我不知道的部分。 Emulator 可以使用的熱鍵如下: 組合鍵 描述 Keypad 7, Ctrl+F11 Switches to previous layout orientation (portrait or landscape) Keypad 9, Ctrl+F12 Switches to next layout orientation (portrait or landscape) F8 Toggles cell networking F9 Toggles code profiling Alt+Enter Toggles full-screen mode F6 Toggles trackball 用 putty/telnet 連到 port 5554 可以直接管理 emulator。 DDMS 裡的 HeapView 跟 Allocation Tracker View 可以追蹤記憶體使用狀況;Trace View 可以用來分析程式執行的狀況。 Android Lint ?! 想不到有這個可以分析程式碼的工具,他甚至可以提供解決的方案讓你修正程式碼或者是 xml 檔案裡的錯誤。
文章標籤
全站熱搜
創作者介紹
創作者 elleryq 的頭像
elleryq

我。閱讀

elleryq 發表在 痞客邦 留言(0) 人氣(27)