SlideShare a Scribd company logo
1 of 27
Download to read offline
What’s in an Android?

                                                           Abdo El Ali1
                                                       Victor de Boer2
                                                     Andi Winterboer3
1 ILPS   (Information and Language Processing Systems) Group
2 Theoretical   Computer Science Group
3 ISA   (Intelligent Autonomous Systems) Group
Outline

1.    What is Android?



2.    Android Basics



3.    Tutorial of a Toy Application: Text, Buttons, &
      Activities


 2                                         Abdo El Ali – What’s in an Android?
What is Android?
      A first joined project of the Open Handset Alliance (OHA)

      A complete & modern embedded operating system

      A cutting-edge mobile user experience

      A world-class software stack for building applications

       An open platform for developers, users & industry
         Full phone software stack including applications
         Android is open
         Android is free
         Community support
         100% Java Phone

 3                                                      Abdo El Ali – What is Android?
Android Features
         Software Features
          Integrated browser based on the open source WebKit engine
          SQLite for relational data storage
          Media support for common audio, video, and still image
           formats(MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, GIF)
          Dalvik Virtual Machine optimized for mobile devices

         Hardware Features
          Cellular networking : GSM, EDGE, 3G (hardware dependent)
          LAN : Bluetooth, and Wi-Fi (hardware dependent)
          Graphics Hardware Acceleration
          Camera, GPS and Compass (hardware dependent)
          Touch screen and accelerometer for motion sensing
 4                                                 Abdo El Ali – What is Android?
Android Architecture




5                      Abdo El Ali – Android Workshop
An Android Application can consist of…
         Activities
           An application that has a visible UI is implemented with an activity.
            When a user selects an application from the home screen or
            application launcher, an activity is started.
         Services
           A service should be used for any application that needs to persist
            for a long time, such as a network monitor or update-checking
            application.
         Content providers
           You can think of content providers as a database server. A content
            provider's job is to manage access to persisted data, such as a
            SQLite database.
         Broadcast receivers
           An Android application may be launched to process an element of
            data or respond to an event, such as the receipt of a text message
            (notification).
 6                                                          Abdo El Ali – What is Android?
Android Basics: Main components of Interest
         AndroidManifest.xml:
           the control file-tells the system what to do with the top-level
            components
         Activity:
           an object that has a life cycle and is a chunk of code that does
            some work. Corresponds to a single screen.
         View:
           an object that knows how to draw itself to the screen
         Intent:
           a simple message object that represents an "intention" to do
            something. Consider an intent received when an event is
            triggered (e.g., a phone ring)
 7                                                        Abdo El Ali – Android Basics
Android Development Tools
    Android Emulator: A virtual mobile device that runs
     on our computer; used to design, debug, and test our
     applications in an actual Android run-time environment

    Android Development Tools Plugin: For the Eclipse
     IDE; adds extensions to the Eclipse integrated
     environment

    Dalvik Debug Monitor Service (DDMS): Integrated
     with Dalvik -- this tool lets us manage processes on an
     emulator and assists in debugging

 8                                            Abdo El Ali – Android Basics
Eclipse Environment: Overview




9
Eclipse Environment: Directory Structure




10                               Abdo El Ali – Android Basics
Eclipse Environment: Java Code




11                               Abdo El Ali – Android Workshop
Eclipse Environment: Screen Layout




12                            Abdo El Ali – Android Workshop
Eclipse Environment: XML Layout




13                           Abdo El Ali – Android Workshop
Eclipse Environment: Android Manifest File




14                             Abdo El Ali – Android Workshop
Android Example: Text, Buttons, & Activities

    To learn about the interaction between your Layout XML file,
     your Java code, and your Manifest file

     More precisely, you will learn:

     1)    …how to declare an EditText box in your layout where the
           text can be set from your Java code
     2)    …how to declare buttons and make them responsive to
           events (e.g., clicks or touch)
     3)    …how to launch a new activity from the current activity


 15                                                 Abdo El Ali – Android Tutorial
