SlideShare a Scribd company logo
1 of 34
Invasion of The Androids! Deepak Goyal 30 March 20119  eZdia Inc
Schedule. Overview (10 min) Architecture (20) Developing application using Eclipse.(30 min) Other tools (how to access your phone, 5 min) How to publish app (5 min) Google app inventor (10 min). QA (10 min)
What is Android?  Android is a software stack for mobile devices that includes an operating system, middleware and key applications
>150,000 Applications
History  Andy Rubin 2005 Google  buys  Android,  Inc. Work  on  Dalvik  starts  August 2003, Palo Alto  2007 OHA  Announced Early  SDK  2008 G1  Announced SDK  1.0  Released  2009 G2  Released Cupcake,  Donut,  Eclair Froyo  (USB/ Wifi tethering) Ginger Bird (NFC, VOIP) 2010
What’s new for Android?  New UI framework for creating great tablet apps New Developer Features Android 3.0 is now available for the Android SDK.  High-performance 2D and 3D graphics Support for multicore processor architectures Rich multimedia and connectivity Enhancements for enterprise Compatibility with existing apps Android 3.0 Honeycomb(Android for Tablets)  In-app Billing Launched on Android Market
   Java                                   Android
Android applications Java based Application Browser based (HTML,JS,CSS) Native App  (Android Native Development Kit (NDK)
Schedule. Overview (10 min) Architecture (20) Developing application using Eclipse.(30 min) Other tools (how to access your phone, 5 min) How to publish app (5 min) Google app inventor (10 min). QA (10 min)
System Architecture
System Architecture  Linux Kernel
System Architecture  Library
Zygote Fishing village of Eyjafjörður  Iceland http://developer.android.com/videos/index.html#v=ptjedOZEXPM
All Java
What makes and Android application Activities. Services Content Provider Intent Broadcast Receivers Notifications
Activities                          Services
Intent and Broadcast Receivers intent Intent/ Broadcast receivers
Content  Providers  Only way to share the data between applications. Built-in Content providers for  contact, media. Write your own CP Or  used the existing one with permission.
Notifications
Schedule. Overview (10 min) Architecture (20) Developing application using Eclipse.(30 min) Other tools (how to access your phone, 5 min) How to publish app (5 min) Google app inventor (10 min). QA (10 min)
Setup your environment  XP, Mac, Linux JDK 5,6 The Android SDK http://developer.android.com/sdk/index.html Eclipse (Helios) http://developer.android.com/sdk/eclipse-adt.html
Create  New  Project
The  Manifest  File  <?xml version="1.0" encoding="utf-8"?>  <manifest xmlns:android="http://schemas.android.com/apk/res/android" 	package="com.marakana"  android:versionCode="1"  android:versionName="1.0">  <application android:icon="@drawable/icon" android:label="@string/app_name">  <activity android:name=".HelloAndroid"  android:label="@string/app_name"> <intent-filter>  <action android:name="android.intent.action.MAIN" />  <category android:name="android.intent.category.LAUNCHER" /> </intent-filter>  </activity>  </application>  <uses-sdkandroid:minSdkVersion="5" /> </manifest>
The  Layout  Resource (main.xml) <?xml version="1.0" encoding="utf-8"?>  <LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical"  android:layout_width="fill_parent" android:layout_height="fill_parent" >  <TextView android:layout_width="fill_parent"  android:layout_height="wrap_content" android:text="@string/hello"  />  </LinearLayout>
The  Java  File  package com.ezdia.jugdemo import android.app.Activity; import android.os.Bundle;  public class HelloAndroid extends Activity {  /** Called when the activity is first created. */ @Override  public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);  setContentView(R.layout.main); } }
R.java package com.jugdemo;public final class R {    public static final class attr {    }    public static final class drawable {        public static final int icon=0x7f020000;    }    public static final class id {        public static final inttextview=0x7f050000;    }    public static final class layout {        public static final int main=0x7f030000;    }    public static final class string {        public static final intapp_name=0x7f040001;        public static final int hello=0x7f040000;    }}
Running  on  Emulator
Schedule. Overview (10 min) Architecture (20) Developing application using Eclipse.(30 min) Other tools (how to access your phone, 5 min) How to publish app (5 min) QA (10 min)
[object Object]
Logcat/Console
Screen capture
File system (push and pull)

