SlideShare a Scribd company logo
1 of 12
Getting Started with
    ANDROID




     Dept. of Computer Science and
               Engineering
SESSION 1

1.   Introduction to Mobile Application Development
2.   Features of Android
3.   Architecture of Android
4.   Activity Life Cycle




                               Dept. of Computer Science and
                                         Engineering
Introduction to Mobile Application Development




                Dept. of Computer Science and
                          Engineering
What is ANDROID?

1.  Open platform http://source.android.com.
2.  Can compile custom firmwares – good for hackers and other.
3.  New framework, extended on each new firmware.
4.  Support Multi tasking.
5.  Nice IDE – Eclipse, NetBeans.
6.  Development SDK is free.
7.  Easy to debug, can send logs to developers.
8.  Programming Language is JAVA but bridges from other languages exists (C#,
    .net, etc)
9. JAVA is a high level language that appeared in 1995. Android supports JAVA
    1.5 and translates the byte code to its own custom Dalvik byte code
    optimised for mobile devices.
10. For the hardcore programmers, Android offers the possibility of
    programming using C the native dev kit known as NDK.
                             Dept. of Computer Science and
                                       Engineering
iPHONE

1.   Closed platform.
2.   Limited Multitasking.
3.   Development Toolkit cost ~99$
4.   Programming language is Objective C – but bridges exists from JAVA, C#, etc.
5.   Objective C appeared in 1986.
6.   Next version of iPHONE is supposed to only allow Objective C code. This
     means the bridges are out and you must program in Objective C if you want
     to create an iPHONE application.
7.   Application are not allowed to duplicate the iPHONE functionality i.e., no
     custom email interface, etc.




                               Dept. of Computer Science and
                                         Engineering
ANDROID an OS ?? Or Application Stack ??




             Dept. of Computer Science and
                       Engineering
Introduction

         Android is a software stack for mobile devices that includes :
                                Operating System
                          Service include hardware drivers, power, process and
 Linux version 2.6
                          memory management; security and network.
                                    Middleware
 Libraries                SQLite, OpenGL, Webkit, etc
 Android Runtime          Dalvik Virtual Machine and core libraries.
                          Abstraction for hardware access; manages application
 Application Frameworks   resources and the UI; provides classes for developing
                          applications for Android
                                    Applications
 Native apps              Contact, Phone, Browser, etc.
 Third Party apps         Developer’s application.



                               Dept. of Computer Science and
                                         Engineering
Typical Android Architecture




                     Dept. of Computer Science and
                               Engineering
Activity Life Cycle




  Dept. of Computer Science and
            Engineering
Introduction

                                   Activity Life Cycle
 Activity are managed as an activity stack (LIFO collection)
 Activity has four stages
 Running            Activity is in the foreground
 Paused             Activity has lost focus but it is still visible
 Stopped            Activity is not visible (completely obscured by another activity)
 Inactive           Activity has not been launched yet or has been killed.




                                   Dept. of Computer Science and
                                             Engineering
Dept. of Computer Science and
          Engineering
Tea Break




Dept. of Computer Science Science and
            Engineering

More Related Content

What's hot

Computer programming project 15sec
Computer programming project 15secComputer programming project 15sec
Computer programming project 15secJenny Brown
 
Computer programming project 15sec new
Computer programming project 15sec newComputer programming project 15sec new
Computer programming project 15sec newJenny Brown
 
Usability Heuristics - IntelliJ IDEA
Usability Heuristics - IntelliJ IDEAUsability Heuristics - IntelliJ IDEA
Usability Heuristics - IntelliJ IDEANirodha Perera
 
ios-mobile-app-development-intro
ios-mobile-app-development-introios-mobile-app-development-intro
ios-mobile-app-development-introRemesh Govind M
 
Introduction To Android For Beginners.
Introduction To Android For Beginners.Introduction To Android For Beginners.
Introduction To Android For Beginners.Sandeep Londhe
 
iOS Development - A Beginner Guide
iOS Development - A Beginner GuideiOS Development - A Beginner Guide
iOS Development - A Beginner GuideAndri Yadi
 
android app development training report
android app development training reportandroid app development training report
android app development training reportRishita Jaggi
 
Android summer training report
Android summer training reportAndroid summer training report
Android summer training reportShashendra Singh
 
Android Training Syllabus - Course
Android Training Syllabus - CourseAndroid Training Syllabus - Course
Android Training Syllabus - CourseTOPS Technologies
 
Android software stack
Android software stackAndroid software stack
Android software stackSoba Arjun
 
Debugging with NetBeans IDE
Debugging with NetBeans IDEDebugging with NetBeans IDE
Debugging with NetBeans IDEAndreas Ruppen
 
Android Synopsis
Android SynopsisAndroid Synopsis
Android SynopsisNiraj Rahi
 

What's hot (20)

Computer programming project 15sec
Computer programming project 15secComputer programming project 15sec
Computer programming project 15sec
 
Computer programming project 15sec new
Computer programming project 15sec newComputer programming project 15sec new
Computer programming project 15sec new
 
Android - Getting started with Android
Android - Getting started with Android Android - Getting started with Android
Android - Getting started with Android
 
Usability Heuristics - IntelliJ IDEA
Usability Heuristics - IntelliJ IDEAUsability Heuristics - IntelliJ IDEA
Usability Heuristics - IntelliJ IDEA
 
ios-mobile-app-development-intro
ios-mobile-app-development-introios-mobile-app-development-intro
ios-mobile-app-development-intro
 
Introduction To Android For Beginners.
Introduction To Android For Beginners.Introduction To Android For Beginners.
Introduction To Android For Beginners.
 
Ide
IdeIde
Ide
 
iOS Development - A Beginner Guide
iOS Development - A Beginner GuideiOS Development - A Beginner Guide
iOS Development - A Beginner Guide
 
android app development training report
android app development training reportandroid app development training report
android app development training report
 
Android summer training report
Android summer training reportAndroid summer training report
Android summer training report
 
Android Training Syllabus - Course
Android Training Syllabus - CourseAndroid Training Syllabus - Course
Android Training Syllabus - Course
 
Android software stack
Android software stackAndroid software stack
Android software stack
 
iOS Introduction For Very Beginners
iOS Introduction For Very BeginnersiOS Introduction For Very Beginners
iOS Introduction For Very Beginners
 
Debugging with NetBeans IDE
Debugging with NetBeans IDEDebugging with NetBeans IDE
Debugging with NetBeans IDE
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Ide description
Ide descriptionIde description
Ide description
 
Why do we need open source today
Why do we need open source todayWhy do we need open source today
Why do we need open source today
 
Android presentation slide
Android presentation slideAndroid presentation slide
Android presentation slide
 
Android Synopsis
Android SynopsisAndroid Synopsis
Android Synopsis
 
Android
Android Android
Android
 

Viewers also liked

Viewers also liked (6)

Sebi regulation
Sebi regulationSebi regulation
Sebi regulation
 
Rbi
RbiRbi
Rbi
 
Session 2 beccse
Session 2 beccseSession 2 beccse
Session 2 beccse
 
Session 3 beccse
Session 3 beccseSession 3 beccse
Session 3 beccse
 
Session 4 beccse
Session 4 beccseSession 4 beccse
Session 4 beccse
 
Dialogspil i organisationer
Dialogspil i organisationerDialogspil i organisationer
Dialogspil i organisationer
 

Similar to Session 1 beccse

Creating Great Apps with MOTODEV Studio for Android
Creating Great Apps with MOTODEV Studio for AndroidCreating Great Apps with MOTODEV Studio for Android
Creating Great Apps with MOTODEV Studio for AndroidMotorola Mobility - MOTODEV
 
First Steps with Android - An Exciting Introduction
First Steps with Android - An Exciting IntroductionFirst Steps with Android - An Exciting Introduction
First Steps with Android - An Exciting IntroductionCesar Augusto Nogueira
 
Introduction to Mobile Development
Introduction to Mobile DevelopmentIntroduction to Mobile Development
Introduction to Mobile DevelopmentPragnesh Vaghela
 
Mobile application development
Mobile application developmentMobile application development
Mobile application developmentrohithn
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentIJERD Editor
 
Phonebook Directory or Address Book In Android
Phonebook Directory or Address Book In AndroidPhonebook Directory or Address Book In Android
Phonebook Directory or Address Book In AndroidABHISHEK DINKAR
 
Android Introduction on Java Forum Stuttgart 11
Android Introduction on Java Forum Stuttgart 11 Android Introduction on Java Forum Stuttgart 11
Android Introduction on Java Forum Stuttgart 11 Lars Vogel
 
Android Operating System
Android Operating SystemAndroid Operating System
Android Operating SystemBilal Mirza
 
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 development courses online
Android development courses onlineAndroid development courses online
Android development courses onlineTexilaedu
 
androidPramming.ppt
androidPramming.pptandroidPramming.ppt
androidPramming.pptBijayKc16
 
Java Is A Programming Dialect And Registering Stage Essay
Java Is A Programming Dialect And Registering Stage EssayJava Is A Programming Dialect And Registering Stage Essay
Java Is A Programming Dialect And Registering Stage EssayLiz Sims
 
Os eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdfOs eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdfweerabahu
 
Android : Architecture & Components
Android : Architecture & ComponentsAndroid : Architecture & Components
Android : Architecture & ComponentsAkash Bisariya
 
Introduction to Android
Introduction to Android Introduction to Android
Introduction to Android Ranjith Kumar
 
ANDROID MOBILE OPERATING SYSTEM
ANDROID MOBILE OPERATING SYSTEMANDROID MOBILE OPERATING SYSTEM
ANDROID MOBILE OPERATING SYSTEMpreeta sinha
 
Android presentation
Android presentationAndroid presentation
Android presentationImam Raza
 

Similar to Session 1 beccse (20)

Creating Great Apps with MOTODEV Studio for Android
Creating Great Apps with MOTODEV Studio for AndroidCreating Great Apps with MOTODEV Studio for Android
Creating Great Apps with MOTODEV Studio for Android
 
First Steps with Android - An Exciting Introduction
First Steps with Android - An Exciting IntroductionFirst Steps with Android - An Exciting Introduction
First Steps with Android - An Exciting Introduction
 
Introduction to Mobile Development
Introduction to Mobile DevelopmentIntroduction to Mobile Development
Introduction to Mobile Development
 
Mobile application development
Mobile application developmentMobile application development
Mobile application development
 
Android platform
Android platform Android platform
Android platform
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and Development
 
Phonebook Directory or Address Book In Android
Phonebook Directory or Address Book In AndroidPhonebook Directory or Address Book In Android
Phonebook Directory or Address Book In Android
 
Mobile app
Mobile appMobile app
Mobile app
 
Android Introduction on Java Forum Stuttgart 11
Android Introduction on Java Forum Stuttgart 11 Android Introduction on Java Forum Stuttgart 11
Android Introduction on Java Forum Stuttgart 11
 
Android Operating System
Android Operating SystemAndroid Operating System
Android Operating System
 
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 development courses online
Android development courses onlineAndroid development courses online
Android development courses online
 
androidPramming.ppt
androidPramming.pptandroidPramming.ppt
androidPramming.ppt
 
Android Apps
Android AppsAndroid Apps
Android Apps
 
Java Is A Programming Dialect And Registering Stage Essay
Java Is A Programming Dialect And Registering Stage EssayJava Is A Programming Dialect And Registering Stage Essay
Java Is A Programming Dialect And Registering Stage Essay
 
Os eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdfOs eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdf
 
Android : Architecture & Components
Android : Architecture & ComponentsAndroid : Architecture & Components
Android : Architecture & Components
 
Introduction to Android
Introduction to Android Introduction to Android
Introduction to Android
 
ANDROID MOBILE OPERATING SYSTEM
ANDROID MOBILE OPERATING SYSTEMANDROID MOBILE OPERATING SYSTEM
ANDROID MOBILE OPERATING SYSTEM
 
Android presentation
Android presentationAndroid presentation
Android presentation
 

Recently uploaded

Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
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
 
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
 
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 Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
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
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
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
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
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
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
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
 
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
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
🐬 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
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 

Recently uploaded (20)

Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
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
 
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
 
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 Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
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
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
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
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
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...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
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
 
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...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 

Session 1 beccse

  • 1. Getting Started with ANDROID Dept. of Computer Science and Engineering
  • 2. SESSION 1 1. Introduction to Mobile Application Development 2. Features of Android 3. Architecture of Android 4. Activity Life Cycle Dept. of Computer Science and Engineering
  • 3. Introduction to Mobile Application Development Dept. of Computer Science and Engineering
  • 4. What is ANDROID? 1. Open platform http://source.android.com. 2. Can compile custom firmwares – good for hackers and other. 3. New framework, extended on each new firmware. 4. Support Multi tasking. 5. Nice IDE – Eclipse, NetBeans. 6. Development SDK is free. 7. Easy to debug, can send logs to developers. 8. Programming Language is JAVA but bridges from other languages exists (C#, .net, etc) 9. JAVA is a high level language that appeared in 1995. Android supports JAVA 1.5 and translates the byte code to its own custom Dalvik byte code optimised for mobile devices. 10. For the hardcore programmers, Android offers the possibility of programming using C the native dev kit known as NDK. Dept. of Computer Science and Engineering
  • 5. iPHONE 1. Closed platform. 2. Limited Multitasking. 3. Development Toolkit cost ~99$ 4. Programming language is Objective C – but bridges exists from JAVA, C#, etc. 5. Objective C appeared in 1986. 6. Next version of iPHONE is supposed to only allow Objective C code. This means the bridges are out and you must program in Objective C if you want to create an iPHONE application. 7. Application are not allowed to duplicate the iPHONE functionality i.e., no custom email interface, etc. Dept. of Computer Science and Engineering
  • 6. ANDROID an OS ?? Or Application Stack ?? Dept. of Computer Science and Engineering
  • 7. Introduction Android is a software stack for mobile devices that includes : Operating System Service include hardware drivers, power, process and Linux version 2.6 memory management; security and network. Middleware Libraries SQLite, OpenGL, Webkit, etc Android Runtime Dalvik Virtual Machine and core libraries. Abstraction for hardware access; manages application Application Frameworks resources and the UI; provides classes for developing applications for Android Applications Native apps Contact, Phone, Browser, etc. Third Party apps Developer’s application. Dept. of Computer Science and Engineering
  • 8. Typical Android Architecture Dept. of Computer Science and Engineering
  • 9. Activity Life Cycle Dept. of Computer Science and Engineering
  • 10. Introduction Activity Life Cycle Activity are managed as an activity stack (LIFO collection) Activity has four stages Running Activity is in the foreground Paused Activity has lost focus but it is still visible Stopped Activity is not visible (completely obscured by another activity) Inactive Activity has not been launched yet or has been killed. Dept. of Computer Science and Engineering
  • 11. Dept. of Computer Science and Engineering
  • 12. Tea Break Dept. of Computer Science Science and Engineering