SlideShare a Scribd company logo
1 of 19
Jesse Anderson
 Operating System for Mobile Devices
 Based on modified Linux kernel
 Middleware
 Set of Applications
 E-mail client
 Browser
 Released under Apache License
 Dalvik Virtual Machine
 Webkit for Browser and Embeddable Object
 2D and 3D (Open GL) graphics
 SQLite for databases
 Still Image Support (JPEG, GIF, PNG, BMP)
 Video Support (H.263, H.264 AVC, MPEG-4
SP)
 Audio Support (AAC, MP3, MIDI, Ogg Vorbis,
PCM)
 Bluetooth
 EDGE and 3G
 WIFI (802.11 b/g/n)
 WiMAX
 Camera
 GPS
 Compass
 Accelerometer
 Optimized for low memory
 Register Based not Stack Based
 Multiple VM instances at once
 Compiled into dex files and apk package
 JIT Compilation added in Android 2.2
 No Java ME, AWT or Swing classes
Android iPhone SDK
Programming
Languages
Java, C, C++, App
Inventor, Mono,
Interpreted
Objective C
App Market Wild West Gilded Cage
App Submission Immediate Reviewed (HIG, legal)
Device Makers Many Apple
SDK Free/OSS ($25 listing) $100
Development Platforms Windows, Mac, Linux Mac OSX
Distribution Restrictions None Provisioned
Market Share 13% 24.4%
UI Framework Android Cocoa Touch
 Application Package apk
 Contains all data and resources needed
 Components
 Activity
 Visual user interface for one focused endeavor
 Service
 Background task like music playback
 Broadcast Receivers
 Receive and react to broadcast announcements
 Content Providers
 Makes data available to other applications
 Activates Activities, Services, or Broadcast
Receivers
 Move between Activities in program
 Initiate a phone call
 Send an E-mail
 Get broadcasts when battery is low
 Programmatically
 Using POJO (Plain Old Java Objects)
 Using XML (Preferred)
 Layouts
 Menus
 Values
 Resource Arrays
 Colors
 Dimensions
 Strings
 Styles
 Download and install Eclipse
 Download and install Android SDK
 Download Android Platforms and
Components
 Install ADT plug-in for Eclipse
 http://developer.android.com/sdk/eclipse-adt.html
 Hello World as a POJO example
 R Class
 Provides constants for accessing resources in
strings.xml, colors.xml, layouts, etc
 Generated code
 Automatically handled on Eclipse using Android plug-
in
 Manually using Android tools
 UI Object from Layout
 Provide Resource ID
 android:id="@+id/uiObject“
 (cast) findViewById(R.id.uiObject);
 Strings
 @string/myString
 getString(R.string.myString);
 Colors (ARGB)
 @color/myColor
 getResources().getColor(R.color.myColor);
 Hello World Using XML
 Hello World Using XML and Resources
 Activities show a user interface
 New activities must be registered in the
AndroidManifest.xml file
 Intents move between activities
 Hello World Using Intents and new Activities
 Android Developer Documentation
 http://developer.android.com
 Hello Android by Ed Burnette
 Beginning Android by Mark L. Murphy
 Google I/O Videos
 http://developer.android.com/videos
 http://code.google.com/events/io/2010/sessions.html

More Related Content

Viewers also liked

Laporan monev tw iv 2014 gabungan
Laporan monev tw iv 2014 gabunganLaporan monev tw iv 2014 gabungan
Laporan monev tw iv 2014 gabunganMoh TP
 
An Introduction to Exercises
An Introduction to ExercisesAn Introduction to Exercises
An Introduction to ExercisesJames Howard
 
Recommendation Letter From Christina Eleanor
Recommendation Letter From Christina EleanorRecommendation Letter From Christina Eleanor
Recommendation Letter From Christina EleanorDrew Lewis
 
Работайте с Оптимизмом!
Работайте с Оптимизмом!Работайте с Оптимизмом!
Работайте с Оптимизмом!Roman Klevtsov
 

Viewers also liked (9)