More Related Content

What's hot

Android OS version history
Android OS version historyAndroid OS version history
Android OS version historyMuzammil Ashraf
 
Android Operating System
Android Operating System Android Operating System
Android Operating System Mehvish Mushtaq
 
Android technology _seminar_ ppt
Android technology _seminar_ pptAndroid technology _seminar_ ppt
Android technology _seminar_ pptvikas bharat
 
Know about Android Operating System
Know about Android Operating SystemKnow about Android Operating System
Know about Android Operating SystemTrailukya Dutta
 
Android Operating System
Android Operating SystemAndroid Operating System
Android Operating Systemrenoy reji
 
Android - An Operating System
Android - An Operating SystemAndroid - An Operating System
Android - An Operating SystemSaket Khopkar
 
Android Operating System
Android Operating SystemAndroid Operating System
Android Operating SystemBilal Mirza
 
Presentation on android
Presentation on androidPresentation on android
Presentation on androidsonyhontok
 
Power Point Presentaton on Android Operating system
Power Point Presentaton on Android Operating systemPower Point Presentaton on Android Operating system
Power Point Presentaton on Android Operating systemSukanta Biswas
 
IRJET - A Literature Review on Android -A Mobile Operating System
IRJET -  	  A Literature Review on Android -A Mobile Operating SystemIRJET -  	  A Literature Review on Android -A Mobile Operating System
IRJET - A Literature Review on Android -A Mobile Operating SystemIRJET Journal
 
Android versions
Android versionsAndroid versions
Android versionssriramakhil
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorialmaster760
 
Knowledge about android operating system
Knowledge about android operating systemKnowledge about android operating system
Knowledge about android operating systemRachna Beegun
 
Android operating system
Android operating systemAndroid operating system
Android operating systemAkshay Pandhare
 
Android technology and Information with Presentation Project.
Android technology and Information with Presentation Project.Android technology and Information with Presentation Project.
Android technology and Information with Presentation Project.TG Rajesh
 

What's hot (20)

Android OS version history
Android OS version historyAndroid OS version history
Android OS version history
 
Android Operating System
Android Operating System Android Operating System
Android Operating System
 
Andriod
AndriodAndriod
Andriod
 
Android technology _seminar_ ppt
Android technology _seminar_ pptAndroid technology _seminar_ ppt
Android technology _seminar_ ppt
 
Android Presentation
Android PresentationAndroid Presentation
Android Presentation
 
Know about Android Operating System
Know about Android Operating SystemKnow about Android Operating System
Know about Android Operating System
 
Android Operating System
Android Operating SystemAndroid Operating System
Android Operating System
 
Android - An Operating System
Android - An Operating SystemAndroid - An Operating System
Android - An Operating System
 
Android Report
Android ReportAndroid Report
Android Report
 
Android Operating System
Android Operating SystemAndroid Operating System
Android Operating System
 
Presentation on android
Presentation on androidPresentation on android
Presentation on android
 
Power Point Presentaton on Android Operating system
Power Point Presentaton on Android Operating systemPower Point Presentaton on Android Operating system
Power Point Presentaton on Android Operating system
 
IRJET - A Literature Review on Android -A Mobile Operating System
IRJET -  	  A Literature Review on Android -A Mobile Operating SystemIRJET -  	  A Literature Review on Android -A Mobile Operating System
IRJET - A Literature Review on Android -A Mobile Operating System
 
Android versions
Android versionsAndroid versions
Android versions
 
Android 11
Android 11Android 11
Android 11
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
 
Knowledge about android operating system
Knowledge about android operating systemKnowledge about android operating system
Knowledge about android operating system
 
Android operating system
Android operating systemAndroid operating system
Android operating system
 
Android technology and Information with Presentation Project.
Android technology and Information with Presentation Project.Android technology and Information with Presentation Project.
Android technology and Information with Presentation Project.
 
