You are on page 1of 42

Documented by

Siva Prasad Muddam

Along with

Karthik Tadepalli

Future Tech Team

What is Software?
Software is a general term used to describe a collection of computer programs, procedures and documentation that perform some tasks on a computer system

What is Operating System?

An operating system (commonly abbreviated to either OS or O/S) is an interface between hardware and user; it is responsible for the management and coordination of activities and the sharing of the limited resources of the computer. The operating system acts as a host for applications that are run on the machine. As a host, one of the purposes of an operating system is to handle the details of the operation of the hardware. E.g.: Windows, Mac OS, Linux, BSD, Solaris and Unix or Unix-like Almost all computers, including handheld computers, desktop computers, supercomputers, and even video game consoles, use an operating system of some type

What is Platform?
In computing, a platform describes some sort of hardware architecture or software framework (including application frameworks), that allows software to run. Typical platforms include a computer's architecture, operating system, programming languages and related runtime libraries or graphical user interface. E.g.: Java, .NET Framework (Software Platforms); Windows, Mac OS, Linux, PSP (OS Platforms) Symbian: UIQ, S60; Linux: Linux, Qtopia, Maemo, Android, Openmoko; Run time: J2ME, JavaFX Mobile; Others: Iphone, BREW, Windows Mobile, Palm OS ( Mobile Platforms )

What is Linux?
Linux is a generic term referring to Unix-like computer operating systems based on the Linux kernel. Their development is one of the most prominent examples of free and open source software collaboration; typically all the underlying source code can be used, freely modified, and redistributed.

What is Linux Kernel?

The kernel is the central component of most computer operating systems. Its responsibilities include managing the system's resources (the communication between hardware and software components).As a basic component of an operating system, a kernel provides the lowest-level abstraction layer for the resources (especially memory, processors and I/O devices) that application software must control to perform its function. It typically makes these facilities available to application processes through inter-process communication mechanisms and system calls.

Kernel basic facilities: Process management Memory management Device management System calls

Linux Kernel is the Kernel used in Unix-Like operating systems.


Open source software (OSS) is defined as computer software for which the source code and certain other rights normally reserved for copyright holders are provided under a software license that meets the Open Source Definition or that is in the public domain. This permits users to use, change, and improve the software, and to redistribute it in modified or unmodified forms. E.g.: Linux Kernel, Android,Suns Java Programming language and Environment, PHP, MySQL, Mozilla Foundation, Apache Webserver etc. June 5, 2009

Electronic Arts Games (India) Private Limited


What is a smart phone?

A smartphone is a mobile phone offering advanced capabilities, often with PC-like functionality. There is no industry standard definition of a smartphone.For some, a smartphone is a phone that runs complete operating system software providing a standardized interface and platform for application developer.For others, a smartphone is simply a phone with advanced features like e-mail, Internet and e-book reader capabilities, and/or a built-in full keyboard or external USB keyboard and VGA connector. In other words, it is a miniature computer that has phone capability. In 2008, 36% of the mobile handset market is smart phones, equivalent to shipments of 240 million units.

50 45 40 35 30 25 20 15 10 5 0 Smart Phone Mobile OS

*As per stats available for Q4-2008.

Symbian RIM Blackberry Iphone WinCE Others


Android Definition: ANDROID is a robot or synthetic organism designed to look and act as human. June 5, 2009 Electronic Arts Games (India) Private Limited Continued

Google Inc. is an American public corporation, earning revenue from advertising related to its Internet search, e-mail, online mapping, office productivity, social networking, and video sharing services as well as selling advertising-free versions of the same technologies. For normal internet users Google is a boon. Google offers its search and list of free services with one single ID. Googles constant growth, innovative ideas and its marketing strategies gave fatal blow for many competitors in the past few decades. Basically I am a great fan of Google and its hassle free innovative services. I have a list of services I use. There are many other services that Google is offering right now !

Google captured Android Inc in July 2005 to enter Mobile market and to reach the maximum number of mobile phone internet users. Google is utilizing its Brand to capture the mobile market.

Electronic Arts Games (India) Private Limited


June 5, 2009

Google unveiled the Android platform on 5 November 2007 and announced the foundation of the Open Handset Alliance, a consortium of 48 hardware, software, and telecom companies devoted to advancing open standards for mobile devices.

