AllBestEssays.com - All Best Essays, Term Papers and Book Report
Search

Android Vs Iphone

Essay by   •  June 7, 2012  •  Case Study  •  6,277 Words (26 Pages)  •  1,882 Views

Essay Preview: Android Vs Iphone

Report this essay
Page 1 of 26

Android vs iPhone

Junyao Zhang April 12, 2010

This is a complete analysis and comparison between Android and iPhone OS. The rest of this report is organized as follows. Section ?? outlines the system architecture, history and detail management configuration. Section ?? discusses the iPhone system. In Section ??, a comparison between these two systems is presented.

1 Android

Android, originally meaning "robot", is a mobile operating system using a mod- ified version of the Linux kernel. It was initially developed by Android Inc., a firm later purchased by Google,[?]and lately by the Open Handset Alliance[?]. It allows developers to write managed code in the Java language, controlling the device via Google-developed Java libraries.[8] It empolys the software stack architecture, as shown in Figure 1.

* Android relies on Linux version 2.6 for core system services such as se- curity, memory management, process management, network stack, and driver model. The kernel also acts as an abstraction layer between the hardware and the rest of the software stack. It is implemented by pro- gramming language C.

* The middleware level includes Runtime and Libraries. The Runtime in- cludes core libraries, providing most of the functionality available in the core libraries of the Java programming language, and Dalvik virtual ma- chine which allows every Android application runs in its own process. The Libraries is used by various components of the Android system, such as Media Libraries, 3D libraries, and etc.

* The upper level is Application framework and Application. Application framework is offering developers the ability to build extremely rich and innovative applications. Developers are free to take advantage of the de- vice hardware, access location information, run background services, set alarms, add notifications to the status bar, and much, much more. All applications are written using the Java programming language.

1

´┐╝Figure 1: Android System Architecture

1.1 A brief review of the history of Android

In July 2005, Android, Inc., a small startup company based in Palo Alto, Califor- nia, USA, was bought by Google. At that time Android, Inc. is not well-known execpt that they made software for mobile phones. At Google, a team was set up to produce a mobile device platform that aims to provide a flexible and upgradable system. It is reported that Google had already 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[?, ?, ?]. More specula- tion that Google would be entering the mobile-phone market came in December 2006[?].

In September 2007, InformationWeek covered an Evalueserve study report- ing that Google had filed several patent applications in the area of mobile telephony[?, ?]. Ultimately Google unveiled its smartphone Nexus One that uses the Android open source mobile operating system. The device is manu- factured by Taiwan's HTC Corporation, and became available on January 5, 2010.

On Feb 16, 2010 Google announced that 60,000 Android cell phones are shipping per day.

1.2 Hardware running Android

The first phone to run the Android operating system was the HTC Dream, released on 22 October 2008[?]. By the end of 2009 there will be at least 18 phone models using Android worldwide, according to Google[?]. In addition to

2

the mobile devices that ship with Android, some users have been able (with some amount of hacking, and with limited functionality) to install it on mobile devices shipped with other operating systems[?].

1.3 T-Mobile G1[?]

The HTC Dream (also marketed as T-Mobile G1 in the US and Europe [except for Spain, where it is marketed as HTC Dream] or Era G1 in Poland) is an Internet-enabled 3G smartphone with an operating system designed by Google and hardware designed by HTC. It was the first phone to the market that uses the Android mobile device platform. The phone is part of an open standards effort of the Open Handset Alliance.

processor The MSM7201A is an ARM-based, dual-core CPU/GPU from Qualcomm and contains many built-in features, including 3G and a GPU capa- ble of up to 4 million triangles/sec.

memory The HTC Dream has a microSD card slot and comes with a 1GB memory card (2GB in the UK, Germany and Canada). It has been confirmed to work with capacities up to 16GB, and may work with even larger cards.

secondary storage N/A

RF sub-system screen 3.2 in (8.1 cm) TFT-LCD flat glass touch-sensitive HVGA screen with 480 X 320 pixel resolution.

camera The HTC Dream has a 3.2-megapixel camera with autofocus func- tionality sensors

GPS The HTC Dream provides an accelerometer for detecting movement and determining which direction is 'Up'. It also has a digital compass, giving it complete orientation data. The Dream includes a GPS receiver for fine-grained positioning, and can use cellular or wifi networks for coarse-grained positioning.

audio system The standard headset includes a clip-on microphone and call answer/hangup button. The Dream supports audio files in MP3, AAC, AAC+, WMA, MPEG4, WAV, MIDI, and Ogg formats.

battery The HTC Dream has a user-replaceable, 3.7V, 1150 mAh (4.25Whr) rechargeable lithium ion battery, which is advertised to offer up to 130 hours of standby power.

1.4 Thread management system

In Android, every time when user start up a application, it will generate a Linux process and a main thread. Normally, all components of an ongoing application are maintained in this process and thread. If resources are running out, Android would try to stop some threads to keep running this application. The most interesting things that I am care about the Android thread management is how to conduct a painless thread within a single thread model. Android is using a single thread model: when you first start an Android application, a thread called "main" is automatically created. The main thread, also called the UI thread, is very important because it is in charge of dispatching the events to the appropriate widgets and this includes the drawing events. It is also the thread

3

you interact with Android widgets on. For instance, if you touch the a button on screen, the UI thread dispatches the touch event to the widget which in turn sets its pressed state and posts an invalidate request

...

...

Download as:   txt (41 Kb)   pdf (405.9 Kb)   docx (28.4 Kb)  
Continue for 25 more pages »
Only available on AllBestEssays.com