Seminar report on android os
Seminar report on android osSeminar report on android os
Seminar report on android os
 

Viewers also liked

モバイル開発におけるモバイル開発における Xamarin.forms と Microsoft Azure と Visual Studio Mobile C...
モバイル開発におけるモバイル開発における Xamarin.forms と Microsoft Azure と Visual Studio Mobile C...モバイル開発におけるモバイル開発における Xamarin.forms と Microsoft Azure と Visual Studio Mobile C...
モバイル開発におけるモバイル開発における Xamarin.forms と Microsoft Azure と Visual Studio Mobile C...Shunsuke Kawai
 
Care e faza cu Valentine's Day?
Care e faza cu Valentine's Day?Care e faza cu Valentine's Day?
Care e faza cu Valentine's Day?Popa-Bota Ioane
 
Trusouri botez bebelusi-Hainute copii-Imbracaminte copii-Clothes for children
Trusouri botez bebelusi-Hainute copii-Imbracaminte copii-Clothes for childrenTrusouri botez bebelusi-Hainute copii-Imbracaminte copii-Clothes for children
Trusouri botez bebelusi-Hainute copii-Imbracaminte copii-Clothes for childrenHainute copii Johnny Prodcomimpex
 
STOP! VIEW THIS! 10-Step Checklist When Uploading to Slideshare
STOP! VIEW THIS! 10-Step Checklist When Uploading to SlideshareSTOP! VIEW THIS! 10-Step Checklist When Uploading to Slideshare
STOP! VIEW THIS! 10-Step Checklist When Uploading to SlideshareEmpowered Presentations
 
How To Get More From SlideShare - Super-Simple Tips For Content Marketing
How To Get More From SlideShare - Super-Simple Tips For Content MarketingHow To Get More From SlideShare - Super-Simple Tips For Content Marketing
How To Get More From SlideShare - Super-Simple Tips For Content MarketingContent Marketing Institute
 
Top 5 Deep Learning and AI Stories - October 6, 2017
Top 5 Deep Learning and AI Stories - October 6, 2017Top 5 Deep Learning and AI Stories - October 6, 2017
Top 5 Deep Learning and AI Stories - October 6, 2017NVIDIA
 
AI and Machine Learning Demystified by Carol Smith at Midwest UX 2017
AI and Machine Learning Demystified by Carol Smith at Midwest UX 2017AI and Machine Learning Demystified by Carol Smith at Midwest UX 2017
AI and Machine Learning Demystified by Carol Smith at Midwest UX 2017Carol Smith
 

Viewers also liked (10)

モバイル開発におけるモバイル開発における Xamarin.forms と Microsoft Azure と Visual Studio Mobile C...
モバイル開発におけるモバイル開発における Xamarin.forms と Microsoft Azure と Visual Studio Mobile C...モバイル開発におけるモバイル開発における Xamarin.forms と Microsoft Azure と Visual Studio Mobile C...
モバイル開発におけるモバイル開発における Xamarin.forms と Microsoft Azure と Visual Studio Mobile C...
 
Uniforme scolare
Uniforme scolareUniforme scolare
Uniforme scolare
 
Care e faza cu Valentine's Day?
Care e faza cu Valentine's Day?Care e faza cu Valentine's Day?
Care e faza cu Valentine's Day?
 
Johnny prodcomimpex srl
Johnny prodcomimpex srlJohnny prodcomimpex srl
Johnny prodcomimpex srl
 
Trusouri botez bebelusi-Hainute copii-Imbracaminte copii-Clothes for children
Trusouri botez bebelusi-Hainute copii-Imbracaminte copii-Clothes for childrenTrusouri botez bebelusi-Hainute copii-Imbracaminte copii-Clothes for children
Trusouri botez bebelusi-Hainute copii-Imbracaminte copii-Clothes for children
 
STOP! VIEW THIS! 10-Step Checklist When Uploading to Slideshare
STOP! VIEW THIS! 10-Step Checklist When Uploading to SlideshareSTOP! VIEW THIS! 10-Step Checklist When Uploading to Slideshare
STOP! VIEW THIS! 10-Step Checklist When Uploading to Slideshare
 