Members of Open Handset Alliance:

Mobile operators China Mobile Software companies Ascender Corporation Commercialization companies Aplix Noser Engineering The Astonishing Tribe Wind River Semiconductor companies Audience Broadcom Corporation Intel Corporation Handset manufacturers HTC LG Motorola Samsung Electronics

Founding KDDI eBay Members Corporation Esmertec NTT

DoCoMo Sprint Nextel T-Mobile Telecom Italia

Google LivingImage NMS Communications Nuance Communications


Marvell Technology Group Nvidia Corporation Qualcomm SiRF Technology Holdings Synaptics Texas Instruments AKM Semiconductor ASUSTek Garmin Huawei Technologies Sony Ericsson Toshiba

Telefnica PacketVideo SkyPop SONiVOX

Joined December 9, 2008

Vodafone Softbank Ericsson Borqs

Omron Software Teleca

ARM Atheros Communications EMP[9]

Electronic Arts Games (India) Private Limited


June 5, 2009

Android Time line:

*SDK-Software Development Kit

Electronic Arts Games (India) Private Limited


June 5, 2009

Main Features of Android:

Application Framework is used to write applications for Android. Unlike other embedded mobile environments, Android applications are all equal, for instance, an applications which come with the phone are no different than those that any developer writes. The framework is supported by numerous open source libraries such as openssl, sqlite and libc. It is also supported by the Android core libraries. From the point of security, the framework is based on UNIX file system permissions that assure applications have only those abilities that mobile phone owner gave them at install time. Dalvik virtual machine it is extremely low-memory based virtual machine, which was designed especially for Android to run on embedded systems and work well in low power situations. It is also tuned to the CPU attributes. The Dalvik VM creates a special file format (.DEX) that is created through build time post processing. Conversion between Java classes and .DEX format is done by included dx tool. Integrated browser Google made a right choice on choosing WebKit as open source web browser. They added a two pass layout and frame flattening. Two pass layout loads a page without waiting for blocking elements, such as external CSS or external JavaScript and after a while renders again with all resources downloaded to the device. Frame flattening converts founded frames into single one and loads into the browser. These features increase speed and usability browsing the internet via mobile phone. Optimized graphics as Android has 2D graphics library and 3D graphics based on OpenGL ES 1.0, possibly we will see great applications like Google Earth and spectacular games like Second Life, which come on Linux version. SQLite extremely small (~500kb) relational database management system, which is integrated in Android. It is based on function calls and single file, where all definitions, tables and data are stored. This simple design is more than suitable for a platform such as Android. There are a number of hardware dependent features, for instance, a huge media and connections support, GPS, improved support for Camera and simply GSM telephony. A great work was done for the developers to start work with Android using device emulator, tools for debugging and plugin for Eclipse IDE.

Android Architecture:

Android Architecture is based on Linux 2.6 kernel which includes Android's memory management programs, security settings, power management software and several hardware drivers. Drivers are programs that control hardware devices. For example, the HTC G1 has a camera. The Android kernel includes a camera driver, which allows the user to send commands to the camera hardware.

For example, the media framework library supports playback and recording of various audio, video and picture formats. Other libraries include a three-dimensional acceleration library (for devices with accelerometers) and a Web browser library.

Electronic Arts Games (India) Private Limited


June 5, 2009

In the next level we can see a set of native libraries written in C/C++, which are responsible for stable performance of various components. You can think of libraries as a set of instructions that tell the device how to handle different kinds of data.

OpenGL ES and SGL make a core of graphic libraries and are used accordingly for 3D and 2D hardware acceleration. Moreover, it is possible to use 2D and 3D graphics in the same application in Android. The media framework was provided by PacketVideo, one of the members of OHA. It gives libraries for a playback and recording support for all the major media and static image files. FreeType libraries are used to render all the bitmap and vector fonts. For data storage, Android uses SQLite. WebKit, the same browser used by Apples Safari, was modified by Android in order to fit better in a small size screens.

At the same level there is Android Runtime, where the main component Dalvik Virtual Machine is located. It was designed specifically for Android running in limited environment, where the limited battery, CPU, memory and data storage are the main issues. A virtual machine is a software application that behaves as if it were an independent device with its own operating system. You can run a virtual machine on a computer that operates on a completely different OS than the physical machine's OS. The Android OS uses virtual machines to run each application as its own process. That's important for a few reasons. First, no application is dependent upon another. Second, if an application crashes, it shouldn't affect any other applications running on the device. Third, it simplifies memory management.

