Introduction Android

 

Android is one of the major players in the mobile phone market, and its market share is
continuously growing. Android is the first complete, open, and free mobile platform, and it offers
endless opportunities for mobile application developers. As with all other platforms, having a
robust and flexible development environment is the key for the platform's success.
Eclipse is the most adopted integrated development environment (IDE) for Java
programmers. And now Eclipse is the preferred IDE for Android app developers.
Android Apps with Eclipse provides a detailed overview of Eclipse, including the steps
and illustrations to help Android developers quickly get up to speed on Eclipse and to streamline
their day-to-day software development

What You Will Learn



 How the Android platform works and the basics of Android application development
 How to use the most popular Java IDE, Eclipse, to develop Android applications
 How to install and configure Eclipse for Android development
 How to leverage Eclipse with the Android Native Development Kit (NDK) for C/C++
needs
 How to leverage Eclipse for scripting using Android's Scripting Layer for Android (SL4A)
 How to debug and troubleshoot Android applications using Eclipse

Android History

Android Inc. was founded in Silicon Valley, California, in October 2003, with the
idea of providing a mobile platform that is more aware of the user’s location and
preferences.
Google acquired Android Inc. in August 2005 as a wholly owned subsidiary of
Google Inc. Google’s main intention was to provide a fully open platform,
backed by Google technologies, for both the users and the application
developers.
In November 2007, the Open Handset Alliance was founded as a consortium to
develop an open standard for mobile devices. Open Handset Alliance began its
journey by announcing the Android platform. In less than a year, new members
started joining this consortium.
Android became an open source initiative that is led by Google under Open
Handset Alliance’s umbrella. The goal of the Android open source project is to
provide an open platform to improve the mobile experience of users.
Android is the first complete, open, and free mobile platform.
      Complete:
The Android platform is a robust, secure, easily
upgradable, mobile platform with a comprehensive framework
and well-defined interfaces. It allows application developers to
develop and fully blend their applications into the platform. It
also provides compatibility and certification programs, so
device manufacturers can design highly compliant devices.

      Open: The entire Android platform has been developed and
provided under open source Apache licensing terms. Android
does not distinguish between preloaded applications and
third-party applications. Developers have full access to device
features and services while developing applications.
      Free: The Android platform does not charge any licensing,
royalty, membership, or certification fees to develop
applications on the platform. Android platform source code
and software development kits are provided free of charge to
application developers. The software development platform is
widely available on many desktop operating systems, allowing
application developers to develop applications using the
operating system of their choice.

Android Versions

The first beta of the Android platform was released on November 5, 2007. Since
then, it has been through a number of updates and bug fixes. Although bug fixes
are usually transparent from the application developer’s perspective, updates
usually mean changes and additions to the framework API. For that reason,
besides the Android platform version numbers, a second version number, called
the API level, is used to identify the framework API that is supported.
Since April 2009, each Android version has been released under a codename
based on desserts, such as Éclair, Froyo, and Gingerbread. This introduced a
third versioning scheme to the Android platform, making things even more
cryptic for first-time Android application developers. When speaking of Android
application development, you will often hear people say things like ‘‘my
application requires Éclair and above,’’ ‘‘this method requires at least API level
9,’’ and ‘‘my phone got the Android 2.1 update.’’ Understanding which version
and which API level they are referring to, as well as which new APIs are part of
which Android platform version, can easily become a cumbersome memory
exercise. You can use Table 1-1 as a reference to map between these three
version schemes.
Release Date Platform Version API Level Codename
November 5, 2007 Beta
September                                     23, 2008                                                    Android 1.0 1
February                                         9, 2009                                                     Android 1.1 2
April                                             30, 2009                                            Android 1.5 3 Cupcake
September                                     15, 2009                                            Android 1.6 4 Donut
October                                          26, 2009                                              Android 2.0 5 Éclair
December                                       3, 2009                                                Android 2.0.1 6 Éclair
January                                          12, 2009                                              Android 2.1 7 Éclair
May 20,                                           2010                                                  Android 2.2 8 Froyo
January                                          18, 2011                                              Android 2.2.1 8 Froyo
January                                          22, 2011                                              Android 2.2.2 8 Froyo
November                                     21, 2011                                               Android 2.2.3 8 Froyo
December                                      6, 2010                                                Android 2.3 9 Gingerbread
February                                        9, 2011                                                Android 2.3.3 10 Gingerbread
July                                               25, 2011                                               Android 2.3.5 10 Gingerbread
September                                     2, 2011                                                Android 2.3.6 10 Gingerbread
February                                       22, 2011                                               Android 3.0 11 Honeycomb
May                                              10, 2011                                               Android 3.1 12 Honeycomb
July                                               15, 2011                                               Android 3.2 13 Honeycomb
September                                     20, 2011                                               Android 3.2.1 13 Honeycomb
August                                           30, 2011                                              Android 3.2.2 13 Honeycomb
October                                          19, 2011                                             Android 4.0.1 14 Ice Cream
November                                     28, 2011                                 Android 4.0.2 14 Ice Cream Sandwich
December                                      16, 2011                                Android 4.0.3 15 Ice Cream Sandwich
February                                         4, 2012                                 Android 4.0.4 15 Ice Cream Sandwich

أحدث أقدم