13
Traceview
traceview Feature Preview Only: The Traceview and dmtracedump utilities will be available in an upcoming release of the SDK. 提示:The Traceview及dmtracedump工具要在即将发布的下一版本SDK中才能使用。 Traceview is a graphical viewer for execution logs saved by your application. The sections below describe how to use the program. Traceview是一个查看分析程序运行日志的图形化工具。以下几节将描述这个工具的用法。
13
Android Interface Description Language (aidl)
没有评论
Android Interface Description Language (aidl)
Android Interface Description Language (aidl) Android接口描述语言:它用来生成进程间接口代码。例如,在一个服务中可能就会用到。 使用AIDL(AndRoid接口描述语言)设计和使用远程接口 Since each application runs in its own process, and you can write a service that runs in a different process from your Application’s UI, sometimes you need to pass objects between processes. On the Android platform, one process can not normally access the memory of another process. So [...]
12
Android Asset Packaging Tool (aapt)
没有评论
Android Asset Packaging Tool (aapt)
Android Asset Packaging Tool (aapt) Android资源打包工具:你可以通过aapt工具来创建.apk文件,这些文件包含了Android应用程序的二进制文件和资源文件。 Reference/aapt 使用aapt aapt stands for Android Asset Packaging Tool and is included in the tools/ directory of the SDK. This tool allows you to view, create, and update Zip-compatible archives (zip, jar, apk). It can also compile resources into binary assets. aapt即Android Asset Packaging Tool , 在SDK的tools/目录下. 该工具可以查看, 创建, [...]
12
Android Debug Bridge (adb)
没有评论
Android Debug Bridge (adb)
Android Debug Bridge (adb) Android调试桥:它用于向模拟器或设备安装应用程序的.apk文件和从命令行访问模拟器或设备。也可以用于将标准的调试器连接到运行在Android模拟器或设备上的应用代码。 Android Debug Bridge Android Debug Bridge (adb)是通用的debug工具,使你管理设备或者仿真器的状态.它包括运行在后台预定程序下做为连接主机,仿真器,其他设备之间端口的一个 daemon. 与命令行接口一样通过控制daemon.仿真器和其它设备.在其他使用当中,adb使你能够: 快速更新设备或者仿真器代码,例如应用程序或Android系统程序的更新 在设备上运行shell命令 在仿真器或设备上面管理预定端口 仿真器或设备上同步文件 以上部分定义在adb使用命令当中
12
Dalvik Debug Monitor Service(ddms)
一条评论
Dalvik Debug Monitor Service(ddms)
Dalvik Debug Monitor Service(ddms) Dalvik调试监视服务:它集成在Dalvik(Android平台的虚拟机)中,用于管理运行在模拟器或设备上的进程,并协助进行调试。你可以用它来杀死进程、选择一个特定程序来调试、生成跟踪数据、查看堆和线程数据、对模拟器或设备进行屏幕快照等等。
12
Android Emulator
Android Emulator Android模拟器:一个运行在电脑上的手机模拟器。你可以使用这个模拟器,在真实的Android运行环境中去设计、调试和测试自己开发的应用程序。 Android模拟器 Android SDK自带一个移动设备模拟器 — 它是一个可以运行在你电脑上的虚拟设备. Android模 拟器可以让你不需使用物理设备即可预览、开发和测试Android应用程序. Android模拟器能够模拟除了接听和拨打电话外的所有移动设备上的典型功能和行为. 如右图所示, Android模拟器提供了大量的导航和控制键,你可以通过鼠标或键盘点击这些按键来为你的应用程序产生 事件. 同时它还有一个屏幕用于显示Android自带应用程序和你自己的应用程序. 为了便于模拟和测试应用程序, Android模拟器允许你你的应用程序通过Android平台服务调用其他程 序、访问网络、播放音频和视频、保存和接收数据、通知用户、渲染图像过渡和场景. Android模拟器同样具有强大的调试能力,例如能够记录内核输出的控制台、模拟程序中断(比如接受 短信或打入电话)、模拟数据通道中的延时效果和遗失。 下面的章节将提供关于模拟器的详细信息,以及如何在开发应用程序中使用模拟器。