OPTIMIZED DALVIK VIRTUAL available under the Apache free-software MACHINE FOR MOBILE and open-source license. APPLICATION INTRODUCTION: (Open source technology) A broad alliance of leading technology and P.Karthik, Second year, MCA, wireless companies joined forces and Adhiyamaan College of Engineering, announced the development of Android, the Hosur first truly open and comprehensive platform Email-id:karshkarthikmca@.com. for mobile devices, on November 5, 2007. Inc., , T-Mobile, Sprint, HTC, Mobile No: 9944991924 , Motorola and others have T.Manikanda pandian, Second Year, collaborated on the development of Android Adhiyamaan College of Engineering, through the , a Hosur multinational alliance of technology and mobile industry leaders. Email-id: [email protected] This alliance shares a common goal of Mobile No: 8124009857 fostering innovation on mobile devices and giving consumers a far better user ABSTRACT: experience than much of what is available on today's mobile platforms. By providing Android is a software stack for developers a new level of openness that mobile devices that includes an operating enables them to work more collaboratively, system, middleware and key applications. Android will accelerate the pace at which Android is a software platform and new and compelling mobile services are for mobile devices based made available to consumers. on the operating system and developed by Google and the Open Handset With nearly 3 billion users worldwide, the Alliance. It allows developers to write has become the most personal managed code in a Java-like language that and ubiquitous communications device. utilizes Google-developed Java libraries, but However, the lack of a collaborative effort does not support programs developed in has made it a challenge for developers, native code. wireless operators and handset The unveiling of the Android manufacturers to respond as quickly as platform on 5 November 2007 was possible to the ever-changing needs of savvy announced with the founding of the Open mobile consumers. Through Android, Handset Alliance, a consortium of 34 developers, wireless operators and handset hardware, software and telecom companies manufacturers will be better positioned to devoted to advancing open standards for bring to market innovative new products mobile devices. When released in 2008, faster and at a much lower cost. The end most of the Android platform will be made result will be an unprecedented mobile platform that will enable wireless operators and manufacturers to give their customers applications and easier-to-use interfaces -- better, more personal and more flexible ultimately creating a superior mobile mobile experiences. experience.

Thirty-four companies have formed the system consists of 12 million lines of Open Handset Alliance which aims to code including 3 million lines of XML, 2.8 develop technologies that will significantly million lines of , 2.1 million lines of Java, lower the cost of developing and distributing and 1.75 million lines of C++. mobile devices and services. The Android BIRTH OF ANDROID: platform is the first step in this direction -- a fully integrated mobile "software stack" that The Android platform is the product of the consists of an operating system, middleware, Open Handset Alliance a group of user-friendly interface and applications. organizations collaborating to build a better Consumers should expect the first phones mobile phone. The group, led by Google, based on Android to be available in the includes mobile operators, device handset second half of 2008. manufacturers, component manufacturers, software solution and platform providers, The Android platform is made available and marketing companies. From a software under one of the most progressive, development standpoint, Android sits smack developer-friendly open-source licenses, in the middle of the open source world. which gives mobile operators and device manufacturers significant freedom and The first Android-capable handset on the flexibility to design products. The Alliance market was the G1 device manufactured by has released an early software HTC and provisioned on T-Mobile. The development kit to provide developers with device became available after almost a year the tools necessary to create innovative and of speculation, where the only software compelling applications for the platform. development tools available were some incrementally improving SDK releases. As Android holds the promise of unprecedented the G1 release date neared, the Android benefits for consumers, developers and team released SDK V1.0 and applications manufacturers of mobile services and began surfacing for the new platform. devices. Handset manufacturers and wireless operators will be free to customize Android To spur innovation, Google sponsored two in order to bring to market innovative new rounds of "Android Developer Challenges," products faster and at a much lower cost. where millions of dollars were given to top Developers will have complete access to contest submissions. A few months after the handset capabilities and tools that will G1, the Android Market was released, enable them to build more compelling and allowing users to browse and download user-friendly services, bringing the Internet applications directly to their phones. Over developer model to the mobile space. And about 18 months, a new mobile platform consumers worldwide will have access to entered the public arena. less expensive mobile devices that feature more compelling services, rich Internet ACTIVITY device can run multiple VMs efficiently. The Dalvik VM executes files in the Dalvik

Executable (.dex) format which is optimized for minimal memory footprint. The VM is register-based, and runs classes compiled by a Java language that have been transformed into the .dex format by the included "dx" tool. The Dalvik VM relies on the for underlying functionality such as threading and low-level memory management.

