SlideShare uma empresa Scribd logo
1 de 32
Baixar para ler offline
Building Your First Android Experience
1
    Web 2.0 • Tony Hillerson
Tony Hillerson
    Software Architect - EffectiveUI
    Rails, Flex, Java
      ‣ Mobile
       ✦ iPhone and Android

    http://thillerson.blogspot.com
    http://twitter.com/thillerson
    http://brightkite.com/people/thillerson

    http://github.com/thillerson/first_android_experience/
    http://slideshare.com/thillerson/first-android-experience


2
Agenda
    Introduction
    Tour
    Our First Project
    Cooking with Android




3
android
    an•droid
    noun                                  Your plastic pal that’s
    a robot with a human                  fun to be with!
    appearance.                           - Sirius Cybernetics Corporation

    - Encyclopedia Galactica




    What’s an Android?
    Operating System for Mobile Devices
    HTC G1

    SDK
    Compiler, tools and IDE

    Market
    Free or paid

    A Platform for your Applications



4
Open Handset Alliance
    http://www.openhandsetalliance.com/
    Over 40 members
    Device Manufacturers, Networks, Chipmakers, Software Companies, etc




5
Open Source Framework
    Open it! - http://source.android.com/
    SDK - http://developer.android.com
    IDE
    Runs in Eclipse




6
Platform
7
Linux
8
• Surface Manager

    Native Libraries   • 2D+3D Graphics (OpenGL) + Media
                       • SQLite
                       • Browser (webkit)



               Linux
9
Runtime + Dalvik VM   • Lightweight Java VM
                           • Efficient Bytecode




          Native Libraries
               Linux
10
• Activity Manager

     Android Framework   • Content Provider
                         • Location Manager
                         • Notification Manager



       Runtime + Dalvik VM
          Native Libraries
               Linux
11
• Contacts

     System Apps        • Phone Dialer
                        • E-mail
                        • Web Browser



        Android Framework
       Runtime + Dalvik VM
          Native Libraries
               Linux
12
System Apps + Ur Appz
      Android Framework
           Runtime
        Native Libraries
             Linux
13
Vocabulary
14
Activity: A single screen.
     Your app is made up of
     one or more Activities




15
Service: A task that can
     be running while not
     visible.
     Put that in your pipe and smoke it, iPhone.




16
Intent: Code to
     accomplish a verb, like
     “call number” or “open
     comic”. Facilitates app to
     app communication.




17
Content Provider: Data
     and an API that any app
     can access.
     Android provides contact information
     through a Content Provider.




18
Resource: Text, pictures,
     sound, etc. Everything is
     broken out of the code
     into a resource, which is
     compiled into a class
     called R



19
Drawable: A bitmap or xml
     definition of something
     that can be drawn.




20
Getting Android
     http://developer.android.com




21
Where to find Help
     http://developer.android.com/community/index.html
     Google’s Forums

     http://android-developers.blogspot.com/
     Dev’s Blog

     http://developer.android.com/reference/packages.html
     Docs

     http://code.google.com/p/apps-for-android/
     Sample Apps by Googlers



22
A Tour
23
Our First App
24
Cooking with Android
25
Pictures
     Camera
     Image Library




26
Persistence
     Settings
     SQLite




27
Location Location Location
     LocationProvider
     Geocoding




28
Hiding Your Threads in UserTasks
     Google’s UserTask




29
Prettying Things Up
     Styling common widgets
     Themes
     Digging into existing styles




30
Reading the Source
     SDK
     Android source and Apps




31
Your
                              Bob
                                        Father




                                         You




     Thanks!
     Tony Hillerson
     http://slideshare.com/thillerson
     http://github.com/thillerson
     http://thillerson.blogspot.com
     http://effectiveui.com

     Twitter: thillerson
     Brightkite: thillerson




32

Mais conteúdo relacionado

Mais procurados

EclipseCon Europe 2012 Tabris Workshop
EclipseCon Europe 2012 Tabris WorkshopEclipseCon Europe 2012 Tabris Workshop
EclipseCon Europe 2012 Tabris Workshop
Holger Staudacher
 

Mais procurados (20)

Introduction to Android and Android Studio
Introduction to Android and Android StudioIntroduction to Android and Android Studio
Introduction to Android and Android Studio
 
Flutter for web
Flutter for webFlutter for web
Flutter for web
 
ReactJS
ReactJSReactJS
ReactJS
 
Android studio 2.2 Tips and Tricks
Android studio 2.2 Tips and TricksAndroid studio 2.2 Tips and Tricks
Android studio 2.2 Tips and Tricks
 
EclipseCon Europe 2012 Tabris Workshop
EclipseCon Europe 2012 Tabris WorkshopEclipseCon Europe 2012 Tabris Workshop
EclipseCon Europe 2012 Tabris Workshop
 
