目前分類:Android AP (8)

瀏覽方式: 標題列表 簡短摘要

來源: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.)

First thing is to probably read the last part of this article which has some discussion of how memory is managed on Android:

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

來源: http://www.5look.net/blog/archives/156

Ref. :

● BroadcastReceiver | Android Developers
● BatteryManager | Android Developers

Battery information 的取得

 

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

教學入門:

安裝 Android 開發工具 - Google Code

深入淺出Android 程式設計

專注Android

頂嵌技術文章_Android平台

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

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

來源: Android模擬GPS數據生成kml和nmea文件 - 開發者在線 - www.builder.com.cn

在Android平台上開發可能沒有真機的時候,我們通過DDMS中載入KML或NMEA文件來模擬生產數據,使用方法參考 新版ADT插件讓Android開發更人性化 一文,最終這兩個文件加載到/data/misc/location/gps/nmea或/data/misc/location/gps/kml/

  一、KML文件其實是一個XML文件,我們看下KML文件結構

  <?xml version="1.0" encoding="UTF-8"?>

  <kml xmlns="http://earth.google.com/kml/2.2">

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

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

當機器的 input device(touch panel, keypad) 失效時,可利用 adb 輸入keyevent,
在開發階段也常用來驗證一些 input 方面的問題

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

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.

如何執行:

$android sdk\tools\ddms.bat

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

來源:

- cupcake編譯linuxsdk在windows上運行的方法
- 在 Eclipse 內,用 Ant 編譯你的 Android 程式

 

Elay: 驗證此方法中 ...

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