SlideShare uma empresa Scribd logo
1 de 26
Baixar para ler offline
Android
        By
       Durai. S
duraisy2k@gmail.com
Android
Android is a software platform for mobile devices
based on the Linux Operating system an which is
developed by Google and Open Handset Alliance.
Android is a software stack for mobile devices that
includes an operating system and applications.
Open handset alliance
History of android
It was Founded in Palo Alto, California , United States
in October 2003 by Andy Rubin , Rich Miner, Nick
Sears and Chris White.
Google Inc. purchased the initial developer of the
software , Android Inc in 2005.
Versions of android
Android 1.0
Android 1.1
Android 1.5 Cupcake.
Android 1.5 Donut.
Android 2.0/2.1 Éclair.
Android 2.2.x Froyo
Android 2.3.x Gingerbread
Android 3.x Honeycomb
Android 4.0.x Ice Cream Sandwich
Android 4.1.x Jelly Bean
Android Vs other mobile os
Comparison with ios
Comparison with symbian


ANDROID                      SYMBIAN
Easy to upgrade              Upgrade is not available
Processor is high            Processor speed is low
Lot of free apps in Google   Less no of free apps in OVI
play                         store
Smooth handling              Rough handling
User friendly                Not User Friendly
Comparison with windows


 ANDROID                        WINDOWS MOBILE
 Android is Open source         Windows mobile is similar to
 Platform                       windows and has lot of legal
                                bindings
 Google Play has more than      Compare with android it has
 500,000 apps                   only less no of apps and also
                                no free apps
 With Google it is more         No such features are here
 powerful with Google Maps
 and Google voice search
 Google Wallet app              No such type of app is there
 Full , Multiple Account Sync   Gmail support only through
 ,no outlook required           outlook express.
Building and Running
●   Android asset packaging tool (aapt) crawls through the resource
    folder and generates an integer ID for every resource. These ID’s
    are written into R.java source file under generated sources folder
    where they can be accessed from application code.
●   Java compiler (javac) compiles the application’s java source files
    along with generated source files
●   Dexer (dx) translates the compiled Java bytecode into Dalvik
    bytecode (dex) format
●   Apkbuilder zips the resource table, application code and
    compiled resource into an apk file
Building and Running
●   Android programs are compiled into .dex (Dalvik Executable)
    files, which are in turn zipped into a single .apk file on the
    device. .dex files can be created by automatically translating
    compiled applications written in the Java programming
    language.
DVM vs JVM
Building Blocks of Android
●   An Activity
●   An Intent
●   A Service
●   A Content provider
●   A Broadcast Receiver
An Activity
●   The activity is the most visible form of an Android
    application. An activity presents the UI to an
    application, along with the assistance of a class
    known as a view
●   An application may contain one or more activities.
    They are typically on a one-to-one relationship with
    the screens found in an application.
An intent
●   An application moves from one activity to another
    by calling a method known as Intent.
A Service
●   applications running "in the background"
●   The service is an Android application that has no UI
A Content Provider
A Broadcast receiver
●   A Component that does nothing but receive and
    react to broadcast announcements.
●   Doesn't has the UI.
●   They may start an Activity in response to the
    information theu receive.
Life-Cycle of Activity
Life-Cycle of Activity
●   onCreate():
           Called when the activity is first created
           An activity does all its initial setup of global state
           Always followed by onStart()
Life-Cycle of Activity
●   onRestart()
        called after the activity has been stopped.
        Always followed by onStart()
Life-Cycle of Activity
●   onStart():
          Called just before the activities become visible
    to the user
          Followed by onResume() if the activity comes
    to the foreground
Life-Cycle of Activity
●   onResume()
           Called just before the activity starts
    interacting with the user
          always followed by onPause()
Life-Cycle of Activity
●   onPause():
        Called when the system is about to start
    resuming another activity
         The next Activity will not resumed until it
    returns.
         Followed either by onResume() if the activity
    returns back to the front, or by onStop if it comes
    invisible to user.
Life-Cycle of Activity
●   onStop:
        Called when the Activity is no longer visible to
    user.
        Because it is being destroyed or another activity
    has been resumed.
       Followed either by onRestart() if the activity is
    coming back to interact with the user, or by
    onDestroy() if this activity is going away.
Life-Cycle of Activity
●   onDestroy():
         Called before the activity is destroyed
         Final call that the activity will receive

Mais conteúdo relacionado

Destaque

List spinner in_android
List spinner in_androidList spinner in_android
List spinner in_androidDurai S
 
Hello worldandroid
Hello worldandroidHello worldandroid
Hello worldandroidDurai S
 
Accessing widget
Accessing widgetAccessing widget
Accessing widgetDurai S
 
Android hello world
Android hello worldAndroid hello world
Android hello worldDurai S
 
Notifiacation in android
Notifiacation in androidNotifiacation in android
Notifiacation in androidDurai S
 
Intent in android
Intent in androidIntent in android
Intent in androidDurai S
 
Layouts in android
Layouts in androidLayouts in android
Layouts in androidDurai S
 

Destaque (7)

List spinner in_android
List spinner in_androidList spinner in_android
List spinner in_android
 
Hello worldandroid
Hello worldandroidHello worldandroid
Hello worldandroid
 
Accessing widget
Accessing widgetAccessing widget
Accessing widget
 
Android hello world
Android hello worldAndroid hello world
Android hello world
 
Notifiacation in android
Notifiacation in androidNotifiacation in android
Notifiacation in android
 
Intent in android
Intent in androidIntent in android
Intent in android
 
Layouts in android
Layouts in androidLayouts in android
Layouts in android
 

Semelhante a Android introduction

Semelhante a Android introduction (20)

