The Software Development Kit

To develop applications for Android, you will use the Android software development kit (SDK). The SDK is composed of a comprehensive set of tools, documentation, tutorials, and samples that will help you get started in no time. Also included are the Java libraries needed to create applications for Android. These contain the APIs of the application framework. All major desktop operating systems are supported as development environments.

Prominent features of the SDK are as follows:

  • The debugger, capable of debugging applications running on a device or in the emulator.
  • A memory and performance profile to help you find memory leaks and identify slow code.
  • The device emulator, accurate if a bit slow at times, is based on QEMU (an open source virtual machine for simulating different hardware platforms). Command-line utilities to communicate with devices.
  • Build scripts and tools to package and deploy applications.

The SDK can be integrated with Eclipse, a popular and feature-rich open source Java integrated development environment (IDE). The integration is achieved through the Android Development Tools (ADT) plug-in, which adds a set of new capabilities to Eclipse for the following purposes: to create Android projects; to execute, profile, and debug applications in the emulator or on a device; and to package Android applications for their deployment to the Android Market. Note that the SDK can also be integrated into other IDEs, such as NetBeans. There is, however, no official support for this.

NOTE: Chapter 2 covers how to set up the development environment with the SDK and Eclipse.

The SDK and the ADT plug-in for Eclipse receive constant updates that add new features and capabilities. It's therefore a good idea to keep them updated.

Along with any good SDK comes extensive documentation. Android's SDK does not fall short in this area, and it includes a lot of sample applications. You can also find a developer guide and a full API reference for all the modules of the application framework at http://developer.android.com/guide/index.html.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.138.69.172