Laporan monev tw iv 2014 gabungan
Laporan monev tw iv 2014 gabunganLaporan monev tw iv 2014 gabungan
Laporan monev tw iv 2014 gabungan
 
resume TMI
resume TMIresume TMI
resume TMI
 
An Introduction to Exercises
An Introduction to ExercisesAn Introduction to Exercises
An Introduction to Exercises
 
20150128 工作榮耀神-向上管理
20150128 工作榮耀神-向上管理20150128 工作榮耀神-向上管理
20150128 工作榮耀神-向上管理
 
Alles met mate(n): social media & onderwijs. #ELF15
Alles met mate(n): social media & onderwijs. #ELF15Alles met mate(n): social media & onderwijs. #ELF15
Alles met mate(n): social media & onderwijs. #ELF15
 
Recommendation Letter From Christina Eleanor
Recommendation Letter From Christina EleanorRecommendation Letter From Christina Eleanor
Recommendation Letter From Christina Eleanor
 
Aisin res
Aisin resAisin res
Aisin res
 
182 - Shadows
182 - Shadows182 - Shadows
182 - Shadows
 
Работайте с Оптимизмом!
Работайте с Оптимизмом!Работайте с Оптимизмом!
Работайте с Оптимизмом!
 

Similar to Introduction to Android

Android Development Overview
Android Development OverviewAndroid Development Overview
Android Development OverviewIgor Birman
 
Intro To Android App Development
Intro To Android App DevelopmentIntro To Android App Development
Intro To Android App DevelopmentMike Kvintus
 
1 introduction of android
1 introduction of android1 introduction of android
1 introduction of androidakila_mano
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to androidzeelpatel0504
 
Android understanding
Android understandingAndroid understanding
Android understandingRamesh Rao
 
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
 
Introduction to Xamarin Mobile Platform
Introduction to Xamarin Mobile PlatformIntroduction to Xamarin Mobile Platform
Introduction to Xamarin Mobile PlatformDominik Minta
 
Android development-tutorial
Android development-tutorialAndroid development-tutorial
Android development-tutorialilias ahmed
 
Android overview
Android overviewAndroid overview
Android overviewHas Taiar
 
Introduction to Android
Introduction to AndroidIntroduction to Android
Introduction to AndroidJindal Gohil
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to androidJindal Gohil
 
Porting and Maintaining your C++ Game on Android without losing your mind
Porting and Maintaining your C++ Game on Android without losing your mindPorting and Maintaining your C++ Game on Android without losing your mind
Porting and Maintaining your C++ Game on Android without losing your mindBeMyApp
 
Introduction to Android
Introduction to Android Introduction to Android
Introduction to Android Ranjith Kumar
 

Similar to Introduction to Android (20)

Android Overview
Android OverviewAndroid Overview
Android Overview
 
PPT Companion to Android
PPT Companion to AndroidPPT Companion to Android
PPT Companion to Android
 
Getting Started With Android
Getting Started With AndroidGetting Started With Android
Getting Started With Android
 
Android Development Overview
Android Development OverviewAndroid Development Overview
Android Development Overview
 
Intro To Android App Development
Intro To Android App DevelopmentIntro To Android App Development
Intro To Android App Development
 
1 introduction of android
1 introduction of android1 introduction of android
1 introduction of android
 
Android Anatomy
Android  AnatomyAndroid  Anatomy
Android Anatomy
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Android understanding
Android understandingAndroid understanding
Android understanding
 
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
 
Introduction to Xamarin Mobile Platform
Introduction to Xamarin Mobile PlatformIntroduction to Xamarin Mobile Platform
Introduction to Xamarin Mobile Platform
 
Android development-tutorial
Android development-tutorialAndroid development-tutorial
Android development-tutorial
 
IntroToAndroid
IntroToAndroidIntroToAndroid
IntroToAndroid
 
Android overview
Android overviewAndroid overview
Android overview
 
Android basics
Android basicsAndroid basics
Android basics
 