COMPONENTS OF ANDROID:

The following diagram shows the major components of the Android operating system.

DALVIK RUNTIME:

Android includes a set of core libraries that provides most of the functionality available in the core libraries of the Java . Every Android application runs in its own process, with its own instance of the Dalvik virtual Fig no: 2- Components of Android machine. Dalvik has been written so that a COMMON STRUCTUER OF (hash map) used by group of ANDROID: applications

Activity is the presentation layer of your app: there will be one per screen, and the Views provide the UI to the activity

Intents specify what specific action should be performed

Services run in the background and have no UI for the user ± they will update data, and trigger events

ADVANTAGES OF ANDROID: Fig no: 3-Common structure of android There are many different cell phone Views such as lists, grids, text boxes, platforms to choose from today. Smart buttons, and even an embeddable web phones have become phones that many browser people have versus just professionals like it was just a few years ago. One platform that Content Providers that enable you can look into is Google's Android applications to access data from other phone. This has become a fairly popular applications (such as Contacts), or to phone in the last year which offers some share their own data advantages.

An Activity Manager that manages the life cycle of applications and provides a First of all, it's an open platform. This means common navigation backstack that the project is open source meaning that its code is available for people to look at. A Notification Manager that enables all Generally speaking open source projects are apps to display custom alerts in the fairly innovative and will give you quality status bar features since anyone can program them into the system. A Resource Manager, providing access An Android phone is guaranteed to work to non-code resources such as localized with Google products. There are many strings, graphics, and layout files different Google products that most people

Broadcast receivers can trigger intents use. Whether it's YouTube, Gmail, Google that start an application Docs or others, these will work on this phone giving you access to a wide variety of Data storage provide data for your apps, applications that you can use between your and can be shared between apps ± phone and your computer. , file, and shared preferences Eventually this platform will work on netbook and computers. This means that you Dalvik . Dalvik runs dex could have devices that share the same files, which are coverted at compile time platform giving you the ability to purchase from standard class and files. applications that will work on all your devices Network Connectivity It supports wireless communications using: DISADVANTAGE:  GSM mobile-phone technology Android doesn't support:  3G  Bluetooth stereo  Edge  Contacts exchange  802.11 Wi-Fi networks  Modem pairing  Wireless keyboards Security Android is a multi-process system, in But it'll work with Bluetooth headsets, but which each application (and parts of the that's about it system) runs in its own process. Most Firefox Mobile isn't coming to Android security between applications and the system is enforced at the process level PLATFORMS: through standard Linux facilities, such as user and group IDs that are assigned to Hardware : applications. Android is not a single piece of Additional finer-grained security features hardware; it's a complete, end-to-end are provided through a "permission" software platform that can be adapted to mechanism that enforces restrictions on the work on any number of hardware specific operations that a particular process configurations. Everything is there, from the can perform, and per-URI permissions for boot loader all the way up to the granting ad-hoc access to specific pieces of applications. data

FEATURES OF ANDROID: Operating System(s):

Application Framework: Android uses Linux for its device drivers, memory management, process It is used to write applications for management, and networking. Android. Unlike other embedded mobile environments, Android applications are all The next level up contains the Android equal, for instance, an applications which native libraries. They are all written in come with the phone are no different than C/C++ internally, but you¶ll be calling them those that any developer writes. The through Java interfaces. In this layer you can framework is supported by numerous open find the Surface Manager, 2D and 3D source libraries such as openssl, SQLite and graphics, Media codec¶s, the SQL database libc. It is also supported by the Android core (SQLite), and a native web browser engine libraries. From the point of security, the (WebKit). framework is based on UNIX file system permissions that assure applications have SQLite: only those abilities that mobile phone owner Extremely small (< 500kb) relational gave them at install time. database management system, is integrated Dalvik Virtual Machine: in Android. It is based on function calls and single file, where all definitions, tables and It is extremely low-memory based data are stored. This simple design is more virtual machine, which was designed than suitable for a platform such as Android. especially for Android to run on embedded systems and work well in low power Handset Layouts: situations. It is also tuned to the CPU The platform is adaptable to both attributes. The Dalvik VM creates a special larger, VGA, 2D graphics , 3D file format (.DEX) that is created through graphics library based on OpenGL ES 1.0 build time post processing. Conversion specifications, traditional smart phone between Java classes and .DEX format is layouts. An underlying 2D graphics engine done by included ³dx´ tool. is also included. Surface Manager manages Integrated Browser: access to the display subsystem and seamlessly composites 2D and 3D graphic Google made a right choice on layers from multiple applications choosing WebKit as open source web browser. They added a two pass layout and Data Storage: frame flattening. Two pass layout loads a SQLite is used for structured data page without waiting for blocking elements, storage .SQLite is a powerful and such as external CSS or external JavaScript lightweight relational database engine and after a while renders again with all available to all applications. resources downloaded to the device. Frame flattening converts founded frames into Connectivity: single one and loads into the browser. These features increase speed and usability Android supports a wide variety of browsing the internet via mobile phone. connectivity technologies including GSM,

