SlideShare ist ein Scribd-Unternehmen logo
1 von 27
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Was ist angesagt?

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
 

Was ist angesagt? (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
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Mehr von 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
 

Mehr von 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
 

Kürzlich hochgeladen

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
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
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
 
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
 
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
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
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
 
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
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
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
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
[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
 

Kürzlich hochgeladen (20)

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?
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
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?
 
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
 
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...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
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)
 
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
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
[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
 

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