Flutter overview - advantages & disadvantages for business
Flutter overview - advantages & disadvantages for businessFlutter overview - advantages & disadvantages for business
Flutter overview - advantages & disadvantages for business
 
UI Automation Using Flutter
UI Automation Using FlutterUI Automation Using Flutter
UI Automation Using Flutter
 
Google I/O 2018 Extended, Baghdad - Flutter
Google I/O 2018 Extended, Baghdad  - FlutterGoogle I/O 2018 Extended, Baghdad  - Flutter
Google I/O 2018 Extended, Baghdad - Flutter
 
Flutter: Future of App Development
Flutter: Future of App DevelopmentFlutter: Future of App Development
Flutter: Future of App Development
 
Android Presentation
Android PresentationAndroid Presentation
Android Presentation
 
Flutter workshop @ bang saen 2020
Flutter workshop @ bang saen 2020Flutter workshop @ bang saen 2020
Flutter workshop @ bang saen 2020
 
Android Programming
Android ProgrammingAndroid Programming
Android Programming
 
Android Programming Basics
Android Programming BasicsAndroid Programming Basics
Android Programming Basics
 
Deep Dive into the AOSP
Deep Dive into the AOSPDeep Dive into the AOSP
Deep Dive into the AOSP
 
Android application development for TresmaxAsia
Android application development for TresmaxAsiaAndroid application development for TresmaxAsia
Android application development for TresmaxAsia
 
Android Tutorial
Android TutorialAndroid Tutorial
Android Tutorial
 
Android and JS with Titanium
Android and JS with TitaniumAndroid and JS with Titanium
Android and JS with Titanium
 
Lesson 02 - React Native Development Environment Setup
Lesson 02 - React Native Development Environment SetupLesson 02 - React Native Development Environment Setup
Lesson 02 - React Native Development Environment Setup
 
All about Android app development -Texavi presentation
All about Android app development -Texavi presentationAll about Android app development -Texavi presentation
All about Android app development -Texavi presentation
 
Firefox OS - Hive Pilani 2015
Firefox OS - Hive Pilani 2015Firefox OS - Hive Pilani 2015
Firefox OS - Hive Pilani 2015
 

Destaque

Recruit or Get out of the Way!
Recruit or Get out of the Way!Recruit or Get out of the Way!
Recruit or Get out of the Way!
Steve Lowisz
 
Date Of Infamy
Date Of InfamyDate Of Infamy
Date Of Infamy
TobyCJ08
 
2010 ONREC Sourcing Summit - Can we really \'click\' our way to the best cand...
2010 ONREC Sourcing Summit - Can we really \'click\' our way to the best cand...2010 ONREC Sourcing Summit - Can we really \'click\' our way to the best cand...
2010 ONREC Sourcing Summit - Can we really \'click\' our way to the best cand...
Steve Lowisz
 
The Information Advantage - Information Access in Tomorrow's Enterprise
The Information Advantage - Information Access in Tomorrow's EnterpriseThe Information Advantage - Information Access in Tomorrow's Enterprise
The Information Advantage - Information Access in Tomorrow's Enterprise
Elizabeth Lupfer
 

Destaque (20)

Android's Multimedia Framework
Android's Multimedia FrameworkAndroid's Multimedia Framework
Android's Multimedia Framework
 
The anatomy and philosophy of Android - Google I/O 2009
The anatomy and philosophy of Android - Google I/O 2009The anatomy and philosophy of Android - Google I/O 2009
The anatomy and philosophy of Android - Google I/O 2009
 
About Face 1.3
About Face 1.3About Face 1.3
About Face 1.3
 
Pensamentos Sábios
Pensamentos SábiosPensamentos Sábios
Pensamentos Sábios
 
Flex And Rails
Flex And RailsFlex And Rails
Flex And Rails
 
Module03
Module03Module03
Module03
 
Prosessrapport
ProsessrapportProsessrapport
Prosessrapport
 
3 Keys to Influence: Understanding and Leveraging Social Capital [whitepaper]...
3 Keys to Influence: Understanding and Leveraging Social Capital [whitepaper]...3 Keys to Influence: Understanding and Leveraging Social Capital [whitepaper]...
3 Keys to Influence: Understanding and Leveraging Social Capital [whitepaper]...
 
Recruit or Get out of the Way!
Recruit or Get out of the Way!Recruit or Get out of the Way!
Recruit or Get out of the Way!
 
Communicationppt
CommunicationpptCommunicationppt
Communicationppt
 
The Brand Train - Branding on the move
The Brand Train - Branding on the moveThe Brand Train - Branding on the move
The Brand Train - Branding on the move
 
Date Of Infamy
Date Of InfamyDate Of Infamy
Date Of Infamy
 