The Core libraries are written in Java language and contains of the collection classes, the utilities, IO and other tools. The next layer is the application framework. This includes the programs that manage the phone's basic functions like resource allocation, telephone applications, switching between processes or programs and keeping track of the phone's physical location. Application developers have full access to Android's application framework. This allows them to take advantage of Android's processing capabilities and support features when building an Android application. Think of the application framework as a set of basic tools with which a developer can build much more complex tools.

At the top of the stack are the applications themselves. This is where you find the basic functions of the device such as making phone calls, accessing the Web browser and accessing your contacts list. If you're an average user, this is the layer you'll use most. You do that with the user interface. Only Google programmers, application developers and hardware manufacturers access the other layers further down the stack.

Android Market:
One stop for the applications developed on android platform. Both free and paid applications are available. Developers will be able to make their content available on an open service hosted by Google that features a feedback and rating system similar to YouTube.

What do Users get from ANDROID ?

Googles style and innovation ported to android. Lots of applications due to Open Source. A new open source platform for small devices.

Electronic Arts Games (India) Private Limited


June 5, 2009

HTC Dream (T-Mobile G1) Specs:

G1 is available as Dev Phone and Retail version Retail version phone is locked to T-Mobile carrier and is available at 199$ in US Dev phone is unlocked and contains some added tools for developers at a price of (399+25) $

A Look at G1:

Electronic Arts Games (India) Private Limited


June 5, 2009

Electronic Arts Games (India) Private Limited


June 5, 2009

HTC - Magic Magic is the second Android phone launched in May with Vodafone. Let us have a look at it:

Electronic Arts Games (India) Private Limited


June 5, 2009

Basic Differences between G1 and HTC-Magic: Camera in Magic is of 3.2 Mega pixel No QWERTY key board Little low in size and weight

Iphone 2.0 vs G1:

T-Mobile G1

Apple iPhone 3G

Dimensions Screen size

4.60 inches x 2.16 inches x 0.62 inch 3.2 inch Touch screen, QWERTY keyboard,

5.5 inches x 2.4 inches x 0.48 inch 3.5 inch


trackball and navigation keys. No multitouch-gesture support (for now).

Touch screen, Home button. Multitouch-gesture support.


Quad-band GSM, dual-band UMTS, Quad-band GSM, tri-band Wi-Fi. Bluetooth-headset profile is UMTS/HSDPA, Wi-Fi. Bluetoothsupported, but no stereo Bluetooth, headset profile is supported, but no

Electronic Arts Games (India) Private Limited


June 5, 2009


3.2 megapixels, no video recording

2.0 megapixels, no video recording

no tethering. Accelerometer Yes GPS Yes Google Maps with Satellite View, Maps

stereo Bluetooth, no tethering. Yes Yes

Traffic, and Street View. Also has a Google Maps with Satellite View and compass mode that orients the screen as you move. MicroSD-card slot expandable up to Traffic. No Street View


8GB, with MicroSDHC-card support. 8GB or 16GB, no expansion slot Comes with a 1GB card preloaded


Push Gmail, POP3, IMAP, no Exchange

POP3, IMAP, Exchange support Desktop synchronization, with over-


Over-the-air synchronization

the-air sync for certain cloud-based applications like Web mail and online calendars.

Visual Voicemail Music Store Application Store Multimedia Messaging Copy and Paste Voice dial

No Amazon MP3 Store Android Market. The SDK is open source and applications don't need to be vetted for approval. Yes

Yes iTunes Store iTunes Application Store. Applications need to be approved by Apple to appear in the store. No

Yes Yes

No No

3.5mm headset jack Removable battery




No $199 with two-year service agreement for 8GB, $299 with twoyear service agreement for 16GB


$179 with two-year service agreement $35 a month for unlimited Web, email, messaging, and T-Mobile HotSpot access; $25 a month for

$30 a month for unlimited consumer data plan, $45 a month for unlimited

Data plan

