serverpoint hosting banner

Tuesday, July 10, 2012

Android (operating system)


Android is a Linux-based operating system for mobile devices such as smartphones and tablet computers. It is developed by the Open Handset Alliance, led by Google, and other companies.[2]
Google purchased the initial developer of the software, Android Inc., in 2005.[8] The unveiling of the Android distribution in 2007 was announced with the founding of the Open Handset Alliance, a consortium of 86 hardware, software, andtelecommunication companies devoted to advancing open standards for mobile devices.[9] Google releases the Android code as open-source, under the Apache License.[10] The Android Open Source Project (AOSP) is tasked with the maintenance and further development of Android.[11]
Android has a large community of developers writing applications ("apps") that extend the functionality of the devices. Developers write primarily in a customized version of Java.[12] Apps can be downloaded from third-party sites or through online stores such as Google Play (formerly Android Market), the app store run by Google. In October 2011, there were more than 500,000 apps available for Android,[13] and the estimated number of applications downloaded from the Android Market as of December 2011 exceeded 10 billion.[14]
Android became the world’s leading smartphone platform at the end of 2010.[15] For the first quarter of 2012, Android had a 59% smartphone market share worldwide.[16] At the half of 2012, there were 400 million devices activated and 1 million activations per day.[17] Analysts point to the advantage to Android of being a multi-channel, multi-carrier OS.
Android
Android robot.svg Android logo.png
Android 4.1 on the Galaxy Nexus.jpeg
Home screen displayed by Samsung Galaxy Nexus, running Android 4.1 "Jelly Bean"
Company /developerGoogleOpen Handset Alliance,Android Open Source Project
Programmed inCC++Java[1]
OS familyLinux
Working stateCurrent
Source modelOpen source[2]
Initial releaseSeptember 20, 2008
Latest stable release4.1.1 Jelly Bean[3] / July 10, 2012; 0 days ago[4]
Package managerGoogle Play / APK
Supported platformsARMMIPS,[5] x86[6]
Kernel typeMonolithic (modified Linux kernel)
Default user interfaceGraphical
LicenseApache License 2.0
Linux kernel patches under GNU GPL v2[7]
Official websitewww.android.com

History

[edit]Foundation

Android, Inc. was founded in Palo Alto, California, United States in October 2003 by Andy Rubin (co-founder of Danger),[19] Rich Miner (co-founder of Wildfire Communications, Inc.),[20] Nick Sears[21] (once VP at T-Mobile),[22] and Chris White (headed design and interface development at WebTV)[8] to develop, in Rubin's words "...smarter mobile devices that are more aware of its owner's location and preferences".[8] Despite the obvious past accomplishments of the founders and early employees, Android Inc. operated secretly, revealing only that it was working on software for mobile phones.[8] That same year, Rubin ran out of money. Steve Perlman, a close friend of Rubin, brought him $10,000 in cash in an envelope and refused a stake in the company.[23]

[edit]Acquisition by Google

Google acquired Android Inc. on August 17, 2005, making Android Inc. a wholly owned subsidiary of Google. Key employees of Android Inc., including Andy Rubin, Rich Miner and Chris White, stayed at the company after the acquisition.[8]Not much was known about Android Inc. at the time of the acquisition, but many assumed that Google was planning to enter the mobile phone market with this move.[8]

[edit]Post-acquisition development

At Google, the team led by Rubin developed a mobile device platform powered by the Linux kernel. Google marketed the platform to handset makers and carriers on the promise of providing a flexible, upgradable system. Google had lined up a series of hardware component and software partners and signaled to carriers that it was open to various degrees of cooperation on their part.[24][25][26]
Speculation about Google's intention to enter the mobile communications market continued to build through December 2006.[27] Reports from the BBC and The Wall Street Journal noted that Google wanted its search and applications on mobile phones and it was working hard to deliver that. Print and online media outlets soon reported rumors that Google was developing a Google-branded handset. Some speculated that as Google was defining technical specifications, it was showing prototypes to cell phone manufacturers and network operators.
In September 2007, InformationWeek covered an Evalueserve study reporting that Google had filed several patent applications in the area of mobile telephony.[28][29]

[edit]Open Handset Alliance