Ppt_Felicitacions Nadal
Ppt_Felicitacions NadalPpt_Felicitacions Nadal
Ppt_Felicitacions Nadal
 
Module05
Module05Module05
Module05
 
2010 ONREC Sourcing Summit - Can we really \'click\' our way to the best cand...
2010 ONREC Sourcing Summit - Can we really \'click\' our way to the best cand...2010 ONREC Sourcing Summit - Can we really \'click\' our way to the best cand...
2010 ONREC Sourcing Summit - Can we really \'click\' our way to the best cand...
 
MUC295 LEC2 Goal Setting
MUC295 LEC2 Goal SettingMUC295 LEC2 Goal Setting
MUC295 LEC2 Goal Setting
 
ICEIM Conference, Durban, SA 2014 - Sudeep Krishnan, IIM Ahmedabad
ICEIM Conference, Durban, SA 2014 - Sudeep Krishnan, IIM AhmedabadICEIM Conference, Durban, SA 2014 - Sudeep Krishnan, IIM Ahmedabad
ICEIM Conference, Durban, SA 2014 - Sudeep Krishnan, IIM Ahmedabad
 
The Information Advantage - Information Access in Tomorrow's Enterprise
The Information Advantage - Information Access in Tomorrow's EnterpriseThe Information Advantage - Information Access in Tomorrow's Enterprise
The Information Advantage - Information Access in Tomorrow's Enterprise
 
Social Media: Embracing the Opportunities, Averting the Risks Whitepaper
Social Media: Embracing the Opportunities, Averting the Risks WhitepaperSocial Media: Embracing the Opportunities, Averting the Risks Whitepaper
Social Media: Embracing the Opportunities, Averting the Risks Whitepaper
 
Ppt X1
Ppt X1Ppt X1
Ppt X1
 

Semelhante a First Android Experience

Blackberry_runtime_for_android_apps
Blackberry_runtime_for_android_appsBlackberry_runtime_for_android_apps
Blackberry_runtime_for_android_apps
Droidcon Berlin
 
Mobile Dev For Web Devs
Mobile Dev For Web DevsMobile Dev For Web Devs
Mobile Dev For Web Devs
Justin James
 

Semelhante a First Android Experience (20)

Mobile Web Apps and the Intel® XDK
Mobile Web Apps and the Intel® XDKMobile Web Apps and the Intel® XDK
Mobile Web Apps and the Intel® XDK
 
Mobile Developer's Guide To The Galaxy No.10
Mobile Developer's Guide To The Galaxy No.10Mobile Developer's Guide To The Galaxy No.10
Mobile Developer's Guide To The Galaxy No.10
 
Mob324 Windows IoT Core Dave Glover Microsoft Australia
Mob324 Windows IoT Core Dave Glover Microsoft AustraliaMob324 Windows IoT Core Dave Glover Microsoft Australia
Mob324 Windows IoT Core Dave Glover Microsoft Australia
 
My android
My androidMy android
My android
 
My android
My androidMy android
My android
 
Get Started with Android - Session 1
Get Started with Android - Session 1 Get Started with Android - Session 1
Get Started with Android - Session 1
 
Blackberry_runtime_for_android_apps
Blackberry_runtime_for_android_appsBlackberry_runtime_for_android_apps
Blackberry_runtime_for_android_apps
 
Rapid Prototyping with Cordova aka Phonegap
Rapid Prototyping with Cordova aka PhonegapRapid Prototyping with Cordova aka Phonegap
Rapid Prototyping with Cordova aka Phonegap
 
Ii 1100-android development for fun and profit
Ii 1100-android development for fun and profitIi 1100-android development for fun and profit
Ii 1100-android development for fun and profit
 
Android Development: The Basics
Android Development: The BasicsAndroid Development: The Basics
Android Development: The Basics
 
Android development tutorial
Android development tutorialAndroid development tutorial
Android development tutorial
 
Mobile Dev For Web Devs
Mobile Dev For Web DevsMobile Dev For Web Devs
Mobile Dev For Web Devs
 
Android Basics
Android BasicsAndroid Basics
Android Basics
 
Seminar on android app development
Seminar on android app developmentSeminar on android app development
Seminar on android app development
 
Crosswalk and the Intel XDK
Crosswalk and the Intel XDKCrosswalk and the Intel XDK
Crosswalk and the Intel XDK
 
Introduction to android mobile app development.pptx
Introduction to android mobile app development.pptxIntroduction to android mobile app development.pptx
Introduction to android mobile app development.pptx
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Introduction To android
Introduction To androidIntroduction To android
Introduction To android
 
Introduction to android applications stu
Introduction to android applications stuIntroduction to android applications stu
Introduction to android applications stu
 
Android
AndroidAndroid
Android
 