Optimized Graphics: CDMA, Bluetooth, EDGE, EVDO, 3G and Wi-Fi. As Android has 2D graphics library and 3D graphics based on OpenGL ES 1.0, Messaging: possibly we will see great applications like SMS, MMS, and XMPP are and spectacular games like available forms of messaging including Second Life, which come on Linux version. threaded text messaging. At this moment, the shooting legendary 3D game Doom was presented using Android on the mobile phone.

Web Browser: Photoshop mobile:

The web browser available in Edit creatively Android is based on the open-source y Fix photos fast ² crop, straighten, WebKit application framework. It includes rotate, flip, and adjust color. LibWebCore which is a modern web y Add borders to give photos a browser engine which powers both the polished look.

Android browser and an embeddable web Share quickly view. y Email your photos to family and

Java Virtual Machine: friends. y Post photos to Photoshop.com, Software written in Java can be Facebook with one tap. compiled into Dalvik byte codes and Back up easily executed in the Dalvik virtual machine, y Upload and store mobile photos to which is a specialized VM implementation your free Photoshop.com account. designed for mobile device use, although not y Automatically any picture technically a standard you take between your mobile ANDROID APPLICATIONS: device and your Photoshop.com Library to see the same photos and navigations: wherever you are.

Google Maps is a web mapping service application and technology provided by Shazam Google, that powers many map-based Shazam uses a mobile phone's built- services, including the Google Maps in microphone to gather a brief sample of website, Google Ride Finder, Google music being played. An acoustic Transit, and maps embedded on third-party fingerprint is created based on the sample, websites via the Google Maps API. It offers and is compared against a central database street maps, a route planner for traveling by for a match. If a match is found, information foot, car, or public transport and an urban such as the artist, song title, and album are business locator for numerous countries relayed back to the user. Relevant links to around the world. services such as iTunes, YouTube, or Zune are incorporated into some

implementations of Shazam. Battery indicator battery Indicator shows your battery charge level (percent) as an Facebook icon in your status bar, with temperature, Facebook is a social networking health, voltage, and time since plugged / service and website launched in February unplugged in the notification area 2004, operated and privately owned by

Facebook, Inc. As of July 2011, Facebook has more than 750 million active users. Users may create a personal profile, photos, and other objects between phones. It add other users as friends, and exchange was the billionth application downloaded on , including automatic notifications Apple's App Store, and is the eighth most when they update their profile. Facebook popular free app of all time. It is free to users must register before using the site. download for both platforms. Additionally, users may join common- CONCLUSION: interest user groups, organized by workplace, school or college, or other On the Android platform they are an characteristics. indispensable way to enable data sharing Facebook allows any users who declare between applications. If your application themselves to be at least 13 years old to becomes the first big hit on Android, the become registered users of the website. data generated could be easily shared. There are a lot of exciting possibilities being Shape writer or swipe generated from the Android platform, so to best take full advantage of these possibilities Shape Writer software was made available now and in future as a free application for Android (operating system) smart phones through the Android Market. As a touchscreen keyboard replacement, is had over 50,000 users on REFERENCE: Android worldwide. It was available only  www. developer.android.com for Android OS versions 1.6 or higher.  www.anddev.org ShapeWriter for Android was available in 7  www. stuffthathappens.com European languages including English,  www. en.androidwiki.com Spanish, and German.  www.android.com Using ShapeWriter text entry software, a  www. en.androidwiki.com user draws words on a graphical keyboard using a pen. Instead of tapping the keys, the user draws a pen gesture that connects all the letters in the desired word. After some usage the user learns the movement pattern for the commonly used words and can write them faster than is possible on a traditional virtual keyboard

Bump

Bump is an application created by Bump Technologies for the Apple iOS and Google Android operating systems. It allows two users to bump their phones together to exchange contact information,