Introduction to Android
Introduction to AndroidIntroduction to Android
Introduction to Android
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Porting and Maintaining your C++ Game on Android without losing your mind
Porting and Maintaining your C++ Game on Android without losing your mindPorting and Maintaining your C++ Game on Android without losing your mind
Porting and Maintaining your C++ Game on Android without losing your mind
 
Introduction to Android
Introduction to Android Introduction to Android
Introduction to Android
 
Android cours
Android coursAndroid cours
Android cours
 

More from Jesse Anderson

Managing Real-Time Data Teams
Managing Real-Time Data TeamsManaging Real-Time Data Teams
Managing Real-Time Data TeamsJesse Anderson
 
Pulsar for Kafka People
Pulsar for Kafka PeoplePulsar for Kafka People
Pulsar for Kafka PeopleJesse Anderson
 
Big Data and Analytics in the COVID-19 Era
Big Data and Analytics in the COVID-19 EraBig Data and Analytics in the COVID-19 Era
Big Data and Analytics in the COVID-19 EraJesse Anderson
 
Working Together As Data Teams V1
Working Together As Data Teams V1Working Together As Data Teams V1
Working Together As Data Teams V1Jesse Anderson
 
What Does an Exec Need to About Architecture and Why
What Does an Exec Need to About Architecture and WhyWhat Does an Exec Need to About Architecture and Why
What Does an Exec Need to About Architecture and WhyJesse Anderson
 
The Five Dysfunctions of a Data Engineering Team
The Five Dysfunctions of a Data Engineering TeamThe Five Dysfunctions of a Data Engineering Team
The Five Dysfunctions of a Data Engineering TeamJesse Anderson
 
HBaseCon 2014-Just the Basics
HBaseCon 2014-Just the BasicsHBaseCon 2014-Just the Basics
HBaseCon 2014-Just the BasicsJesse Anderson
 
Million Monkeys User Group
Million Monkeys User GroupMillion Monkeys User Group
Million Monkeys User GroupJesse Anderson
 
Strata 2012 Million Monkeys
Strata 2012 Million MonkeysStrata 2012 Million Monkeys
Strata 2012 Million MonkeysJesse Anderson
 
EC2 Performance, Spot Instance ROI and EMR Scalability
EC2 Performance, Spot Instance ROI and EMR ScalabilityEC2 Performance, Spot Instance ROI and EMR Scalability
EC2 Performance, Spot Instance ROI and EMR ScalabilityJesse Anderson
 
Introduction to Regular Expressions
Introduction to Regular ExpressionsIntroduction to Regular Expressions
Introduction to Regular ExpressionsJesse Anderson
 

More from Jesse Anderson (13)

Managing Real-Time Data Teams
Managing Real-Time Data TeamsManaging Real-Time Data Teams
Managing Real-Time Data Teams
 
Pulsar for Kafka People
Pulsar for Kafka PeoplePulsar for Kafka People
Pulsar for Kafka People
 
Big Data and Analytics in the COVID-19 Era
Big Data and Analytics in the COVID-19 EraBig Data and Analytics in the COVID-19 Era
Big Data and Analytics in the COVID-19 Era
 
Working Together As Data Teams V1
Working Together As Data Teams V1Working Together As Data Teams V1
Working Together As Data Teams V1
 
What Does an Exec Need to About Architecture and Why
What Does an Exec Need to About Architecture and WhyWhat Does an Exec Need to About Architecture and Why
What Does an Exec Need to About Architecture and Why
 
The Five Dysfunctions of a Data Engineering Team
The Five Dysfunctions of a Data Engineering TeamThe Five Dysfunctions of a Data Engineering Team
The Five Dysfunctions of a Data Engineering Team
 
HBaseCon 2014-Just the Basics
HBaseCon 2014-Just the BasicsHBaseCon 2014-Just the Basics
HBaseCon 2014-Just the Basics
 
Million Monkeys User Group
Million Monkeys User GroupMillion Monkeys User Group
Million Monkeys User Group
 
Strata 2012 Million Monkeys
Strata 2012 Million MonkeysStrata 2012 Million Monkeys
Strata 2012 Million Monkeys
 