How To Get More From SlideShare - Super-Simple Tips For Content Marketing
How To Get More From SlideShare - Super-Simple Tips For Content MarketingHow To Get More From SlideShare - Super-Simple Tips For Content Marketing
How To Get More From SlideShare - Super-Simple Tips For Content Marketing
 
Top 5 Deep Learning and AI Stories - October 6, 2017
Top 5 Deep Learning and AI Stories - October 6, 2017Top 5 Deep Learning and AI Stories - October 6, 2017
Top 5 Deep Learning and AI Stories - October 6, 2017
 
Slideshare ppt
Slideshare pptSlideshare ppt
Slideshare ppt
 
AI and Machine Learning Demystified by Carol Smith at Midwest UX 2017
AI and Machine Learning Demystified by Carol Smith at Midwest UX 2017AI and Machine Learning Demystified by Carol Smith at Midwest UX 2017
AI and Machine Learning Demystified by Carol Smith at Midwest UX 2017
 

Similar to Slideshare android

Introduction to android
Introduction to androidIntroduction to android
Introduction to androidzeelpatel0504
 
Android introduction&hello world
Android introduction&hello worldAndroid introduction&hello world
Android introduction&hello world葵慶 李
 
Android overview
Android overviewAndroid overview
Android overviewHas Taiar
 
Getting started with android dev and test perspective
Getting started with android   dev and test perspectiveGetting started with android   dev and test perspective
Getting started with android dev and test perspectiveGunjan Kumar
 
1 introduction of android
1 introduction of android1 introduction of android
1 introduction of androidakila_mano
 
Introduction to Android App Development
Introduction to Android App DevelopmentIntroduction to Android App Development
Introduction to Android App DevelopmentAndri Yadi
 
Android Introduction on Java Forum Stuttgart 11
Android Introduction on Java Forum Stuttgart 11 Android Introduction on Java Forum Stuttgart 11
Android Introduction on Java Forum Stuttgart 11 Lars Vogel
 
Android development-tutorial
Android development-tutorialAndroid development-tutorial
Android development-tutorialilias ahmed
 
Android presentation
Android presentationAndroid presentation
Android presentationImam Raza
 
Build Mobile Application In Android
Build Mobile Application In AndroidBuild Mobile Application In Android
Build Mobile Application In Androiddnnddane
 
Android Development Overview
Android Development OverviewAndroid Development Overview
Android Development OverviewIgor Birman
 
Introduction to Andriod
Introduction to AndriodIntroduction to Andriod
Introduction to AndriodKaviarasu D
 
Android task manager project presentation
Android task manager project presentationAndroid task manager project presentation
Android task manager project presentationAkhilesh Jaiswal
 

Similar to Slideshare android (20)

Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Android introduction&hello world
Android introduction&hello worldAndroid introduction&hello world
Android introduction&hello world
 
Android overview
Android overviewAndroid overview
Android overview
 
Getting started with android dev and test perspective
Getting started with android   dev and test perspectiveGetting started with android   dev and test perspective
Getting started with android dev and test perspective
 
1 introduction of android
1 introduction of android1 introduction of android
1 introduction of android
 
Introduction to Android App Development
Introduction to Android App DevelopmentIntroduction to Android App Development
Introduction to Android App Development
 
Android Introduction on Java Forum Stuttgart 11
Android Introduction on Java Forum Stuttgart 11 Android Introduction on Java Forum Stuttgart 11
Android Introduction on Java Forum Stuttgart 11
 
Android By Vipin
Android By VipinAndroid By Vipin
Android By Vipin
 
Android development-tutorial
Android development-tutorialAndroid development-tutorial
Android development-tutorial
 
Android
AndroidAndroid
Android
 
Android presentation
Android presentationAndroid presentation
Android presentation
 
Introduction to Android Environment
Introduction to Android EnvironmentIntroduction to Android Environment
Introduction to Android Environment
 
Build Mobile Application In Android
Build Mobile Application In AndroidBuild Mobile Application In Android
Build Mobile Application In Android
 
Getting Started With Android
Getting Started With AndroidGetting Started With Android
Getting Started With Android
 