On November 5, 2007, the Open Handset Alliance, a consortium of several companies which include Broadcom CorporationGoogleHTCIntelLGMarvell Technology GroupMotorolaNvidiaQualcommSamsung ElectronicsSprint Nextel,T-Mobile and Texas Instruments unveiled itself. The goal of the Open Handset Alliance is to develop open standards for mobile devices.[9] On the same day, the Open Handset Alliance also unveiled their first product, Android, a mobile device platform built on the Linux kernel version 2.6.[9]

[edit]Android Open Source Project

The Android Open Source Project (AOSP) is led by Google, and is tasked with the maintenance and development of Android.[32] According to the project "The goal of the Android Open Source Project is to create a successful real-world product that improves the mobile experience for end users."[33] AOSP also maintains the Android Compatibility Program, defining an "Android compatible" device "as one that can run any application written by third-party developers using the Android SDK and NDK", to prevent incompatible Android implementations.[33] The compatibility program is also optional and free of charge, with the Compatibility Test Suite also free and open-source.[34]

[edit]Version history

From left to right: HTC Dream (G1)Nexus OneNexus SGalaxy Nexus
Android has been updated frequently since the original release of "Astro", with each fixing bugs and adding new features. Each version is named in alphabetical order, with 1.5 "Cupcake" being the first named after adessert and every update since following this naming convention.[35]

[edit]Design

Architecture diagram
Android consists of a kernel based on the Linux kernel, with middlewarelibraries and APIs written in C and application software running on an application framework which includes Java-compatible libraries based onApache Harmony. Android uses the Dalvik virtual machine with just-in-time compilation to run Dalvik dex-code (Dalvik Executable), which is usually translated from Java bytecode.[36]
The main hardware platform for Android is the ARM architecture. There is support for x86 from the Android x86 project,[6] and Google TV uses a special x86 version of Android.

[edit]Linux

Android's kernel is based on the Linux kernel and has further architecture changes by Google outside the typical Linux kernel development cycle.[37] Android does not have a native X Window System nor does it support the full set of standard GNU libraries, and this makes it difficult to port existing Linux applications or libraries to Android.[38]
Certain features that Google contributed back to the Linux kernel, notably a power management feature called wakelocks, were rejected by mainline kernel developers, partly because kernel maintainers felt that Google did not show any intent to maintain their own code.[39][40][41] Even though Google announced in April 2010 that they would hire two employees to work with the Linux kernel community,[42] Greg Kroah-Hartman, the current Linux kernel maintainer for the -stable branch, said in December 2010 that he was concerned that Google was no longer trying to get their code changes included in mainstream Linux.[40] Some Google Android developers hinted that "the Android team was getting fed up with the process", because they were a small team and had more urgent work to do on Android.[43]
However, in September 2010, Linux kernel developer Rafael J. Wysocki added a patch that improved the mainline Linux wakeup events framework. He said that Android device drivers that use wakelocks can now be easily merged into mainline Linux, but that Android's opportunistic suspend features should not be included in the mainline kernel.[44][45] In August 2011, Linus Torvalds said that "eventually Android and Linux would come back to a common kernel, but it will probably not be for four to five years".[46]
In December 2011, Greg Kroah-Hartman announced the start of the Android Mainlining Project, which aims to put some Android drivers, patches and features back into the Linux kernel, starting in Linux 3.3.[47] further integration being expected for Linux Kernel 3.4.[48]

[edit]Features