Our Toy Application




16                    Abdo El Ali – Android Tutorial
Our Toy Application




17                    Abdo El Ali – Android Tutorial
1. Declare Elements in Your Layout file




18                                Abdo El Ali – Android Tutorial
1. Declare Elements in Your Layout file (Contd.)




19                                   Abdo El Ali – Android Tutorial
2.1. Java Code: Declaring Variables, Finding Views,
Setting Listeners




 20                                 Abdo El Ali – Android Workshop
2.2. Java Code: Declaring Methods for Event
Handling (Contd.)




21                                 Abdo El Ali – Android Workshop
3. Manifest: Declare New Activity & Intent




22                               Abdo El Ali – Android Tutorial
3.1. Activity: Create a New Activity

                           ↵




                       ↵

23                                 Abdo El Ali – Android Tutorial
3.2. Activity: Java Code




24                         Abdo El Ali – Android Tutorial
3.3. Activity: Layout




25                      Abdo El Ali – Android Tutorial
Good luck!




26                Abdo El Ali – What’s in an Android?
References

     Deep Inside Android… by Gilles Printemps

     Android: An Open-handset Alliance Project by Yedukk

     Introduction to Android Development by Frank Ableson

     Android Developer Site




 27                                       Abdo El Ali – Android Workshop

More Related Content

What's hot

android app development training report
android app development training reportandroid app development training report
android app development training reportRishita Jaggi
 
Best Presentation on AiOne Call Blocker Android Application as Summer Trainin...
Best Presentation on AiOne Call Blocker Android Application as Summer Trainin...Best Presentation on AiOne Call Blocker Android Application as Summer Trainin...
Best Presentation on AiOne Call Blocker Android Application as Summer Trainin...Aakash Goyal
 
Android development basic _ZuoSyuanWang
Android development basic _ZuoSyuanWangAndroid development basic _ZuoSyuanWang
Android development basic _ZuoSyuanWang佐軒 王
 
Android architecture and Additional Components
Android architecture and Additional ComponentsAndroid architecture and Additional Components
Android architecture and Additional ComponentsSoftNutx
 
Android summer training report
Android summer training reportAndroid summer training report
Android summer training reportShashendra Singh
 
Android task manager project presentation
Android task manager project presentationAndroid task manager project presentation
Android task manager project presentationAkhilesh Jaiswal
 
Mobile Application Development With Android
Mobile Application Development With AndroidMobile Application Development With Android
Mobile Application Development With Androidguest213e237
 
Android Application Development
Android Application DevelopmentAndroid Application Development
Android Application DevelopmentRamesh Prasad
 
Android Design Patterns in Mobile Application Development - Michalis Grigorop...
Android Design Patterns in Mobile Application Development - Michalis Grigorop...Android Design Patterns in Mobile Application Development - Michalis Grigorop...
Android Design Patterns in Mobile Application Development - Michalis Grigorop...Michail Grigoropoulos
 
Basics of Android
Basics of Android Basics of Android
Basics of Android sabi_123
 
Android app development ppt
Android app development pptAndroid app development ppt
Android app development pptsaitej15
 
Project presentation (Loginradius SDK for Android)
Project presentation (Loginradius SDK for Android)Project presentation (Loginradius SDK for Android)
Project presentation (Loginradius SDK for Android)shwetarathi Rathi
 
Android versions
Android versionsAndroid versions
Android versionssriramakhil
 
My presentation on Android in my college
My presentation on Android in my collegeMy presentation on Android in my college
My presentation on Android in my collegeSneha Lata
 
Getting Started With ANDROID
Getting Started With ANDROIDGetting Started With ANDROID
Getting Started With ANDROIDAmit Yadav
 

What's hot (20)

android app development training report
android app development training reportandroid app development training report
android app development training report
 
Android report
Android reportAndroid report
Android report
 