Android Development Overview
Android Development OverviewAndroid Development Overview
Android Development Overview
 
Android dev o_auth
Android dev o_authAndroid dev o_auth
Android dev o_auth
 
Introduction to Andriod
Introduction to AndriodIntroduction to Andriod
Introduction to Andriod
 
Windows 7 mobile
Windows 7 mobileWindows 7 mobile
Windows 7 mobile
 
Intro to Android Programming
Intro to Android ProgrammingIntro to Android Programming
Intro to Android Programming
 
Android task manager project presentation
Android task manager project presentationAndroid task manager project presentation
Android task manager project presentation
 

Slideshare android

  • 1. Invasion of The Androids! Deepak Goyal 30 March 20119 eZdia Inc
  • 2. Schedule. Overview (10 min) Architecture (20) Developing application using Eclipse.(30 min) Other tools (how to access your phone, 5 min) How to publish app (5 min) Google app inventor (10 min). QA (10 min)
  • 3. What is Android? Android is a software stack for mobile devices that includes an operating system, middleware and key applications
  • 5. History Andy Rubin 2005 Google  buys  Android,  Inc. Work  on  Dalvik  starts August 2003, Palo Alto 2007 OHA  Announced Early  SDK 2008 G1  Announced SDK  1.0  Released 2009 G2  Released Cupcake,  Donut,  Eclair Froyo (USB/ Wifi tethering) Ginger Bird (NFC, VOIP) 2010
  • 6. What’s new for Android? New UI framework for creating great tablet apps New Developer Features Android 3.0 is now available for the Android SDK. High-performance 2D and 3D graphics Support for multicore processor architectures Rich multimedia and connectivity Enhancements for enterprise Compatibility with existing apps Android 3.0 Honeycomb(Android for Tablets) In-app Billing Launched on Android Market
  • 7. Java Android
  • 8. Android applications Java based Application Browser based (HTML,JS,CSS) Native App (Android Native Development Kit (NDK)
  • 9. Schedule. Overview (10 min) Architecture (20) Developing application using Eclipse.(30 min) Other tools (how to access your phone, 5 min) How to publish app (5 min) Google app inventor (10 min). QA (10 min)
  • 11. System Architecture Linux Kernel
  • 13. Zygote Fishing village of Eyjafjörður Iceland http://developer.android.com/videos/index.html#v=ptjedOZEXPM
  • 14.
  • 16. What makes and Android application Activities. Services Content Provider Intent Broadcast Receivers Notifications
  • 17. Activities Services
  • 18. Intent and Broadcast Receivers intent Intent/ Broadcast receivers
  • 19. Content  Providers Only way to share the data between applications. Built-in Content providers for contact, media. Write your own CP Or used the existing one with permission.
  • 21. Schedule. Overview (10 min) Architecture (20) Developing application using Eclipse.(30 min) Other tools (how to access your phone, 5 min) How to publish app (5 min) Google app inventor (10 min). QA (10 min)
  • 22. Setup your environment XP, Mac, Linux JDK 5,6 The Android SDK http://developer.android.com/sdk/index.html Eclipse (Helios) http://developer.android.com/sdk/eclipse-adt.html
  • 24.
  • 25. The  Manifest  File <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.marakana" android:versionCode="1" android:versionName="1.0"> <application android:icon="@drawable/icon" android:label="@string/app_name"> <activity android:name=".HelloAndroid" android:label="@string/app_name"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> <uses-sdkandroid:minSdkVersion="5" /> </manifest>
  • 26. The  Layout  Resource (main.xml) <?xml version="1.0" encoding="utf-8"?> <LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/hello" /> </LinearLayout>
  • 27. The  Java  File package com.ezdia.jugdemo import android.app.Activity; import android.os.Bundle; public class HelloAndroid extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); } }
  • 28. R.java package com.jugdemo;public final class R {    public static final class attr {    }    public static final class drawable {        public static final int icon=0x7f020000;    }    public static final class id {        public static final inttextview=0x7f050000;    }    public static final class layout {        public static final int main=0x7f030000;    }    public static final class string {        public static final intapp_name=0x7f040001;        public static final int hello=0x7f040000;    }}
  • 30. Schedule. Overview (10 min) Architecture (20) Developing application using Eclipse.(30 min) Other tools (how to access your phone, 5 min) How to publish app (5 min) QA (10 min)
  • 31.
  • 34. File system (push and pull)
  • 37. How to publish an app? Before you consider your application ready for release: Test your application extensively on an actual device Consider adding an End User License Agreement in your application Specify an icon and label in the application's manifest Turn off logging and debugging and clean up data/files Before you do the final compile of your application: Version your application Obtain a suitable cryptographic key Register for a Maps API Key, if your application is using MapView elements Compile your application Sign your application Test your compiled application Upload your .apk file on http://market.android.com/publish
  • 38. Android resources Guide, Sample and Videos http://developer.android.com http://android-developers.blogspot.com http://developer.android.com/videos/index.html#v=ptjedOZEXPM http://code.google.com/p/apps-for-android/ Android Course: http://sites.google.com/site/androidcoursearchive/home Android Source code http://source.android.com • • •
  • 39. Thank you. Ask your question: http://www.ezdia.com/Android-expert+Houston+deepak.goyal-s2308.do#0 Please join Linked group http://www.linkedin.com/groups/Android-developers-user-3628269?mostPopular=&gid=3628269