The Android Emulator default home screen (v1.5, also known as "Cupcake")
Current features and specifications:[49][50][51]
Handset layouts
The platform is adaptable to larger, VGA2D graphics library, 3D graphics library based on OpenGL ES 2.0 specifications, and traditional smartphone layouts.
Storage
SQLite, a lightweight relational database, is used for data storage purposes.
Connectivity
Android supports connectivity technologies including GSM/EDGEIDENCDMAEV-DOUMTSBluetoothWi-FiLTENFC and WiMAX.
Messaging
SMS and MMS are available forms of messaging, including threaded text messaging and now Android Cloud To Device Messaging (C2DM) is also a part of Android Push Messaging service.
Multiple language support
Android supports multiple languages.[52]
Web browser
The web browser available in Android is based on the open-source WebKit layout engine, coupled with Chrome's V8 JavaScript engine. The browser scores 100/100 on the Acid3 test on Android 4.0.
Java support
While most Android applications are written in Java, there is no Java Virtual Machine in the platform and Java byte code is not executed. Java classes are compiled into Dalvik executables and run on Dalvik, a specialized virtual machine designed specifically for Android and optimized for battery-powered mobile devices with limited memory and CPU. J2ME support can be provided via third-party applications.
Media support
Android supports the following audio/video/still media formats: WebMH.263H.264 (in 3GP or MP4 container), MPEG-4 SPAMRAMR-WB (in 3GP container), AACHE-AAC (in MP4 or 3GP container), MP3MIDIOgg VorbisFLACWAVJPEG,PNGGIFBMPWebP.[51]
Streaming media support
RTP/RTSP streaming (3GPP PSSISMA), HTML progressive download (HTML5 ). Adobe Flash Streaming (RTMP) and HTTP Dynamic Streaming are supported by the Flash plugin.[53] Apple HTTP Live Streaming is supported by RealPlayer for Android,[54] and by the operating system in Android 3.0 (Honeycomb).[55]
Additional hardware support
Android can use video/still cameras, touchscreensGPSaccelerometersgyroscopesbarometersmagnetometers, dedicated gaming controls, proximity and pressure sensorsthermometers, accelerated 2D bit blits (with hardware orientation, scaling, pixel format conversion) and accelerated 3D graphics.
Multi-touch
Android has native support for multi-touch which was initially made available in handsets such as the HTC Hero. The feature was originally disabled at the kernel level (possibly to avoid infringing Apple's patents on touch-screen technology at the time).[56] Google has since released an update for the Nexus One and the Motorola Droid which enables multi-touch natively.[57]
Bluetooth
Supports A2DPAVRCP, sending files (OPP), accessing the phone book (PBAP), voice dialing and sending contacts between phones. Keyboard, mouse and joystick (HID) support is available in Android 3.1+, and in earlier versions through manufacturer customizations and third-party applications.[58]
Video calling
Android does not support native video calling, but some handsets have a customized version of the operating system that supports it, either via the UMTS network (like the Samsung Galaxy S) or over IP. Video calling through Google Talk is available in Android 2.3.4 and later. Gingerbread allows Nexus S to place Internet calls with a SIP account. This allows for enhanced VoIP dialing to other SIP accounts and even phone numbers. Skype 2.1 offers video calling in Android 2.3, including front camera support.
Multitasking
Multitasking of applications, with unique handling of memory allocation, is available.[59]
Voice based features
Google search through voice has been available since initial release.[60] Voice actions for calling, texting, navigation, etc. are supported on Android 2.2 onwards.[61]
Tethering
Android supports tethering, which allows a phone to be used as a wireless/wired Wi-Fi hotspot. Before Android 2.2 this was supported by third-party applications or manufacturer customizations.[62]
Screen capture
Android supports capturing a screenshot by pressing the power and volume-down buttons at the same time.[63] Prior to Android 4.0, the only methods of capturing a screenshot were through manufacturer and third-party customizations or otherwise by using a PC connection (DDMS developer's tool). These alternative methods are still available with the latest Android.
External storage
Most Android devices include microSD slot and can read microSD cards formatted with FAT32Ext3 or Ext4 file system. To allow use of high-capacity storage media such as USB flash drives and USB HDDs, many Android tablets also include USB 'A' receptacle. Storage formatted withFAT32 is handled by Linux Kernel VFAT driver, while 3rd party solutions are required to handle other popular file systems such as NTFSHFS Plus and exFAT.

[edit]Uses

Google TV home screen
While Android is designed primarily for smartphones and tablets, the open and customizable nature of the operating system allows it to be used on other electronics, including laptops and netbookssmartbooks,[64] ebook readers,[65] and smart TVs (Google TV). Further, the OS has seen niche applications on wristwatches,[66] headphones,[67] car CD and DVD players,[68] smart glasses (Project Glass), refrigerators, vehicle satnav systems, home automation systems, games consoles, mirrors,[69] cameras,[70] portable media players[71] landlines,[72] and treadmills.[73]
The first commercially available phone to run Android was the HTC Dream, released on October 22, 2008.[74] In early 2010 Google collaborated with HTC to launch its flagship[75] Android device, the Nexus One. This was followed later in 2010 with the Samsung-made Nexus S and in 2011 with the Galaxy Nexus.
iOS and Android 2.3.3 'Gingerbread' may be set up to dual boot on a jailbroken iPhone or iPod Touch with the help of OpeniBoot and iDroid.[76][77]
In December 2011 it was announced the Pentagon has officially approved Android for use by its personnel.[78][79][80]

[edit]Applications

Applications are usually developed in the Java language using the Android Software Development Kit, but other development tools are available, including a Native Development Kit for applications or extensions in C or C++, Google App Inventor, a visual environment for novice programmers and various cross platform mobile web applications frameworks.
Applications can be acquired by end-users either through a store such as Google Play or the Amazon Appstore, or by downloading and installing the application's APK file from a third-party site.[81]

[edit]Google Play

The Play Store on a Galaxy Nexus.
Google Play is an online software store developed by Google for Android devices. An application program ("app") called "Play Store" is preinstalled on most Android devices and allows users to browse and download apps published by third-party developers, hosted on Google Play. As of October 2011, there were more than 500,000 apps available for Android,[13] and the estimated number of applications downloaded from the Play Store as of June 2012 exceeded 20 billion. The operating system itself is installed on 130 million total devices.[82]
Only devices that comply with Google's compatibility requirements are allowed to preinstall and access the Play Store.[83] The app filters the list of available applications to those that are compatible with the user's device, and developers may restrict their applications to particular carriers or countries for business reasons.[84]
Google has participated in the Play Store by offering many free applications themselves, including Google VoiceGoogle Goggles, Gesture Search, Google Translate, Google Shopper, Listen and My Tracks. In August 2010, Google launched "Voice Actions for Android",[85] which allows users to search, write messages, and initiate calls by voice.

[edit]Security

An example of app permissions in the Play Store.
Android applications run in a sandbox, an isolated area of the operating system that does not have access to the rest of the system's resources, unless access permissions are granted by the user when the application is installed. Before installing an application, the Play Store displays all required permissions. A game may need to enable vibration, for example, but should not need to read messages or access the phonebook. After reviewing these permissions, the user can decide whether to install the application.[86] The sandboxing and permissions system weakens the impact of vulnerabilities and bugs in applications, but developer confusion and limited documentation has resulted in applications routinely requesting unnecessary permissions, reducing its effectiveness.[87] The complexity of inter-application communication implies Android has a large attack surface.[88]
Several security firms have released antivirus software for Android devices, in particular, Lookout Mobile Security,[89] AVG Technologies,[90] Avast!,[91] F-Secure,[92] Kaspersky,[93] McAfee[94] and Symantec.[95] This software is ineffective as sandboxing also applies to such applications, limiting their ability to scan the deeper system for threats.[96]

[edit]Privacy

Android smartphones have the ability to report the location of Wi-Fi access points, encountered as phone users move around, to build databases containing the physical locations of hundreds of millions of such access points. These databases form electronic maps to locate smartphones, allowing them to run apps like FoursquareLatitudePlaces, and to deliver location-based ads.[97]
Third party monitoring software such as TaintDroid,[98] an academic research-funded project, can, in some cases, detect when personal information is being sent from applications to remote servers.[99]
In March 2012 it was revealed that Android Apps can copy photos without explicit user permission,[100] Google responded they "originally designed the Android photos file system similar to those of other computing platforms like Windows and Mac OS. [...]we're taking another look at this and considering adding a permission for apps to access images. We've always had policies in place to remove any apps [on Google Play] that improperly access your data."[101]

[edit]Marketing

The Android logotype was designed along with the Droid font family by Ascender Corporation,[102] the robot icon was designed by Irina Blok.[103]
Android Green is the color of the Android Robot that represents the Android operating system. The print color is PMS 376C and the RGB color value in hexadecimal is #A4C639, as specified by the Android Brand Guidelines.[104] The custom typeface of Android is called Norad (cf. NORAD). It is only used in the text logo.[104]

[edit]Market share

periodworldwide smartphones marketU.S. smartphone marketglobal devicesactivations per dayU.S devicessource
Q2 20092.8%12,100Canalys[105]
Q3 20094%[106]8%[107]18,000
Q4 20098.7%51,100Canalys[15]
20099.7%North America, Canalys[108]
February 20104,09 million9% of 45.4 million U.S. smartphones, ComScore [109]
Q1 201028 %NPD Group[110] Android outsold Apple's iPhone in the U.S.
May 2010100,000[111]
June 201033%[107]160,000[111]
Q3 201025.3%43.6%[112]223,000Gartner[113]
September 201012.6 million21.4% of the 58.7 million U.S. smartphones[114]
Q4 201032.9%362,000Canalys.[15]
February 201123.8 millioncomscore[115] (63% of the number of iOS devices)
Q1 201135%393,000Canalys, 4 May 2011.[116]
10 May 2011100 million400,000Google I/O[117]
28 June 2011500,000a 4.4% weekly growth, Andy Rubin[118]
Q2 201148%52%[119]568,000Canalys, 1 August 2011 [120]
July 14, 2011550,0004.4% growth per week. Google[121]
Q3 201152.5%658,000Gartner[113]
October 13, 2011190 millionGoogle [122]
November 16, 2011200 millionduring the Google Music announcement "These Go to Eleven"[123] 3.8 million Android Honeycomb Tablets have been sold.[124]
December 20, 2011250 million700,000Andy Rubin, Google[125]
27 February 2012300 million850,000250% yearly growth rate. Andy Rubin, Google[126]
Q1 201259%331 million934,00085 millions in 91 days, Signals and Systems Telecom[16]
27 June 2012400 million1 millionGoogle[17]

[edit]Usage share

Usage share of the different versions as of July 3, 2012
Usage share of the different versions as of July 3, 2012.[127] Most Android devices to date run the older OS version 2.3.x Gingerbread that was released on December 6, 2010, even though the newest OS version, 4.1.x Jelly Bean has been released since June 2012.
VersionRelease dateAPI levelDistribution
4.1.x Jelly BeanJune 28, 201216Not Yet Known
4.0.x Ice Cream SandwichOctober 19, 201114-1510.9%
3.x.x HoneycombFebruary 22, 201111-132.1%
2.3.x GingerbreadDecember 6, 20109-1064%
2.2 FroyoMay 20, 2010817.3%
2.0, 2.1 EclairOctober 26, 200974.7%
1.6 DonutSeptember 15, 200940.5%
1.5 CupcakeApril 30, 200930.2%

[edit]Intellectual property

[edit]Licensing

The source code for Android is available under free and open source software licenses. Google publishes most of the code (including network and telephony stacks)[128] under the Apache License version 2.0,[129][130][131] and the rest, Linux kernel changes, under the GNU General Public License version 2.
The Open Handset Alliance develops the changes to the Linux kernel, in public, with source code publicly available at all times. The rest of Android is developed in private, with source code released publicly when a new version is released. Typically Google collaborates with a hardware manufacturer to produce a flagship device (part of the Google Nexus series) featuring the new version of Android, then makes the source code available after that device has been released.[132]
In early 2011, Google chose to temporarily withhold the Android source code to the tablet-only Honeycomb release, the reason, according to Andy Rubin in an official Android blog post, was because Honeycomb was rushed for production of the Motorola Xoom,[133] and they did not want third parties creating a "really bad user experience" by attempting to put onto smartphones a version of Android intended for tablets.[134] The source code was once again made available in November 2011 with the release of Android 4.0.[135]

[edit]Copyrights and patents

Both Android and Android phone manufacturers have been the target of numerous patent lawsuits. On August 12, 2010, Oracle sued Google over claimed infringement of copyrights and patents related to the Java programming language.[136] Oracle originally sought damages up to $6.1 billion,[137] but this valuation was rejected by a federal judge who asked Oracle to revise the estimate.[138] In response, Google submitted multiple lines of defense, counterclaiming that Android did not infringe on Oracle's patents or copyright, that Oracle's patents were invalid, and several other defenses. They said that Android is based on Apache Harmony, a clean room implementation of the Java class libraries, and an independently developed virtual machine called Dalvik.[139]
In May 2012 the jury in this case found that Google did not infringe on Oracle's patents, and the trial judge ruled that the structure of the Java APIs used by Google was not copyrightable.[140][141]
Microsoft has also sued several manufacturers of Android devices for patent infringement, and collects patent licensing fees from others. In October 2011 Microsoft said they had signed license agreements with ten Android device manufacturers, accounting for 55% of worldwide revenue for Android devices.[142] These include Samsung and HTC.[143]
Google has publicly expressed its dislike for the current patent landscape in the United States, accusing Apple, Oracle and Microsoft of trying to take down Android through patent litigation, rather than innovating and competing with better products and services.[144] In August 2011, Google started the process of purchasing Motorola Mobility for US$12.5 billion, which was viewed in part as a defensive measure to protect Android, since Motorola Mobility holds more than 17,000 patents.[145] In December 2011 Google acquired in the region of a thousand patents from IBM.