SlideShare a Scribd company logo
1 of 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

More Related Content

Similar to Android Introduction

Android : Revolutionizing Mobile Devices
Android : Revolutionizing Mobile DevicesAndroid : Revolutionizing Mobile Devices
Android : Revolutionizing Mobile Devices
Ritesh Puthran
 
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
AbdullahMunir32
 
Os eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdfOs eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdf
weerabahu
 

Similar to 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
 

Recently uploaded

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Recently uploaded (20)

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
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
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
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
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
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...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
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
 

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!