unlimited Web, e-mail, unlimited IM business data plan, $5 a month for on Google Talk, 400 total messages 200 text messages, $15 a month for (text, picture messages, non-Google 1,500 text messages, $20 a month Talk IM), and T-Mobile HotSpot access. for unlimited text messages

Electronic Arts Games (India) Private Limited


June 5, 2009

Some Other Comparisons: Microsoft Smartphone Yes Large Lacks power management

Symbian Multitasking Footprint Yes Small

Palm OS Yes Small

Android(Linux) Yes Large

J2ME Depending on OS Medium Depending on OS

BREW Yes Small Small Chipset for power management





Mobile telephony

Inherent support

Enhanced feature for highend Palm devices Bluetooth, Wi-Fi, IrDA Proprietary

Limited support

Limited support

Extensive support for mobile OS

Strong support

Wireless data connection support Open or not? Programming language support

Bluetooth, IrDA

Bluetooth, Wi-Fi, IrDA

Bluetooth, WiFi, IrDA


Bluetooth, IrDA


Proprietary Native C, C++, and .Net runtime support




Native C and C++

Native C and C++


Native C and C++

iPhone OS (Apple) Platform Source Code Q2 WW Market Share (Gartner) Smartphon e traffic share (AdMob) Pros Closed Closed

BlackBerry OS (RIM) Closed Closed

Window Mobile (Microsoft) Open Closed

Android (Google) Open Open

Symbian (Nokia) Open Open (in future)







WW: 4% US: 16%

WW: 11% US: 31%

WW: 13% US: 29%


WW: 64% US: 2%

Early momentum Data hungry early adopters Powerful distribution channel

Strong reach (particularly in US)

Manufacture r / carrier agnostic

Manufacture r / carrier agnostic Open source innovation Late to market Uncertain consumer demand Android Market announced $3.8MM awarded in Developer Challenge

Massive global reach Open source innovation

Issues Apple dependant BB dependent Distribution Distribution

Limited reach in US Distribution

Application ecosystem

Electronic Arts Games (India) Private Limited


June 5, 2009

>3K apps (~20% free) More than 1M installs in only a few months

Fewer free apps BB Application Center being developed for Storm

>18K apps Skymarket to launch in 2009

>10K apps Claims >90MM installs over last 2 years

Upcoming Handsets:

In September 2008, Motorola confirmed that it was working on hardware products that would run Android. Huawei plans to release a phone that would run Android on T-Mobile. This date however is not set until after June 2009. Archos is planning to launch a new device, which would combine significant media capabilities with an Android operating system. Lenovo is working on an Android-based mobile phone that supports the Chinese 3G TD-SCDMA standard. HTC is planning a "portfolio" of Android based phones to be released summer of 2009, including the HTC Magic, unveiled on 17 February 2009 at the 2009 Mobile World Congress in Barcelona, Spain. The HTC Magic will be released with the "Cupcake" build, with a debut on May 5. Sony Ericsson is planning to release an Android based handset in the summer of 2009. Samsung plans to release a phone based on Google's Android operating system in June of 2009 with several more to come in the following months. GiiNii Movit Mini is a Internet device based on Google's Android operating system. Acer is rumored to be releasing phones called the L1, C1, E1, F1, and A1(unconfirmed) late in 2009. Chinese ODM Yuhua's first Android phone, the dual-SIM DSTL1 will be released under the General Mobile brand in June. The company is planning more Android devices.


Applications on Android:

The App That Backs Up Our Contacts: PhoneBook 2.0

An app that backs up your contacts for you to a remote server can give you piece of mind in case your phone is ever lost or stolen. However, the app isn't just a backup tool. PhoneBook 2.0 combines mobile social networking with your address book to let you share your mood, location, and photos with your friends.

The App That Keeps Us From Getting Lost: BreadCrumbz

Sure, sure, the phone has Google Maps, but BreadCrumbz is even better. Instead of getting directions, you get picturebased routes so you know to turn at that huge oak tree or the building with the blue awning. Your friends can make routes for you and record them with the camera and GPS.

The App(s) That Save Us Money: CompareEverywhere and GoCart There are not one, but two, apps that basically do the same thing: compare prices and save us money. Using the camera, you can "scan" the barcode of an item by snapping a picture. The app will then comparison shop for you. You can read online reviews and even create price alerts if the price drops. CompareEverywhere also lets you use the GPS to find nearby stores and then call them directly.

