Exploring the Android Application Framework

The Android application framework is provided in the android.jar file. The Android SDK is made up of several important packages, as shown in Table 2.1.

Table 2.1 Important Packages in the Android SDK

Top-Level Package

Purpose

android.*

Android application fundamentals

dalvik.*

Dalvik Virtual Machine support classes

java.*

Core classes and familiar generic utilities for networking, secu

rity, math, and such

javax.*

Java extension classes including encryption support, parsers,

SQL, and such

junit.*

Unit testing support

org.apache.http.*

Hypertext Transfer Protocol (HTTP) protocol

org.json

JavaScript Object Notation (JSON) support

org.w3c.dom

W3C Java bindings for the Document Object Model Core (XML

and HTML)

org.xml.sax.*

Simple API for XML (SAX) support for XML

org.xmlpull.*

High-performance XML parsing

There is also an optional Google APIs Add-On, which is an extension to the Android SDK that helps facilitate development using Google Maps and other Google APIs and services. For example, if you want to include the MapView control in your application, you need to install and use this feature.This Add-On corresponds to the com.google.* package (including com.google.android.maps) and requires agreement to additional Terms of Service and registration for an API Key. For more information on the Google APIs Add-On, see http://code.google.com/android/add-ons/google-apis/.

Easy Software Profits

Easy Software Profits

Here's How Anyone Can Start, Build and Run their Own Successful Software Empire Without Knowing the First Thing About Programming, Scripting Or Any 'Coder' Stuff. There is no doubt about it software sells. Software has a high percieved value and it solves problems for people.  A claim that can't always be made for PDF books, Video products and the like.

Get My Free Ebook


Post a comment