Intro to android (gdays)
Intro to android (gdays)Intro to android (gdays)
Intro to android (gdays)
 
Android app development
Android app developmentAndroid app development
Android app development
 
Manish-android.pptx
Manish-android.pptxManish-android.pptx
Manish-android.pptx
 
Android application development
Android application developmentAndroid application development
Android application development
 
Android app development
Android app developmentAndroid app development
Android app development
 
Unit I- ANDROID OVERVIEW.ppt
Unit I- ANDROID OVERVIEW.pptUnit I- ANDROID OVERVIEW.ppt
Unit I- ANDROID OVERVIEW.ppt
 
Android terminologies
Android terminologiesAndroid terminologies
Android terminologies
 
Android development first steps
Android development   first stepsAndroid development   first steps
Android development first steps
 
Android
AndroidAndroid
Android
 
Build Mobile Application In Android
Build Mobile Application In AndroidBuild Mobile Application In Android
Build Mobile Application In Android
 
Introduction to everything around Android
Introduction to everything around AndroidIntroduction to everything around Android
Introduction to everything around Android
 
My android
My androidMy android
My android
 
My android
My androidMy android
My android
 
Android studio
Android studioAndroid studio
Android studio
 
Android app development Beginners Guide
Android app development Beginners GuideAndroid app development Beginners Guide
Android app development Beginners Guide
 
Basics of Android
Basics of Android Basics of Android
Basics of Android
 
Android dev o_auth
Android dev o_authAndroid dev o_auth
Android dev o_auth
 
Aptech Apps
Aptech Apps Aptech Apps
Aptech Apps
 
Android
AndroidAndroid
Android
 
Android app development ppt
Android app development pptAndroid app development ppt
Android app development ppt
 

Último

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 

Último (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 

Android introduction

  • 1. Android By Durai. S duraisy2k@gmail.com
  • 2. Android Android is a software platform for mobile devices based on the Linux Operating system an which is developed by Google and Open Handset Alliance. Android is a software stack for mobile devices that includes an operating system and applications.
  • 4. History of android It was Founded in Palo Alto, California , United States in October 2003 by Andy Rubin , Rich Miner, Nick Sears and Chris White. Google Inc. purchased the initial developer of the software , Android Inc in 2005.
  • 5. Versions of android Android 1.0 Android 1.1 Android 1.5 Cupcake. Android 1.5 Donut. Android 2.0/2.1 Éclair. Android 2.2.x Froyo Android 2.3.x Gingerbread Android 3.x Honeycomb Android 4.0.x Ice Cream Sandwich Android 4.1.x Jelly Bean
  • 6. Android Vs other mobile os
  • 8. Comparison with symbian ANDROID SYMBIAN Easy to upgrade Upgrade is not available Processor is high Processor speed is low Lot of free apps in Google Less no of free apps in OVI play store Smooth handling Rough handling User friendly Not User Friendly
  • 9. Comparison with windows ANDROID WINDOWS MOBILE Android is Open source Windows mobile is similar to Platform windows and has lot of legal bindings Google Play has more than Compare with android it has 500,000 apps only less no of apps and also no free apps With Google it is more No such features are here powerful with Google Maps and Google voice search Google Wallet app No such type of app is there Full , Multiple Account Sync Gmail support only through ,no outlook required outlook express.
  • 10. Building and Running ● Android asset packaging tool (aapt) crawls through the resource folder and generates an integer ID for every resource. These ID’s are written into R.java source file under generated sources folder where they can be accessed from application code. ● Java compiler (javac) compiles the application’s java source files along with generated source files ● Dexer (dx) translates the compiled Java bytecode into Dalvik bytecode (dex) format ● Apkbuilder zips the resource table, application code and compiled resource into an apk file
  • 11. Building and Running ● Android programs are compiled into .dex (Dalvik Executable) files, which are in turn zipped into a single .apk file on the device. .dex files can be created by automatically translating compiled applications written in the Java programming language.
  • 13. Building Blocks of Android ● An Activity ● An Intent ● A Service ● A Content provider ● A Broadcast Receiver
  • 14. An Activity ● The activity is the most visible form of an Android application. An activity presents the UI to an application, along with the assistance of a class known as a view ● An application may contain one or more activities. They are typically on a one-to-one relationship with the screens found in an application.
  • 15. An intent ● An application moves from one activity to another by calling a method known as Intent.
  • 16. A Service ● applications running "in the background" ● The service is an Android application that has no UI
  • 18. A Broadcast receiver ● A Component that does nothing but receive and react to broadcast announcements. ● Doesn't has the UI. ● They may start an Activity in response to the information theu receive.
  • 20. Life-Cycle of Activity ● onCreate(): Called when the activity is first created An activity does all its initial setup of global state Always followed by onStart()
  • 21. Life-Cycle of Activity ● onRestart() called after the activity has been stopped. Always followed by onStart()
  • 22. Life-Cycle of Activity ● onStart(): Called just before the activities become visible to the user Followed by onResume() if the activity comes to the foreground
  • 23. Life-Cycle of Activity ● onResume() Called just before the activity starts interacting with the user always followed by onPause()
  • 24. Life-Cycle of Activity ● onPause(): Called when the system is about to start resuming another activity The next Activity will not resumed until it returns. Followed either by onResume() if the activity returns back to the front, or by onStop if it comes invisible to user.
  • 25. Life-Cycle of Activity ● onStop: Called when the Activity is no longer visible to user. Because it is being destroyed or another activity has been resumed. Followed either by onRestart() if the activity is coming back to interact with the user, or by onDestroy() if this activity is going away.
  • 26. Life-Cycle of Activity ● onDestroy(): Called before the activity is destroyed Final call that the activity will receive