Menu
Home
Log in / Register
 
Home arrow Computer Science arrow Android Application Development for the Intel Platform
< Prev   CONTENTS   Next >

android.jar

This file is located under the directory of %android-sdk%platforms, and each version of Android has one android.jar. By looking at the .jar file you can understand the structure and organization of internal API packages. The string %android-sdk% here is the install directory of Android SDK while the corresponding directory for version 16 is android-16. For example, the author's android.jar is located in:

C:Documents and Settings>dir D:Android

......

2012-07-08 20:02 18,325,478 android.jar

The android.jar is a standard zip package that contains compiled zipped files and all APIs. You can use WinRAR, or other archiving tool, to view its internal structure as shown in Figure 3-10. Its API kit is further divided into app, content, database, and so on.

Figure 3-10. Content structure of android.jar

ddms.bat

The debugging monitor service ddms.bat, shown in Figure 3-11, is integrated in Dalvik (the virtual device of the Android platform) and used for managing the processes of emulators or devices and assisting debugging work. It can eliminate some processes and choose one certain program for debugging, generate follow-up data, check threading data, or take snapshots of emulators or devices.

Figure 3-11. The debugging monitor service ddms.bat

adb.exe

Android Debug Bridge (adb) is a multipurpose tool that can help you manage the state of devices or emulators. As mentioned before, this file is located under %androidsdk%platform-tools. For example, the author's adb.exe is located in the C: androidadt-bundle-windows-x86_64-20131030sdkplatform-tools directory, as shown in Figure 3-12.

Figure 3-12. File location of the adb.exe tool

aapt.exe

With the Android resource packaging tool (aapt.exe), you can create .apk files that contain binary files and resource files for Android applications. The file location is the same as adb.exe.

aidl.exe

The Android interface description language (aidl.exe) is used for generating inter-process interface codes. The file location is the same as adb.exe.

sqlite3.exe

Android can create and use SQLite3 database files. Developers and users can easily access such SQLite data files. The file location is the same as ddms.bat.

dx.bat

Rewrite class byte code as Android byte code (saved in a dex file). The file location is the same with that of adb.exe.

android.bat

The android.bat file is under the same directory as ddms.bat. This command is used for displaying and creating the AVD.

Figure 3-13. The command shows that two target machine development libraries are installed on the machine

 
Found a mistake? Please highlight the word and press Shift + Enter  
< Prev   CONTENTS   Next >
 
Subjects
Accounting
Business & Finance
Communication
Computer Science
Economics
Education
Engineering
Environment
Geography
Health
History
Language & Literature
Law
Management
Marketing
Philosophy
Political science
Psychology
Religion
Sociology
Travel