EC2 Performance, Spot Instance ROI and EMR Scalability
EC2 Performance, Spot Instance ROI and EMR ScalabilityEC2 Performance, Spot Instance ROI and EMR Scalability
EC2 Performance, Spot Instance ROI and EMR Scalability
 
Introduction to Regular Expressions
Introduction to Regular ExpressionsIntroduction to Regular Expressions
Introduction to Regular Expressions
 
Why Use MVC?
Why Use MVC?Why Use MVC?
Why Use MVC?
 
How to Use MVC
How to Use MVCHow to Use MVC
How to Use MVC
 

Recently uploaded

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
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 Servicegiselly40
 
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 2024Rafal Los
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
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
 
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
 
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 WorkerThousandEyes
 
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
 
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
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
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
 
🐬 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
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
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
 
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
 

Recently uploaded (20)

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
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
 
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 Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
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
 
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
 
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 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
 
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
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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
 
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
 

Introduction to Android

  • 2.  Operating System for Mobile Devices  Based on modified Linux kernel  Middleware  Set of Applications  E-mail client  Browser  Released under Apache License
  • 3.
  • 4.  Dalvik Virtual Machine  Webkit for Browser and Embeddable Object  2D and 3D (Open GL) graphics  SQLite for databases  Still Image Support (JPEG, GIF, PNG, BMP)  Video Support (H.263, H.264 AVC, MPEG-4 SP)  Audio Support (AAC, MP3, MIDI, Ogg Vorbis, PCM)
  • 5.  Bluetooth  EDGE and 3G  WIFI (802.11 b/g/n)  WiMAX  Camera  GPS  Compass  Accelerometer
  • 6.  Optimized for low memory  Register Based not Stack Based  Multiple VM instances at once  Compiled into dex files and apk package  JIT Compilation added in Android 2.2  No Java ME, AWT or Swing classes
  • 7. Android iPhone SDK Programming Languages Java, C, C++, App Inventor, Mono, Interpreted Objective C App Market Wild West Gilded Cage App Submission Immediate Reviewed (HIG, legal) Device Makers Many Apple SDK Free/OSS ($25 listing) $100 Development Platforms Windows, Mac, Linux Mac OSX Distribution Restrictions None Provisioned Market Share 13% 24.4% UI Framework Android Cocoa Touch
  • 8.  Application Package apk  Contains all data and resources needed  Components  Activity  Visual user interface for one focused endeavor  Service  Background task like music playback  Broadcast Receivers  Receive and react to broadcast announcements  Content Providers  Makes data available to other applications
  • 9.  Activates Activities, Services, or Broadcast Receivers  Move between Activities in program  Initiate a phone call  Send an E-mail  Get broadcasts when battery is low
  • 10.
  • 11.  Programmatically  Using POJO (Plain Old Java Objects)  Using XML (Preferred)  Layouts  Menus  Values  Resource Arrays  Colors  Dimensions  Strings  Styles
  • 12.  Download and install Eclipse  Download and install Android SDK  Download Android Platforms and Components  Install ADT plug-in for Eclipse  http://developer.android.com/sdk/eclipse-adt.html
  • 13.  Hello World as a POJO example
  • 14.  R Class  Provides constants for accessing resources in strings.xml, colors.xml, layouts, etc  Generated code  Automatically handled on Eclipse using Android plug- in  Manually using Android tools
  • 15.  UI Object from Layout  Provide Resource ID  android:id="@+id/uiObject“  (cast) findViewById(R.id.uiObject);  Strings  @string/myString  getString(R.string.myString);  Colors (ARGB)  @color/myColor  getResources().getColor(R.color.myColor);
  • 16.  Hello World Using XML  Hello World Using XML and Resources
  • 17.  Activities show a user interface  New activities must be registered in the AndroidManifest.xml file  Intents move between activities
  • 18.  Hello World Using Intents and new Activities
  • 19.  Android Developer Documentation  http://developer.android.com  Hello Android by Ed Burnette  Beginning Android by Mark L. Murphy  Google I/O Videos  http://developer.android.com/videos  http://code.google.com/events/io/2010/sessions.html