PIXNET Logo登入

H's 手札

跳到主文

My memo

部落格全站分類:數位生活

  • 相簿
  • 部落格
  • 留言
  • 名片
  • 8月 17 週二 201016:15
  • How to discover memory usage of my application in Android?

來源:http://stackoverflow.com/questions/2298208/how-to-discovery-memory-usage-on-my-application-in-android/2299813
Note that memory usage on modern operating systems like Linux is an extremely complicated and difficult to understand area. In fact the chances of you actually correctly interpreting whatever numbers you get is extremely low. (Pretty much every time I look at memory usage numbers with other engineers, there is always a long discussion about what they actually mean that only results in a vague conclusion.)
(繼續閱讀...)
文章標籤

huenlil 發表在 痞客邦 留言(0) 人氣(9,400)

  • 個人分類:Android AP
▲top
  • 8月 04 週三 201011:05
  • [轉]取得 Battery information in Android

140-1
來源: http://www.5look.net/blog/archives/156
Ref. :
● BroadcastReceiver | Android Developers
● BatteryManager | Android Developers
(繼續閱讀...)
文章標籤

huenlil 發表在 痞客邦 留言(1) 人氣(7,914)

  • 個人分類:Android AP
▲top
  • 5月 16 週六 200900:50
  • 有趣的Android AP開發文章

教學入門:
安裝 Android 開發工具 - Google Code
深入淺出Android 程式設計
專注Android
(繼續閱讀...)
文章標籤

huenlil 發表在 痞客邦 留言(1) 人氣(2,414)

  • 個人分類:Android AP
▲top
  • 5月 16 週六 200900:40
  • [轉]使用 Intent 呼叫系統AP功能




(繼續閱讀...)
文章標籤

huenlil 發表在 痞客邦 留言(0) 人氣(2,397)

  • 個人分類:Android AP
▲top
  • 4月 22 週三 200915:19
  • [轉]Android模擬GPS數據生成kml和nmea文件

來源: Android模擬GPS數據生成kml和nmea文件 - 開發者在線 - www.builder.com.cn
在Android平台上開發可能沒有真機的時候,我們通過DDMS中載入KML或NMEA文件來模擬生產數據,使用方法參考
新版ADT插件讓Android開發更人性化
一文,最終這兩個文件加載到/data/misc/location/gps/nmea或/data/misc/location/gps/kml/
(繼續閱讀...)
文章標籤

huenlil 發表在 痞客邦 留言(0) 人氣(2,671)

  • 個人分類:Android AP
▲top
  • 3月 20 週五 200916:03
  • [轉]adb shell keyevent

來源: [android-developers] Re: correct usage of "adb shell input"

當機器的 input device(touch panel, keypad) 失效時,可利用 adb 輸入keyevent,
在開發階段也常用來驗證一些 input 方面的問題
adb shell input keyevent 7    # for key '0'
adb shell input keyevent 8    # for key '1'
adb shell input keyevent 29    # for key 'A'
adb shell input keyevent 54    # for key 'B'
輸入字串
adb shell input text "ANDROID"
 
Keycode 列表
00 ->  "KEYCODE_UNKNOWN"
01 ->  "KEYCODE_MENU"
02 ->  "KEYCODE_SOFT_RIGHT"
03 ->  "KEYCODE_HOME"
04 ->  "KEYCODE_BACK"
05 ->  "KEYCODE_CALL"
06 ->  "KEYCODE_ENDCALL"
07 ->  "KEYCODE_0"
08 ->  "KEYCODE_1"
09 ->  "KEYCODE_2"
10 ->  "KEYCODE_3"
11 ->  "KEYCODE_4"
12 -?  "KEYCODE_5"
13 ->  "KEYCODE_6"
14 ->  "KEYCODE_7"
15 ->  "KEYCODE_8"
16 ->  "KEYCODE_9"
17 ->  "KEYCODE_STAR"
18 ->  "KEYCODE_POUND"
19 ->  "KEYCODE_DPAD_UP"
20 ->  "KEYCODE_DPAD_DOWN"
21 ->  "KEYCODE_DPAD_LEFT"
22 ->  "KEYCODE_DPAD_RIGHT"
23 ->  "KEYCODE_DPAD_CENTER"
24 ->  "KEYCODE_VOLUME_UP"
25 ->  "KEYCODE_VOLUME_DOWN"
26 ->  "KEYCODE_POWER"
27 ->  "KEYCODE_CAMERA"
28 ->  "KEYCODE_CLEAR"
29 ->  "KEYCODE_A"
30 ->  "KEYCODE_B"
31 ->  "KEYCODE_C"
32 ->  "KEYCODE_D"
33 ->  "KEYCODE_E"
34 ->  "KEYCODE_F"
35 ->  "KEYCODE_G"
36 ->  "KEYCODE_H"
37 ->  "KEYCODE_I"
38 ->  "KEYCODE_J"
39 ->  "KEYCODE_K"
40 ->  "KEYCODE_L"
41 ->  "KEYCODE_M"
42 ->  "KEYCODE_N"
43 ->  "KEYCODE_O"
44 ->  "KEYCODE_P"
45 ->  "KEYCODE_Q"
46 ->  "KEYCODE_R"
47 ->  "KEYCODE_S"
48 ->  "KEYCODE_T"
49 ->  "KEYCODE_U"
50 ->  "KEYCODE_V"
51 ->  "KEYCODE_W"
52 ->  "KEYCODE_X"
53 ->  "KEYCODE_Y"
54 ->  "KEYCODE_Z"
55 ->  "KEYCODE_COMMA"
56 ->  "KEYCODE_PERIOD"
57 ->  "KEYCODE_ALT_LEFT"
58 ->  "KEYCODE_ALT_RIGHT"
59 ->  "KEYCODE_SHIFT_LEFT"
60 ->  "KEYCODE_SHIFT_RIGHT"
61 ->  "KEYCODE_TAB"
62 ->  "KEYCODE_SPACE"
63 ->  "KEYCODE_SYM"
64 ->  "KEYCODE_EXPLORER"
65 ->  "KEYCODE_ENVELOPE"
66 ->  "KEYCODE_ENTER"
67 ->  "KEYCODE_DEL"
68 ->  "KEYCODE_GRAVE"
69 ->  "KEYCODE_MINUS"
70 ->  "KEYCODE_EQUALS"
71 ->  "KEYCODE_LEFT_BRACKET"
72 ->  "KEYCODE_RIGHT_BRACKET"
73 ->  "KEYCODE_BACKSLASH"
74 ->  "KEYCODE_SEMICOLON"
75 ->  "KEYCODE_APOSTROPHE"
76 ->  "KEYCODE_SLASH"
77 ->  "KEYCODE_AT"
78 ->  "KEYCODE_NUM"
79 ->  "KEYCODE_HEADSETHOOK"
80 ->  "KEYCODE_FOCUS"
81 ->  "KEYCODE_PLUS"
82 ->  "KEYCODE_MENU"
83 ->  "KEYCODE_NOTIFICATION"
84 ->  "KEYCODE_SEARCH"
85 ->  "TAG_LAST_KEYCODE"
(繼續閱讀...)
文章標籤