Android
AndroidAndroid
Android
 
Android basics
Android basicsAndroid basics
Android basics
 
Best Presentation on AiOne Call Blocker Android Application as Summer Trainin...
Best Presentation on AiOne Call Blocker Android Application as Summer Trainin...Best Presentation on AiOne Call Blocker Android Application as Summer Trainin...
Best Presentation on AiOne Call Blocker Android Application as Summer Trainin...
 
Android development basic _ZuoSyuanWang
Android development basic _ZuoSyuanWangAndroid development basic _ZuoSyuanWang
Android development basic _ZuoSyuanWang
 
Android architecture and Additional Components
Android architecture and Additional ComponentsAndroid architecture and Additional Components
Android architecture and Additional Components
 
Android summer training report
Android summer training reportAndroid summer training report
Android summer training report
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Android task manager project presentation
Android task manager project presentationAndroid task manager project presentation
Android task manager project presentation
 
Mobile Application Development With Android
Mobile Application Development With AndroidMobile Application Development With Android
Mobile Application Development With Android
 
Android Application Development
Android Application DevelopmentAndroid Application Development
Android Application Development
 
Android Design Patterns in Mobile Application Development - Michalis Grigorop...
Android Design Patterns in Mobile Application Development - Michalis Grigorop...Android Design Patterns in Mobile Application Development - Michalis Grigorop...
Android Design Patterns in Mobile Application Development - Michalis Grigorop...
 
Basics of Android
Basics of Android Basics of Android
Basics of Android
 
Android app development ppt
Android app development pptAndroid app development ppt
Android app development ppt
 
Project presentation (Loginradius SDK for Android)
Project presentation (Loginradius SDK for Android)Project presentation (Loginradius SDK for Android)
Project presentation (Loginradius SDK for Android)
 
Android versions
Android versionsAndroid versions
Android versions
 
My presentation on Android in my college
My presentation on Android in my collegeMy presentation on Android in my college
My presentation on Android in my college
 
Getting Started With ANDROID
Getting Started With ANDROIDGetting Started With ANDROID
Getting Started With ANDROID
 
Android Operating system
Android Operating systemAndroid Operating system
Android Operating system
 

Similar to What's in an Android?

Os eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdfOs eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdfweerabahu
 
Android interview questions and answers
Android interview questions and answersAndroid interview questions and answers
Android interview questions and answerskavinilavuG
 
Android presentation
Android presentationAndroid presentation
Android presentationImam Raza
 
androidPramming.ppt
androidPramming.pptandroidPramming.ppt
androidPramming.pptBijayKc16
 
Introduction To android
Introduction To androidIntroduction To android
Introduction To androidZaid Khan
 
Introduction to Mobile Development
Introduction to Mobile DevelopmentIntroduction to Mobile Development
Introduction to Mobile DevelopmentPragnesh Vaghela
 
Android - Workshop By Secure-Net Technologies
Android - Workshop By Secure-Net TechnologiesAndroid - Workshop By Secure-Net Technologies
Android - Workshop By Secure-Net TechnologiesNamita Mahajan
 
Mobile Application Development-Lecture 03 & 04.pdf
Mobile Application Development-Lecture 03 & 04.pdfMobile Application Development-Lecture 03 & 04.pdf
Mobile Application Development-Lecture 03 & 04.pdfAbdullahMunir32
 
Android developer interview questions with answers pdf
Android developer interview questions with answers pdfAndroid developer interview questions with answers pdf
Android developer interview questions with answers pdfazlist247
 
Unit 1-android-and-its-tools-ass
Unit 1-android-and-its-tools-assUnit 1-android-and-its-tools-ass
Unit 1-android-and-its-tools-assARVIND SARDAR
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorialAjai Kumar
 

Similar to What's in an Android? (20)

Os eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdfOs eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdf
 
Android interview questions and answers
Android interview questions and answersAndroid interview questions and answers
Android interview questions and answers
 
