SlideShare une entreprise Scribd logo
1  sur  27
Télécharger pour lire hors ligne
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

Contenu connexe

Tendances

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
 

Tendances (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
 

Similaire à 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
 

Similaire à 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
 

Plus de 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
 

Plus de 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
 

Dernier

Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 

Dernier (20)

Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 

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