Editor's Notes

  1. Android is an open software development platformbuilt upon Linux 2.6 kernel. And specially developed and tuned to run on resource constrain devices like mobile phone.. Android provide complete software stack starting from OS to middleware and all the way up to key applications..Android also provide tools and API for we developers to develop and publish application.It is an Open source under Apache license. Not GPL..
  2. Android 3.0 is now available for the Android SDK. It offers a redesigned UI and all new developer APIs for an optimized experience on tablets and similar devices.Rich multimedia and connectivityHTTP Live streamingApplications can now pass an M3U playlist URL to the media framework to begin an HTTP Live streaming session. The media framework supports most of the HTTP Live streaming specification, including adaptive bit rate.Pluggable DRM frameworkAndroid 3.0 includes an extensible DRM framework that lets applications manage protected content according to a variety of DRM mechanisms that may be available on the device. For application developers, the framework API offers an consistent, unified API that simplifies the management of protected content, regardless of the underlying DRM engines.Digital media file transferThe platform includes built-in support for Media/Picture Transfer Protocol (MTP/PTP) over USB, which lets users easily transfer any type of media files between devices and to a host computer. Developers can build on this support, creating applications that let users create or manage media files that they may want to transfer or share across devices.More types of connectivityThe platform offers new connectivity that developers can build on. API support for Bluetooth A2DP and HSP profiles lets applications query Bluetooth profiles for connected devices, audio state, and more, then notify the user. For example, a music application can check connectivity and status and let the user know that music is playing through a stereo headset. Applications can also register to receive system broadcasts of pre-defined vendor-specific AT commands, such as PlatronicsXevent. For example, an application could receive broadcasts that indicate a connected device&apos;s battery level and could notify the user or take other action as needed. Applications can also take advantage of the platform&apos;s new support for full keyboards connected by USB or Bluetooth.Enhancements for enterpriseIn Android 3.0, developers of device administration applications can support new types of policies, including policies for encrypted storage, password expiration, password history, and password complex characters required.Compatibility with existing appsAndroid 3.0 brings a new UI designed for tablets and other larger screen devices, but it also is fully compatible with applications developed for earlier versions of the platform, or for smaller screen sizes. Existing applications can seamlessly participate in the new holographic UI theme without code changes, by adding a single attribute in their manifest files. The platform emulates the Menu key, which is replaced by the overflow menu in the Action Bar in the new UI. Developers wanting to take fuller advantage of larger screen sizes can also create dedicated layouts and assets for larger screens and add them to their existing applications.
  3. Cross device/platform supportLimited access to device capability and information. Why to develop and application if we have rich browser.Why would I development 1 reason : The user experience, interaction with other application. Intent can be offered.Consistency in UI with other app on Andorid2. Browser can not run in background3. Work with limited connectivity.4. Faster.5. Retrieve only what is needed.6. User interface Content provider can be accessed.
  4. Androidis open software paltform and include operating system (which is linuxkrenel here). This is the piece which Harware manufacturer generally worried about. This is the abstration layer between hardware and rest of the software stack..So if you want to bring Android on new hardware you just need to implement the driver and rest of the features comes free for you.Everthing in Green here you see is c/c++ implementation . And these all are c/c++ library. NDK I mentioned earlier comes gives you direct access at this layer.
  5. Adrioid build upon Linux Kernal 2.6.X. So it started with 2.6.26 and now using 2.6.35. Android reliase uponlinux Kernel for core system services such as secrurity, Memory management, process management, network stack and driver model.-Linux Kernel also work as abstraction layer between Harware and rest of the software.. So the equipment manufacturer only need to deal with this part. Rest is taken care by android.Mostly user never see the linux.. But we would certainly see it today. In in Android developer kit and in real phone...
  6. DALVIK Virtual machine, Dan Bornstine named it after Fishing village of Eyjafjörður Iceland. Dalvikicland (- Every application in Android runs into it’s own process. With it’s own instace of Dalvik machine.Dalvik has been written in such a way that a device can run multiple VM efficiently. This efficiency is achived by process call Zygot.Zygot is another Pre warmed VM service which is used in Android for reduce the startup time and memory footprint for an VM. As soon as request comes from a user to start an activity Zygot quickly fork a new process with a new instance otDalvik VM and execute the dex code.Dalvik rely upon the Linux Kernel for Memory, thread management.About Core library. Java i/o, util, collection…
  7. The Android operating system is a multi-user Linux system in which each application is a different user.
  8. This is the layer which is most visible and useful for application developers.Android gives a full fledged Java based application framework to access all underlying hardware, library and services.This framework provide developers an the framework to build the UI, way to run the serives in backgrouond, API for communication between different applciation or between component of same application.Let me touch on veriouscomponenets here. Activity manager manage the lifecycle of an application. Which application to bring in the fornt which application to pause or Kill all controled by Activity Manage.Window manager Manage your screen or display. It is an abstraction on Surface manager library. View System is responsible for managing variuos views like Button, list, Maps, Text, images.Packagemanger is responsible for keeping the track of your application on your device. So if you download the application from OTA or thru USB packange manager will keep track of it. Also responsible for installing application on your device hence knows what capability each of the application hasTelephony manager is abstraction for phone system and Application . Localtion manager will give you access of Location from GPS or any other machenism device has like cell tower triangulation method or Wifi network ID.Content provider is the one which lets your application share the data. As I said Linux keep each application as separate but Content provider is the secure mechanisimwher an application can provide the data to other application and use the data from other applicationThere are some application comes out of the box and they all are written using same App framework. So pretty much you can write any app on Android which is similar the app comes with Phone.
  9. Activity is typically a piece of UI which is made of different view and represent one screen.For example.. A Mail activity can be decompose in three activity.Service run in the backgroud..The tipical example is music player.. How many of you like Pandora? .. It’s a service.. And they can be start and stop from other Actvity in the same application or other application using Intent.
  10. Intent are message passing mechanism in Android between the application and within the application.You can have explicit intent which can be sent explicitly to and application to perform an operation.Or you can have implicit Intent which you sent to perform a task and let system decide who will do the Job. If you have more then one application registered for specific job system may ask user to decide which one to pick. So in order to receive these implicit event application use broadcast receviers. Example could be when you receive a phone call system broadcast and intent that phone is ringing and Pandora and other service will listen and do required operations.
  11. Content provider is the one which lets your application share the data. As I said Linux keep each application as separate but Content provider is the only machenisim by which application can share the data.Andoird ships number of content provider for comman data like contact, image, video, audio and so on..To read these data application has to acquire certain permission..If your application wants to provide the data you can do in two why. Either you can write your content provider of you can use the existing one with right persmission
  12. Use to notifying user without interrupting his current activity.
  13. So let’s start the real work and see how we can develop and android application.
  14. Dalvik Debug Monitor Server (DDMS),