Android dev o_auth
Android dev o_authAndroid dev o_auth
Android dev o_auth
 
My android
My androidMy android
My android
 
My android
My androidMy android
My android
 
Android presentation
Android presentationAndroid presentation
Android presentation
 
Android platform
Android platform Android platform
Android platform
 
androidPramming.ppt
androidPramming.pptandroidPramming.ppt
androidPramming.ppt
 
Introduction To android
Introduction To androidIntroduction To android
Introduction To android
 
What is Android
What is Android What is Android
What is Android
 
Android app development India
Android app development IndiaAndroid app development India
Android app development India
 
Introduction to Mobile Development
Introduction to Mobile DevelopmentIntroduction to Mobile Development
Introduction to Mobile Development
 
Android - Workshop By Secure-Net Technologies
Android - Workshop By Secure-Net TechnologiesAndroid - Workshop By Secure-Net Technologies
Android - Workshop By Secure-Net Technologies
 
Mobile Application Development-Lecture 03 & 04.pdf
Mobile Application Development-Lecture 03 & 04.pdfMobile Application Development-Lecture 03 & 04.pdf
Mobile Application Development-Lecture 03 & 04.pdf
 
Android developer interview questions with answers pdf
Android developer interview questions with answers pdfAndroid developer interview questions with answers pdf
Android developer interview questions with answers pdf
 
Android overview
Android overviewAndroid overview
Android overview
 
Unit 1-android-and-its-tools-ass
Unit 1-android-and-its-tools-assUnit 1-android-and-its-tools-ass
Unit 1-android-and-its-tools-ass
 
Android internals
Android internalsAndroid internals
Android internals
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
 
Android the future
Android  the futureAndroid  the future
Android the future
 

More from Abdallah El Ali

CHI 2018 - Measuring, Understanding, and Classifying News Media Sympathy on T...
CHI 2018 - Measuring, Understanding, and Classifying News Media Sympathy on T...CHI 2018 - Measuring, Understanding, and Classifying News Media Sympathy on T...
CHI 2018 - Measuring, Understanding, and Classifying News Media Sympathy on T...Abdallah El Ali
 
MobileHCI 2016 - Technology Literacy in Poor Infrastructure Environments: Cha...
MobileHCI 2016 - Technology Literacy in Poor Infrastructure Environments: Cha...MobileHCI 2016 - Technology Literacy in Poor Infrastructure Environments: Cha...
MobileHCI 2016 - Technology Literacy in Poor Infrastructure Environments: Cha...Abdallah El Ali
 
Minimal Mobile Human Computer Interaction
Minimal Mobile Human Computer InteractionMinimal Mobile Human Computer Interaction
Minimal Mobile Human Computer InteractionAbdallah El Ali
 
Photographer Paths: Sequence Alignment of Geotagged Photos for Exploration-ba...
Photographer Paths: Sequence Alignment of Geotagged Photos for Exploration-ba...Photographer Paths: Sequence Alignment of Geotagged Photos for Exploration-ba...
Photographer Paths: Sequence Alignment of Geotagged Photos for Exploration-ba...Abdallah El Ali
 
Introduction to Prototyping: What, Why, How
Introduction to Prototyping: What, Why, HowIntroduction to Prototyping: What, Why, How
Introduction to Prototyping: What, Why, HowAbdallah El Ali
 
Fishing or a Z?: Investigating the Effects of Error on Mimetic and Alphabet D...
Fishing or a Z?: Investigating the Effects of Error on Mimetic and Alphabet D...Fishing or a Z?: Investigating the Effects of Error on Mimetic and Alphabet D...
Fishing or a Z?: Investigating the Effects of Error on Mimetic and Alphabet D...Abdallah El Ali
 
Understanding Contextual Factors in Location-aware Multimedia Messaging
Understanding Contextual Factors in Location-aware Multimedia MessagingUnderstanding Contextual Factors in Location-aware Multimedia Messaging
Understanding Contextual Factors in Location-aware Multimedia MessagingAbdallah El Ali
 