huenlil 發表在 痞客邦 留言(0) 人氣(63,388)

  • 個人分類:Android AP
▲top
  • 3月 13 週五 200916:41
  • Dalvik Debug Monitor Service (DDMS) Tool

Using the Dalvik Debug Monitor Service (DDMS) Tool

Android ships with a debugging tool called the Dalvik Debug Monitor Service (DDMS), which provides port-forwarding services, screen capture on the device, thread and heap information on the device, logcat, process, and radio state information, incoming call and SMS spoofing, location data spoofing, and more. This page provides a modest discussion of DDMS features; it is not an exhaustive exploration of all the features and capabilities.
如何執行:
(繼續閱讀...)
文章標籤

huenlil 發表在 痞客邦 留言(0) 人氣(1,524)

  • 個人分類:Android AP
▲top
  • 3月 10 週二 200915:01
  • [轉]Android 1.5 - 編譯 linux sdk 並在 windows上運行的方法

來源:
- cupcake編譯linuxsdk在windows上運行的方法
- 在 Eclipse 內,用 Ant 編譯你的 Android 程式
(繼續閱讀...)
文章標籤

huenlil 發表在 痞客邦 留言(0) 人氣(1,575)

  • 個人分類:Android AP
▲top
1

近期文章

  • 資訊產業、專案管理常用術語
  • Build Android on Ubuntu 11.10
  • Android device kernel source code git list
  • Android Vold (Volume Daemon)
  • Android adb tool 功能整理
  • Android init language Tips
  • MTP (Media Transfer Protocol) on Android
  • [轉] Interactive map of Linux kernel
  • [整理] Galaxy S / Nexus S 硬體
  • [整理] Linux file system & eMMC

最新迴響

  • [20/02/19] 123 於文章「何謂callback function?...」留言:
    https://ithelp.ithome.com.tw/a...
  • [17/07/14] 訪客 於文章「資訊產業、專案管理常用術語...」留言:
    你OEM的理解錯誤 OEM ODM都是代工, 差別在OEM...
  • [17/02/13] SunyAndy 於文章「[轉]Windows Kernel 學習...」留言:
    我佩服佩服 您的知識增長...
  • [16/08/16] 訪客 於文章「資訊產業、專案管理常用術語...」留言:
    你的OEM和ODM寫反囉 ...
  • [16/01/29] 訪客 於文章「資訊產業、專案管理常用術語...」留言:
    請問一下, G/O和G/L以及SMT又是甚麼意思呢? 謝...
  • [14/11/20] 13245 於文章「Android 真的免費?...」留言:
    大推 版主 GOOGLE開放ANDROID給各家製造商,像...
  • [14/01/09] Crazy Shark  於文章「[轉]Android 的AIDL是啥?...」留言:
    正好看到Android Gradle有提到這名詞 謝謝講解 ...
  • [14/01/01] 倪承義 於文章「[轉]科幻與現實:永動機...」留言:
    果然永動機是不可能的因為他違反物理定律...
  • [13/12/27] dfhrm 於文章「[整理] Galaxy S / Nexu...」留言:
    ☉啥§?性藥性藥§居然買1送﹂2-﹉你﹋還♀傻...
  • [13/11/12] 訪客 於文章「Build Android on Ubu...」留言:
    --slave /usr/bin/gcov gcov /u...

文章搜尋

文章分類

toggle Android (2)
  • Android (34)
  • Android AP (8)
toggle Linux (1)
  • Linux Kernel & driver (28)
toggle Programming (3)
  • Tools (9)
  • Windows Programming (10)
  • C++ (5)
toggle 技術 (3)
  • 專案管理 (1)
  • Misc (3)
  • 硬體 (3)
toggle 閱讀與聆聽、觀賞與體會 (3)
  • 第八藝術 (2)
  • 遊戲 (1)
  • Music (3)
toggle 雜記 (3)
  • Notes (17)
  • 旅行 (1)
  • 知識- (1)
  • 未分類文章 (1)

參觀人氣

  • 本日人氣:
  • 累積人氣: