SlideShare uma empresa Scribd logo
1 de 13
GOOGLE ANDROID
Introduction to

                                                     10
                                                     10
                                             nd
                                             n
                                                 20
                                                 20
                                           22
                                           22 re     e
                                       ay
                                      ay          rr
                                                   r
                                   M
                                   M            To
                                               To
                                           doo
                                        reed
                                     lffr
                                   Al
                                   A
What is ANDROID?
Android is a software
  stack for mobile
  devices that includes
  an operating system,
  middleware and key
  applications.


Android is based on
  Linux 2.6.29
Java? Really?
When you first install the SDK you have to write in the Java
 programming language
 There is also a subset of libraries written in C/C++ for the
  system maintainance, media and SQLite DB
Every Java program has a VM. Google made DALVIK Virtual
  Machine for Android.


COURSE CORRECTION
Dalvik is not strictly a Java VM [different bytecodes – dex vs.
  class]
Register-based Dalvik VM

The Dalvik virtual machine is a register-based virtual machine,
  designed and written by Dan Bornstein with contributions from
  other Google engineers.


It is optimized for low memory requirements, and is designed to
  allow multiple VM instances to run at once, relying on the
  underlying operating system for process isolation, memory
  management and threading support.
DEX format and APK
 Android programs are compiled into .dex (Dalvik Executable)
   files, which are turn zipped into a single .apk (Android
   Package) file on the device. .dex files can be created by
   automatically translating compiled applications written in the
   Java programming language.

                                               Eyjafjallajoekull ?? :o
 DALVIK is the name of a small
  village in Iceland
 Yes! It is the same country of the              #@§@$%&!!

   unpronounceable Volcano!
Why me? Why Android?

If you know Java programming you will be able to make money
  with Android
Android was born in 2007 with the Open Handset Alliance
  www.openhandsetalliance.com
Mobile market for application
 developers?
         BABYLON THE GREAT
            THE MOTHER OF 
             PROSTITUTES
       AND OF THE ABOMINATIONS 
             OF THE EARTH
Creating a market
 Google has dreamed a market for the entire Mobile devices
 Just as the the standardized PC platforms
 Linux is the kernel and it is GPL [drivers]
 Android makes possible to distribute your applications in apk
   format freely
 Mobile operators often lock the handsets so applications
  cannot be added to them
 Sandboxes
 Dalvik isolation
The Power of the intents
Now think about the developing of an application
You have to imagine a world where every program is made like
  a web one
You can mashup!
Google Maps, Gmail or your contacts are in your hands
You can make an intent!
The operating system takes care of figuring
  out what application has to call :)
The application model

 Activities
                   Usually correspond to display screens

 Services
                   Analogous to services or daemons in desktop OS

 Broadcast and Intent Receivers
         *These respond to requests for service from another application
 Content providers
            content://contacts/people



* mobile mashups
Activity lifecicle
                     Android recognizes that
                      resources (memory and
                      battery, for example) are
                      limited on most mobile
                      devices, and provides
                      mechanisms to conserve
                      those resources.


                     The mechanisms are evident
                       in the Android Activity
                       Lifecycle.
How to start

The Eclipse IDE
Sun’s Java Development Kit (JDK)
The Android Software Developer’s Kit (SDK)
The Android Developer Tool (ADT), a special Eclipse plug-in
Ideas?


         Q?
         &
         A!
Resources

Google
http://www.skydiamond.org/wiki/index.php?title=Google_Android
http://www.ibm.com/developerworks/opensource/library/os-android-devel/



                         alfredo@gtugs.org

                         @skydiamond

                         www.skydiamond.org

Mais conteúdo relacionado

Semelhante a Android Introduction

Semelhante a Android Introduction (20)

Android platform
Android platform Android platform
Android platform
 
Android
AndroidAndroid
Android
 
Ganar el desafio android
Ganar el desafio androidGanar el desafio android
Ganar el desafio android
 
Android : Revolutionizing Mobile Devices
Android : Revolutionizing Mobile DevicesAndroid : Revolutionizing Mobile Devices
Android : Revolutionizing Mobile Devices
 