Multimodal Interaction: An Introduction
Multimodal Interaction: An IntroductionMultimodal Interaction: An Introduction
Multimodal Interaction: An IntroductionAbdallah El Ali
 

More from Abdallah El Ali (8)

CHI 2018 - Measuring, Understanding, and Classifying News Media Sympathy on T...
CHI 2018 - Measuring, Understanding, and Classifying News Media Sympathy on T...CHI 2018 - Measuring, Understanding, and Classifying News Media Sympathy on T...
CHI 2018 - Measuring, Understanding, and Classifying News Media Sympathy on T...
 
MobileHCI 2016 - Technology Literacy in Poor Infrastructure Environments: Cha...
MobileHCI 2016 - Technology Literacy in Poor Infrastructure Environments: Cha...MobileHCI 2016 - Technology Literacy in Poor Infrastructure Environments: Cha...
MobileHCI 2016 - Technology Literacy in Poor Infrastructure Environments: Cha...
 
Minimal Mobile Human Computer Interaction
Minimal Mobile Human Computer InteractionMinimal Mobile Human Computer Interaction
Minimal Mobile Human Computer Interaction
 
Photographer Paths: Sequence Alignment of Geotagged Photos for Exploration-ba...
Photographer Paths: Sequence Alignment of Geotagged Photos for Exploration-ba...Photographer Paths: Sequence Alignment of Geotagged Photos for Exploration-ba...
Photographer Paths: Sequence Alignment of Geotagged Photos for Exploration-ba...
 
Introduction to Prototyping: What, Why, How
Introduction to Prototyping: What, Why, HowIntroduction to Prototyping: What, Why, How
Introduction to Prototyping: What, Why, How
 
Fishing or a Z?: Investigating the Effects of Error on Mimetic and Alphabet D...
Fishing or a Z?: Investigating the Effects of Error on Mimetic and Alphabet D...Fishing or a Z?: Investigating the Effects of Error on Mimetic and Alphabet D...
Fishing or a Z?: Investigating the Effects of Error on Mimetic and Alphabet D...
 
Understanding Contextual Factors in Location-aware Multimedia Messaging
Understanding Contextual Factors in Location-aware Multimedia MessagingUnderstanding Contextual Factors in Location-aware Multimedia Messaging
Understanding Contextual Factors in Location-aware Multimedia Messaging
 
Multimodal Interaction: An Introduction
Multimodal Interaction: An IntroductionMultimodal Interaction: An Introduction
Multimodal Interaction: An Introduction
 

Recently uploaded

Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
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
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
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
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
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
 
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
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 

Recently uploaded (20)

Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
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
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
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...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
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
 
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
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 