Mais de Tony Hillerson (10)

Totally Build Apps for Free! (not really)
Totally Build Apps for Free! (not really)Totally Build Apps for Free! (not really)
Totally Build Apps for Free! (not really)
 
Working with Git
Working with GitWorking with Git
Working with Git
 
Dynamic Sound for Android
Dynamic Sound for AndroidDynamic Sound for Android
Dynamic Sound for Android
 
Git for Android Developers
Git for Android DevelopersGit for Android Developers
Git for Android Developers
 
Designing an Android App from Idea to Market
Designing an Android App from Idea to MarketDesigning an Android App from Idea to Market
Designing an Android App from Idea to Market
 
Rails on HBase
Rails on HBaseRails on HBase
Rails on HBase
 
SCM for Android Developers Using Git
SCM for Android Developers Using GitSCM for Android Developers Using Git
SCM for Android Developers Using Git
 
Flex With Rubyamf
Flex With RubyamfFlex With Rubyamf
Flex With Rubyamf
 
iPhone Persistence For Mere Mortals
iPhone Persistence For Mere MortalsiPhone Persistence For Mere Mortals
iPhone Persistence For Mere Mortals
 
Flex Framework Smackdown
Flex Framework SmackdownFlex Framework Smackdown
Flex Framework Smackdown
 

Último

Último (20)

MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 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...
 
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
 
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
 
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
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
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
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
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
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
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
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
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
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
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
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 

First Android Experience

  • 1. Building Your First Android Experience 1 Web 2.0 • Tony Hillerson
  • 2. Tony Hillerson Software Architect - EffectiveUI Rails, Flex, Java ‣ Mobile ✦ iPhone and Android http://thillerson.blogspot.com http://twitter.com/thillerson http://brightkite.com/people/thillerson http://github.com/thillerson/first_android_experience/ http://slideshare.com/thillerson/first-android-experience 2
  • 3. Agenda Introduction Tour Our First Project Cooking with Android 3
  • 4. android an•droid noun Your plastic pal that’s a robot with a human fun to be with! appearance. - Sirius Cybernetics Corporation - Encyclopedia Galactica What’s an Android? Operating System for Mobile Devices HTC G1 SDK Compiler, tools and IDE Market Free or paid A Platform for your Applications 4
  • 5. Open Handset Alliance http://www.openhandsetalliance.com/ Over 40 members Device Manufacturers, Networks, Chipmakers, Software Companies, etc 5
  • 6. Open Source Framework Open it! - http://source.android.com/ SDK - http://developer.android.com IDE Runs in Eclipse 6
  • 9. • Surface Manager Native Libraries • 2D+3D Graphics (OpenGL) + Media • SQLite • Browser (webkit) Linux 9
  • 10. Runtime + Dalvik VM • Lightweight Java VM • Efficient Bytecode Native Libraries Linux 10
  • 11. • Activity Manager Android Framework • Content Provider • Location Manager • Notification Manager Runtime + Dalvik VM Native Libraries Linux 11
  • 12. • Contacts System Apps • Phone Dialer • E-mail • Web Browser Android Framework Runtime + Dalvik VM Native Libraries Linux 12
  • 13. System Apps + Ur Appz Android Framework Runtime Native Libraries Linux 13
  • 15. Activity: A single screen. Your app is made up of one or more Activities 15
  • 16. Service: A task that can be running while not visible. Put that in your pipe and smoke it, iPhone. 16
  • 17. Intent: Code to accomplish a verb, like “call number” or “open comic”. Facilitates app to app communication. 17
  • 18. Content Provider: Data and an API that any app can access. Android provides contact information through a Content Provider. 18
  • 19. Resource: Text, pictures, sound, etc. Everything is broken out of the code into a resource, which is compiled into a class called R 19
  • 20. Drawable: A bitmap or xml definition of something that can be drawn. 20
  • 21. Getting Android http://developer.android.com 21
  • 22. Where to find Help http://developer.android.com/community/index.html Google’s Forums http://android-developers.blogspot.com/ Dev’s Blog http://developer.android.com/reference/packages.html Docs http://code.google.com/p/apps-for-android/ Sample Apps by Googlers 22
  • 26. Pictures Camera Image Library 26
  • 27. Persistence Settings SQLite 27
  • 28. Location Location Location LocationProvider Geocoding 28
  • 29. Hiding Your Threads in UserTasks Google’s UserTask 29
  • 30. Prettying Things Up Styling common widgets Themes Digging into existing styles 30
  • 31. Reading the Source SDK Android source and Apps 31
  • 32. Your Bob Father You Thanks! Tony Hillerson http://slideshare.com/thillerson http://github.com/thillerson http://thillerson.blogspot.com http://effectiveui.com Twitter: thillerson Brightkite: thillerson 32