Assembling Your Toolkit

Now that you know you're ready to be an Android developer, grab your computer and get cracking on installing the tools and frameworks necessary to build your first blockbuster application.

Android source code

Be aware that the full Android source code is open source, which means that it's not only free to use, but also free to modify. If you want to download the Android source code and create a new version of Android, you're free to do so. Check the Android Git repository. You can also download the source code at http://source.android.com.

image Sometimes when you're developing an Android application, you may want to use a resource from the core Android system, an icon for a Settings menu option, for example. By accessing the Android source code, you can browse the various resources and download the resources you need for your project. Having access to the source code also enables you to dig in and see exactly how Android does what it does.

You can visualize the Android source code as a system of discrete layers, each built upon the other. These layers include the following (see Figure 4-1):

  • Linux 2.6 kernel
  • Android libraries (and Android run time)
  • Applications

Figure 4-1: The structure of the Android source code.

image

Linux 2.6 kernel

Android was created on top ...

Get Android™ Tablet Application Development For Dummies® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.