What's in an Android?

  • 1. What’s in an Android? Abdo El Ali1 Victor de Boer2 Andi Winterboer3 1 ILPS (Information and Language Processing Systems) Group 2 Theoretical Computer Science Group 3 ISA (Intelligent Autonomous Systems) Group
  • 2. Outline 1.  What is Android? 2.  Android Basics 3.  Tutorial of a Toy Application: Text, Buttons, & Activities 2 Abdo El Ali – What’s in an Android?
  • 3. What is Android?   A first joined project of the Open Handset Alliance (OHA)   A complete & modern embedded operating system   A cutting-edge mobile user experience   A world-class software stack for building applications   An open platform for developers, users & industry   Full phone software stack including applications   Android is open   Android is free   Community support   100% Java Phone 3 Abdo El Ali – What is Android?
  • 4. Android Features   Software Features   Integrated browser based on the open source WebKit engine   SQLite for relational data storage   Media support for common audio, video, and still image formats(MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, GIF)   Dalvik Virtual Machine optimized for mobile devices   Hardware Features   Cellular networking : GSM, EDGE, 3G (hardware dependent)   LAN : Bluetooth, and Wi-Fi (hardware dependent)   Graphics Hardware Acceleration   Camera, GPS and Compass (hardware dependent)   Touch screen and accelerometer for motion sensing 4 Abdo El Ali – What is Android?
  • 5. Android Architecture 5 Abdo El Ali – Android Workshop
  • 6. An Android Application can consist of…   Activities   An application that has a visible UI is implemented with an activity. When a user selects an application from the home screen or application launcher, an activity is started.   Services   A service should be used for any application that needs to persist for a long time, such as a network monitor or update-checking application.   Content providers   You can think of content providers as a database server. A content provider's job is to manage access to persisted data, such as a SQLite database.   Broadcast receivers   An Android application may be launched to process an element of data or respond to an event, such as the receipt of a text message (notification). 6 Abdo El Ali – What is Android?
  • 7. Android Basics: Main components of Interest   AndroidManifest.xml:   the control file-tells the system what to do with the top-level components   Activity:   an object that has a life cycle and is a chunk of code that does some work. Corresponds to a single screen.   View:   an object that knows how to draw itself to the screen   Intent:   a simple message object that represents an "intention" to do something. Consider an intent received when an event is triggered (e.g., a phone ring) 7 Abdo El Ali – Android Basics
  • 8. Android Development Tools   Android Emulator: A virtual mobile device that runs on our computer; used to design, debug, and test our applications in an actual Android run-time environment   Android Development Tools Plugin: For the Eclipse IDE; adds extensions to the Eclipse integrated environment   Dalvik Debug Monitor Service (DDMS): Integrated with Dalvik -- this tool lets us manage processes on an emulator and assists in debugging 8 Abdo El Ali – Android Basics
  • 10. Eclipse Environment: Directory Structure 10 Abdo El Ali – Android Basics
  • 11. Eclipse Environment: Java Code 11 Abdo El Ali – Android Workshop
  • 12. Eclipse Environment: Screen Layout 12 Abdo El Ali – Android Workshop
  • 13. Eclipse Environment: XML Layout 13 Abdo El Ali – Android Workshop
  • 14. Eclipse Environment: Android Manifest File 14 Abdo El Ali – Android Workshop
  • 15. Android Example: Text, Buttons, & Activities   To learn about the interaction between your Layout XML file, your Java code, and your Manifest file More precisely, you will learn: 1)  …how to declare an EditText box in your layout where the text can be set from your Java code 2)  …how to declare buttons and make them responsive to events (e.g., clicks or touch) 3)  …how to launch a new activity from the current activity 15 Abdo El Ali – Android Tutorial
  • 16. Our Toy Application 16 Abdo El Ali – Android Tutorial
  • 17. Our Toy Application 17 Abdo El Ali – Android Tutorial
  • 18. 1. Declare Elements in Your Layout file 18 Abdo El Ali – Android Tutorial
  • 19. 1. Declare Elements in Your Layout file (Contd.) 19 Abdo El Ali – Android Tutorial
  • 20. 2.1. Java Code: Declaring Variables, Finding Views, Setting Listeners 20 Abdo El Ali – Android Workshop
  • 21. 2.2. Java Code: Declaring Methods for Event Handling (Contd.) 21 Abdo El Ali – Android Workshop
  • 22. 3. Manifest: Declare New Activity & Intent 22 Abdo El Ali – Android Tutorial
  • 23. 3.1. Activity: Create a New Activity ↵ ↵ 23 Abdo El Ali – Android Tutorial
  • 24. 3.2. Activity: Java Code 24 Abdo El Ali – Android Tutorial
  • 25. 3.3. Activity: Layout 25 Abdo El Ali – Android Tutorial
  • 26. Good luck! 26 Abdo El Ali – What’s in an Android?
  • 27. References   Deep Inside Android… by Gilles Printemps   Android: An Open-handset Alliance Project by Yedukk   Introduction to Android Development by Frank Ableson   Android Developer Site 27 Abdo El Ali – Android Workshop