Electronic Arts Games (India) Private Limited


June 5, 2009

The App That Lets Us Store Files in the Cloud: Teradesk e-Storage This one wasn't a grand prize winner, but looks like a handy app to have around. With Teradesk, you can store files in the cloud with file transfers that allow for pause control, resume, and full recovery of broken transfers. You can share files with friends via Bluetooth and MMS and the app even integrates with Google Docs.

The App That Keeps Us Informed: Life360

There were several of these "alerting" apps, but only one that won the grand prize. Life360 is an app that sends you messages from your family and local community. You can be alerted to a danger in the community (rabid dog on the loose!), but you can also just receive messages from family, too (mom's running late today). This is a personalized alert system that displays only the messages you need to hear.

The App That Lets Us IM And Blog: Maverick No Google phone would be complete without an app that lets us use GoogleTalk to IM our friends. Maverick lets you exchange messages, location, and multimedia content in the form of audio clips, photos and scribbles (drawings created on the mobile phone) with other Maverick clients, Gtalk users, or iChat users. You can also use the app to publish content to Blogger.

The App(s) For Social Music: TuneWiki or Diggin Another case of having two great apps - this time, for music. TuneWiki won the grand prize with their social music maps that displays audio, video, and lyrics. You can also use the GPS to see what other people are playing nearby in real-time. Although only a finalist, Diggin looks interesting, too. This app lets you listen to thousands of streaming radio stations and downloads the album art for what you're listening to automatically.

The App That Lets Us Whiteboard With Colleagues: ShareYourBoard Did your co-worker miss the meeting? Now you can get them up to speed with ShareYourBoard. Designed specifically to capture and enhance whiteboard images with edge detection, geometry transformations and image enhancement, ShareYourBoard takes great pics in any angle, any lighting, and with any type of whiteboard or markers used.

Electronic Arts Games (India) Private Limited


June 5, 2009

The App That Tells Our Phone How To Behave: Locale Maybe you shouldn't have those rockin' ringtones turned on at the office...and perhaps that wallpaper is a bit inappropriate, too. Instead of having to adjust your profiles yourself, you can use an app that knows how to do so automatically. Using Android's built-in GPS, Locale will let you set up "Situations" (like At Work, At Home, In a Meeting, etc) which you can have automatically triggered by setting conditions like location (via the GPS), time, or other conditions which you add. The app can then adjust your ringtone, wallpaper, and other settings automatically.

The App That Scans Our Eyeball and Saves Our Passwords: BioWallet Honestly we wouldn't care what this app did, but it happens to be a "safe wallet" that stores sensitive information (passwords, certificates, documents, conversations, notes, pictures, etc.). The info can only be accessed through iris or handwritten signature based authentication. Oh come on! It does retina scanning! We didn't get an Android phone to play space monkey games, now did we? This one delivers pure geek cred.

Future: T-Mobile is set to launch two new devices running on the Google Android platform early next year. The wireless carrier will introduce a home phone and a tablet computer, both powered by Google's mobile operating system. Hewlett-Packard may use Google's Android in future netbook PCs

Other News: Android can be used by Blind as well, apps such as talking dialer and talking phonebook built for android. Google Product Search available for iphone and Android users Android SDK 1.5 released

Playing with Emulator: Installing .apk file in Android Emulator 1. Set the path to tools folder in the environment variables and copy yourapp.apk to tools folder 2. Start the emulator 3. Run cmd and type adb install yourapp.apk 4. Check for the application in the shell menu (adb: android debug bridge; install is a command) Alternate: Just paste the application in our dtr server and browse to the location in emulators browser, download and install (need to have a sdcard image inserted in to the device ) In Detail procedure of Installing an Application onto an Android device using Data Cable: STEP 1: Download SDK and the Android USB drivers on your system.

SDK is available on the following path The USB driver is included in the SDK folder. STEP 2: Install the device using USB drivers.

Connect the device using a Data Cable. A window will pop up as shown below. Select Install from a list or specific location (Advanced). Select Next.

Electronic Arts Games (India) Private Limited


June 5, 2009

Next check mark Include this location in the search & select the appropriate path using browse or Copy paste the location of the USB Drivers. In this case C:\Documents and Settings\pmajji\Desktop\android-sdk-windows1.1_r1\usb_driver\x86. Make sure to use X86 and not amd64. Select Next.

Select Finish to complete installation of the device.


Installation settings on Device.

From the main menu select Settings -> Applications -> Unknown Sources On selecting Unknown Sources a pop up will appear warning about security of the data on the device. Select OK.

Electronic Arts Games (India) Private Limited


June 5, 2009


Installing the Application

Copy the .APK files in to the C:\Documents and Settings\ssharan\Desktop\androidsdk-windows-1.1_r1\tools directory. Now run the command Prompt. Start -> Run-> type cmd Now switch to the C:\Documents and Settings\ssharan\Desktop\android-sdkwindows-1.1_r1\tools directory and run the command adb devices. This will list out the devices connected.

Then run the command adb -s <device> install <application.apk> where device is the name of the device that was shown at the previous command & application.apk is the name of the APK file.

Once the application is installed, the following message is displayed:

Once the application is installed, it can be found in the main menu.

Electronic Arts Games (India) Private Limited


June 5, 2009

Uninstalling application from Android Emulator 1. 2. 3. 4. 5. 6. Start the emulator Run cmd and type adb shell You will see a # prompt, then type cd data and again type cd app, then type ls You will see a list of installed apk files Type rm yourapp.apk (name as displayed on the list) Check for the application in shell

Alternate: Go to settings applications Manage Applications and select the application. You will get an option to uninstall Changing Skins of emulator There are four types of default skins available for android emulator

HVGA-L 480x320, landscape

HVGA-P 320x480, portrait (default)

QVGA-L 320x240, landscape

QVGA-P 240x320, portrait


Run cmd and type path to tools folder Eg: cd d:\android\tools 2. Type emulator skin <name> E.g: emulator skin QVGA-L

Creating a SDCARD for emulator 3. Run cmd and type path to tools folder Eg: cd d:\android\tools 4. Type mksdcard l <name> <size>K/M <file> Eg: mksdcard l SD1GB 1024M sdcard.iso Inserting and SDCard in to the emulator 1. Open cmd and type path to tools folder Eg: cd d:\android\tools 2. Type emulator sdcard <path> Eg: emulator sdcard sdcard.iso

Procedure for taking a snapshot of the application on T Mobile G1 using Android SDk 1.1: 1. Install the latest JDK on the PC. 2. Start -> Right click My Computer -> properties -> Advanced -> Environment variables -> System variables -> path -> Edit 3. Set the variable value as C:\Program Files\Java\jdk1.6.0\bin. 4. Connect the device to the PC. 5. Start -> Run -> cmd 6. Set path to the android tools directory in cmd prompt.(cd E:\work\work\Android\android-sdk-windows-1.1_r1\android-sdk-windows1.1_r1\tools) 7. Use Android Debug bridge tool , to get the device list that are connected to the PC. 8. Launch any application on the device. 9. Run Dalvik Debug Monitor Service from tools of Android SDK 1.1 to open Dalvik Debug Monitor.

Electronic Arts Games (India) Private Limited


June 5, 2009

10. Select the device on the Dalvik Debug Monitor. 11. Press Ctrl +S to open the Device Screen Capture window.

12. Click on save to save the image. 13. The format of the image is .png, which can be changed to JPEG after opening it in paint. 14. Use refresh to capture the images which reflect the current screen in the application.

EA on Android: Bejeweled is the First paid application on Android Market Bejeweled received a rating of 4.5/5.0

Electronic Arts Games (India) Private Limited


June 5, 2009

Upcoming Titles from EA: Tetris Monopoly H&N NA Monopoly H&N EU Bejeweled Bejeweled MP Trivial Pursuit NA Trivial Pursuit EU Spore Sims 2 Castaway Tiger Woods 09 Game of Life Scrabble NA American Idol Battleship/Connect 4 Tetris Pop NFS Undercover* Sims 3 Surviving HS 09 Clue C&C: Red Alert Madden 2010* Rockband FIFA10 NFS 2010* Simpsons 3 Doom2 RPG Jewel Quest Worms Future titles under consideration Clue Cranium DT Texas Holdem Risk Yahtzee

*Performance Eval. Distribution rights TBD Complete/Live