Android developer uk and its related information
Android developer uk and its related informationAndroid developer uk and its related information
Android developer uk and its related information
 
All about android
All about androidAll about android
All about android
 
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
 
Android Interview Questions
Android Interview QuestionsAndroid Interview Questions
Android Interview Questions
 
Android interview questions
Android interview questionsAndroid interview questions
Android interview questions
 
Mobile app
Mobile appMobile app
Mobile app
 
Consumer Electronics
Consumer ElectronicsConsumer Electronics
Consumer Electronics
 
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 the future
Android  the futureAndroid  the future
Android the future
 
Android dev o_auth
Android dev o_authAndroid dev o_auth
Android dev o_auth
 
Android Basics
Android BasicsAndroid Basics
Android Basics
 
How to become an android developer
How to become an android developerHow to become an android developer
How to become an android developer
 
Getting started with android
Getting started with androidGetting started with android
Getting started with android
 
Android article
Android articleAndroid article
Android article
 
Os eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdfOs eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdf
 
Android architecture
Android architectureAndroid architecture
Android architecture
 

Último

Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
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
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
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
 
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
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
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
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
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
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
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
 
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
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 

Último (20)

Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
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
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
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
 
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
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
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
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
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
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.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
 
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)
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 

Android Introduction

  • 1. GOOGLE ANDROID Introduction to 10 10 nd n 20 20 22 22 re e ay ay rr r M M To To doo reed lffr Al A
  • 2. What is ANDROID? Android is a software stack for mobile devices that includes an operating system, middleware and key applications. Android is based on Linux 2.6.29
  • 3. Java? Really? When you first install the SDK you have to write in the Java programming language There is also a subset of libraries written in C/C++ for the system maintainance, media and SQLite DB Every Java program has a VM. Google made DALVIK Virtual Machine for Android. COURSE CORRECTION Dalvik is not strictly a Java VM [different bytecodes – dex vs. class]
  • 4. Register-based Dalvik VM The Dalvik virtual machine is a register-based virtual machine, designed and written by Dan Bornstein with contributions from other Google engineers. It is optimized for low memory requirements, and is designed to allow multiple VM instances to run at once, relying on the underlying operating system for process isolation, memory management and threading support.
  • 5. DEX format and APK Android programs are compiled into .dex (Dalvik Executable) files, which are turn zipped into a single .apk (Android Package) file on the device. .dex files can be created by automatically translating compiled applications written in the Java programming language. Eyjafjallajoekull ?? :o DALVIK is the name of a small village in Iceland Yes! It is the same country of the #@§@$%&!! unpronounceable Volcano!
  • 6. Why me? Why Android? If you know Java programming you will be able to make money with Android Android was born in 2007 with the Open Handset Alliance www.openhandsetalliance.com Mobile market for application developers? BABYLON THE GREAT THE MOTHER OF  PROSTITUTES AND OF THE ABOMINATIONS  OF THE EARTH
  • 7. Creating a market Google has dreamed a market for the entire Mobile devices Just as the the standardized PC platforms Linux is the kernel and it is GPL [drivers] Android makes possible to distribute your applications in apk format freely Mobile operators often lock the handsets so applications cannot be added to them Sandboxes Dalvik isolation
  • 8. The Power of the intents Now think about the developing of an application You have to imagine a world where every program is made like a web one You can mashup! Google Maps, Gmail or your contacts are in your hands You can make an intent! The operating system takes care of figuring out what application has to call :)
  • 9. The application model Activities Usually correspond to display screens Services Analogous to services or daemons in desktop OS Broadcast and Intent Receivers *These respond to requests for service from another application Content providers content://contacts/people * mobile mashups
  • 10. Activity lifecicle Android recognizes that resources (memory and battery, for example) are limited on most mobile devices, and provides mechanisms to conserve those resources. The mechanisms are evident in the Android Activity Lifecycle.
  • 11. How to start The Eclipse IDE Sun’s Java Development Kit (JDK) The Android Software Developer’s Kit (SDK) The Android Developer Tool (ADT), a special Eclipse plug-in
  • 12. Ideas? Q? & A!